platform/core/system/resourced.git
9 years agocommon: resolved secure coding errors devel/tizen_2.4
Prajwal A N [Wed, 23 Dec 2015 04:33:29 +0000 (13:33 +0900)]
common: resolved secure coding errors

Change-Id: I5cec16ef63b09027dc02b42a3bec27780004b327
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: added tests for CPU module
Prajwal A N [Fri, 18 Dec 2015 05:56:02 +0000 (14:56 +0900)]
tests: added tests for CPU module

* tests cgroup creation
* tests different app actions

Change-Id: I1843cde8dff486ebc0127d12b320426cb669527b
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: refactored code
Prajwal A N [Fri, 18 Dec 2015 05:51:10 +0000 (14:51 +0900)]
tests: refactored code

* organized code into usable modules

Change-Id: I898bb93a44eb3aa99d770b85773f824168a4e57e
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agodebug: enabled debug logging
Prajwal A N [Wed, 2 Dec 2015 07:35:20 +0000 (16:35 +0900)]
debug: enabled debug logging

* some logs are not needed normally
* added new flag to disable/enable these logs
* organized some log messages

Change-Id: I9e0ef1428ac6d6d2d2cf244be5eb1f01909f8c40
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: disable tests by default
Prajwal A N [Mon, 14 Dec 2015 07:26:47 +0000 (16:26 +0900)]
tests: disable tests by default

* tests module is going to be disabled
* will be enabled locally for testing

Change-Id: Id375e4799cf4705a223cc82653fd08c9ac962b0d
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: added test for network APIs
Prajwal A N [Sun, 13 Dec 2015 23:55:02 +0000 (08:55 +0900)]
tests: added test for network APIs

* testing all network APIs (provided by libresourced)

Change-Id: Ide7fe6cb1c9f91050779efc051208b579a4c980c
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: added proc-stat API test
Prajwal A N [Sun, 13 Dec 2015 23:51:00 +0000 (08:51 +0900)]
tests: added proc-stat API test

* added tests for the proc_stat_get_pid_entry API
* other API tests will be added in future

Change-Id: Ic4bc35bfd8ae06d8c0a92af44f91d687beabda1f
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: added tests package
Prajwal A N [Fri, 31 Jul 2015 11:42:57 +0000 (20:42 +0900)]
tests: added tests package

* added code to test lowmem module in resourced
* added util programs and scripts

Change-Id: Idb8914af71febb32e34082bfd224fc6213fe827e
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agotests: removed slp tests
Prajwal A N [Fri, 11 Dec 2015 04:18:04 +0000 (13:18 +0900)]
tests: removed slp tests

* not using current test suite
* will be replaced by a different test suite

Change-Id: I2160102d3f2ee65c7d64618d9a47dd8d06400581
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agocommon: change service type to simple
Prajwal A N [Tue, 8 Dec 2015 03:09:14 +0000 (12:09 +0900)]
common: change service type to simple

* notify type is creating waiting before launch
* changing this to simple to remove uneccessary waiting times

Change-Id: I6bf26289d229337c993d3de10fada89307b8e0cc
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agofreezer: updated libsystem-freezer.so file
Prajwal A N [Fri, 27 Nov 2015 02:15:26 +0000 (11:15 +0900)]
freezer: updated libsystem-freezer.so file

* updated system-freezer library file
* changes till "unmounting at poweroff" included

Change-Id: Ia2fd0e64731f9e57e84a2f7705306ef86060a5a0
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agoswap: change code to build for disabled swap module
Prajwal A N [Fri, 27 Nov 2015 01:45:03 +0000 (10:45 +0900)]
swap: change code to build for disabled swap module

* earlier code was working exclusively for enabled swap module
* changed the build code and common definitions to build for disabled swap module

Change-Id: I7f730f2a4e2ec46f91c97a2ee3e1c6ebae8920a2
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agoswap: removed force reclaim feature from swap module
Prajwal A N [Thu, 26 Nov 2015 08:16:31 +0000 (17:16 +0900)]
swap: removed force reclaim feature from swap module

* force_reclaim feature was rejected by the mainline linux group
* changed use of force_reclaim to hard limit (limit_in_bytes)
* added conf file to control the parameters of swap module
* changed load_swap_config function to include code to read new params in swap.conf
* added notifier to reset swap cgroup hard limit when the system returns to normal memory pressure

Change-Id: I27f3397dba5f8a52ce8c6c85b0d2aef755f92f3d
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
9 years agorebase: rebased latest tizen 2.4 code
Prajwal A N [Tue, 24 Nov 2015 07:26:33 +0000 (16:26 +0900)]
rebase: rebased latest tizen 2.4 code

* this branch will keep track of the development of tizen 2.4
* this branch will be merged periodically into tizen
* the code in this branch may not build in tizen environment

Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
11 years agoInitial empty repository master submit/tizen/20190131.142734
Sehong Na [Thu, 22 Aug 2013 05:18:30 +0000 (22:18 -0700)]
Initial empty repository