summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Yunmi Ha [Fri, 19 Mar 2021 01:54:40 +0000 (10:54 +0900)]
Fix error handling of dbus communication
Change-Id: I404561789b8bc3c0f22a1fdf5b5adef6de364fc0
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
taemin.yeom [Thu, 11 Mar 2021 04:30:39 +0000 (13:30 +0900)]
Improve variable naming style
Change-Id: I582cb9c6d65471afff8d4eba5c0fdf4dccb29a25
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Hyotaek Shim [Wed, 10 Mar 2021 02:00:09 +0000 (11:00 +0900)]
Change the order of enum keys in process_memory_info_key_e
Change-Id: I4c6eb392e4959ac9c2cd4702be34c333e83b8d6f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Wed, 10 Mar 2021 04:03:00 +0000 (13:03 +0900)]
Add .gitignore
Change-Id: I001cc06d779e03436759829aac853d0be5bc7dc6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
taemin.yeom [Fri, 5 Mar 2021 07:55:06 +0000 (16:55 +0900)]
Apply libsyscommon gdbus api improvement on error handling
Change-Id: I5e2ec13609d15de410c3901b7bdc523dc47018c1
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
taemin.yeom [Tue, 16 Feb 2021 07:24:19 +0000 (16:24 +0900)]
Use libsyscommon for dbus
Change-Id: I2779b674d8d45e3e4e76d4e52ea5523027c0c796
Signed-off-by: taemin.yeom <taemin.yeom@samsung.com>
Youngjae Cho [Thu, 21 Jan 2021 09:42:32 +0000 (18:42 +0900)]
Support gpu, gem, swap memory usage information
Change-Id: Ic742215d586a1f7c7cd92ffe5a44c79136a9b0fb
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Yunmi Ha [Fri, 29 Jan 2021 05:23:18 +0000 (14:23 +0900)]
Fix svace issue
- add null checking logic
Change-Id: I9e9c77b91799b674133daafbe770908c17952c23
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Kichan Kwon [Thu, 12 Dec 2019 02:16:14 +0000 (11:16 +0900)]
Check more feature support
- Packet data, Data roaming, Vibration and TV out
Change-Id: I32bd0ded8c06b52fc396a9833a025e54be4edaa4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Michal Bloch [Mon, 7 Dec 2020 19:56:16 +0000 (19:56 +0000)]
Fix Coverity complaint
Return value unchecked, but there is nothing we can do about the value.
Change-Id: Idceef9dc7577337f7b12eb20f00cf37443b35da5
Kichan Kwon [Wed, 22 Apr 2020 08:19:47 +0000 (17:19 +0900)]
Free GVariant only if necessary
- g_dbus_connection_call_sync consumes GVariant argument
on this situations
- on succeed
- on failed with setting GErr
- So, we have to free only if it is failed without setting GErr
Change-Id: I39466f7ac0cddb229bd61ace5f3b9687f80e069f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 27 Sep 2019 07:48:29 +0000 (16:48 +0900)]
Don't use Doxygen comment for copyright
- To hide copyright from API reference
Change-Id: Icc98b84669ae98460e0877afdb9d3c0f99041151
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 9 Jul 2019 08:45:22 +0000 (17:45 +0900)]
Rename gcov package
Change-Id: If59156f2ae26dbaec7852fc1c4ae58048fa78e84
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 28 Jun 2019 00:54:21 +0000 (09:54 +0900)]
Make gcov package
- To make, use "gcov" build option
Change-Id: I640223f4f0fbdc86ad4f8707833292f66f64145f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 12 Mar 2019 07:06:02 +0000 (16:06 +0900)]
Adjust the Doxygen comment with Tizen rule
Change-Id: If03aa556ec508df0246dae9de99e124301a6dd21
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 15 Feb 2019 03:01:47 +0000 (12:01 +0900)]
Notify the range of enum value
- ~10000 : public key
- 10001~ : product specific key
Change-Id: Ib7f2c3696591be0b8c559ecf502903070f3298d8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 23 Jan 2019 02:36:44 +0000 (11:36 +0900)]
release : 0.5.2
Change-Id: Ie67cd2106b20956f8dae10c14ed3e2635c217006
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 21 Jan 2019 06:23:54 +0000 (15:23 +0900)]
Remove deprecated enum values
Change-Id: I4c8e78a4a99f3ee1d0a35d86ae603b3462e1b348
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 21 Jan 2019 02:11:53 +0000 (11:11 +0900)]
test : free after using it
Change-Id: I1b982282a025d58b5adf3972123016a2e7652490
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 2 Oct 2018 07:57:27 +0000 (16:57 +0900)]
test : use absolute path
Change-Id: I8302eae26c957f08982b494fd7ee7fa9c229b14f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 30 Jul 2018 06:16:50 +0000 (15:16 +0900)]
Add LCOV comment for not supported feature
Change-Id: Iee230c920d6638da3f63b96fb9f1d6acfdd12c7b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 14 May 2018 04:46:54 +0000 (13:46 +0900)]
release : 0.5.1
Change-Id: I61324934cb4f6e0106b87f9c5bfd35bec30321b7
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 14 May 2018 04:43:15 +0000 (13:43 +0900)]
Check support if we can
- Wi-Fi, Bluetooth, GPS, location, auto rotation and battery
Change-Id: Id3fe52bb59bfc058128790f73dab793eeb50eed4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 14 May 2018 01:51:45 +0000 (10:51 +0900)]
Define a macro checking feature support
Change-Id: I9dc062ce590dfe654e31d0ecde2e96810c709763
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 14 May 2018 01:32:16 +0000 (10:32 +0900)]
Merge remote-tracking branch 'origin/tizen_4.0' into tizen
Change-Id: If29909e9d04c869fb4b1266a1fd192cf67fe28bb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 11 Aug 2017 05:07:56 +0000 (14:07 +0900)]
Enable Wi-Fi status
- For backward-compatibility
- Notice : this key is deprecated. Do not use this key
Change-Id: I4322da7b3cbc5759146c47fe7286c8ddc268ddec
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 30 Jan 2018 05:42:35 +0000 (14:42 +0900)]
Print GDBus error message only if exist
Change-Id: If8fa90257263bfae969dd982e8e516080dc7a5ba
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 30 Jan 2018 05:27:37 +0000 (14:27 +0900)]
Fill error code in the log
Change-Id: Ia5db7ebc487a8c96d386e3a737b1389f96a589a5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 8 Nov 2017 01:56:15 +0000 (01:56 +0000)]
Merge "Merge branch 'tizen_4.0' into tizen" into tizen
Kichan Kwon [Mon, 6 Nov 2017 01:44:52 +0000 (10:44 +0900)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I23e3cb08172282747166daf9aa151c4398d9207d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Thu, 12 Oct 2017 10:08:02 +0000 (19:08 +0900)]
Fix the vconfkey related with TV out
- In current, TV out is supported via only HDMI
Change-Id: I656f2363d480f652341897dc85f1e3fca6746bb2
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 26 Sep 2017 06:52:37 +0000 (15:52 +0900)]
Fix minor issues
- Prevent divided by zero
- Use pclose instead of fclose
- Notice the failure
Change-Id: I217aea7398b3634f1c44124209e5bce24ff1c2b1
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Thu, 21 Sep 2017 10:22:55 +0000 (19:22 +0900)]
test : use fork-exec instead of system
- For security issue
Change-Id: I7ff729bf68f7fdc3173d9a5f14ac664b8a0b6943
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 18 Sep 2017 10:04:53 +0000 (19:04 +0900)]
test : unref mainloop
Change-Id: Ifae35674e0388e86e3ba452003a0b7c500fa55fb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 18 Sep 2017 10:04:53 +0000 (19:04 +0900)]
test : unref mainloop
Change-Id: Ifae35674e0388e86e3ba452003a0b7c500fa55fb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 8 Aug 2017 03:28:17 +0000 (12:28 +0900)]
test : enhance requirement
- Some TCs return NOT_SUPPORTED
- If resourced(-headless) is not installed
- If there is no running app
- Require memps used by test binary
Change-Id: I204ae84fc2e56c060b8ced8deb93060338848b05
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 8 Aug 2017 07:53:06 +0000 (16:53 +0900)]
Add omitted comment about return value
Change-Id: Ic89d3def28d790a4293ca707d916b4dddece8774
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Thu, 13 Jul 2017 06:26:19 +0000 (15:26 +0900)]
Fix errata
Change-Id: I68c8b1873efddf4fd05fdb2ae402e8196e56f2cb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 12 Jul 2017 07:40:16 +0000 (16:40 +0900)]
Make unit test
- Existed TCs just check sanity
- This test read system data directly and compare with runtime-info result
Change-Id: I749bdad919f17c12ac6e5f7f395fd640016bb1d0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 12 Jul 2017 00:35:23 +0000 (09:35 +0900)]
Fix the size of KiB
- KiB = KB = 2^10 bytes
- kB = 10^2 bytes
- However, kernel consider kB as 2^10 bytes
Change-Id: I2291a1daa097d1838ac2955316a19b17259d6c2f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kunhoon Baik [Mon, 19 Jun 2017 01:37:29 +0000 (10:37 +0900)]
Eliminate unused internal functions.
Except of system resource information, runtime-info will not provide
the specific module's information like GPS.
Each module needs to provide such a specific module's information
because such way will enhance API findability for developer.
Thus, from now, we will not keep internal codes for future runtime-info information any more.
Change-Id: Ic6cc41a1377f19ab87507f71f5e7b1e48f269d74
Kichan Kwon [Wed, 5 Jul 2017 02:54:51 +0000 (11:54 +0900)]
Fix memory issue
Change-Id: I2ba37dd792224f664d728da97e5c25825d9065fb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 14 Jun 2017 06:01:03 +0000 (15:01 +0900)]
Unify doxygen comment format
- Add @privlevel before @privilege
- Add @return before @retval
- Unify whitespace
Change-Id: Ic0c0a2f34c60df5419d2b9fb1e1570b81a8e4ee0
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 14 Jun 2017 06:20:32 +0000 (15:20 +0900)]
Modify the parameter type of runtime_info_app_usage_get_count
- Modify the variable "count" from unsigned int to int
- Other app usage APIs use int for indexing
- "count" can be used for iteration which "int i" is usually used
- e.g. for (i = 0; i < count; i ++)
Change-Id: I2685199c3e401c0875602e1c78253f383da77a6f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Thu, 8 Jun 2017 08:14:12 +0000 (17:14 +0900)]
Version up
Change-Id: Ic3e5c91735fb48cdc2c59a9fc3ebd39d783a0bb4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Thu, 18 May 2017 06:22:39 +0000 (15:22 +0900)]
Add new APIs getting all apps' memory/CPU usage
1) runtime_info_app_usage_destroy
- Free app usage handle
2) runtime_info_app_usage_get_count
- Get the count of handle
3) runtime_info_app_usage_get_appid
- Get app's ID from handle
4) runtime_info_app_usage_get_usage
- Get app's resource usage from handle
5) runtime_info_get_all_apps_memory_usage
- Get handle storing each app's memory usage(KB)
6) runtime_info_get_all_apps_cpu_rate
- Get handle storing each app's CPU rate(%)
- To get information, it requests to resourced via D-Bus
Change-Id: Ib3fc4b91475600c071a6a6e18b6998bfbcee4e4d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 7 Jun 2017 04:52:14 +0000 (13:52 +0900)]
Prevent underflow
- If val is large negative, it can be underflow
- In addition, tiny optimization is applied
Change-Id: I9fd7f52a60c8b7e26fc9c8a3765f17ec185429d4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kunhoon Baik [Wed, 24 May 2017 23:40:44 +0000 (08:40 +0900)]
Clean up edbus dependency
Thanks to https://review.tizen.org/gerrit/#/c/129776/, edbus dependency of runtime-info has been removed.
This patch is to remove the e-dbus build dependency
Change-Id: I84eab8c432114a595acb1e51755a313fcd074ffe
Kichan Kwon [Thu, 18 May 2017 05:30:02 +0000 (14:30 +0900)]
Replace libdbus to gdbus
- To unify with other system modules
Change-Id: I85a0158f6fe5246e8416a3ec7063cd6f64b9fea9
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 24 May 2017 02:42:47 +0000 (11:42 +0900)]
Fix minor issues
- Check overflow
- Initialize value
Change-Id: I005a58129eb47e5e7e9840849f274ce9082380bd
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 17 May 2017 06:36:42 +0000 (15:36 +0900)]
Remove conditional statement about D-Bus method
- To simplify code before other methods are added
Change-Id: Ieb34b0f3f9cfa9637404ef6ace5882df5f432e25
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 5 Apr 2017 11:50:40 +0000 (20:50 +0900)]
Add LCOV comment for deprecated functions
Change-Id: I1f9af1c9b0b942547694957f7356568e2f77335e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 17 Mar 2017 10:39:38 +0000 (19:39 +0900)]
Deprecate some enum values about location status
- This feature can be checked with locations.h
- Remain functions for backward compatibility
Change-Id: I1dd7df608ae8923379076806786a92ae3ed43e85
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 17 Mar 2017 07:30:57 +0000 (16:30 +0900)]
Proofread header file and modify comment about version.
- It is decided that these APIs aren't supported at Tizen 2.4
Change-Id: I8044905cfc502f93b2beff33533de272be5df393
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 6 Mar 2017 07:56:44 +0000 (16:56 +0900)]
Add new API for getting physical memory size
- /proc/meminfo supports the memory size except kernel reserved memory
- However, somebody want to get physical(total) memory size
- Therefore, we have to support two kinds of memory size
- Physical memory size = number of page * page size
Change-Id: I72711f1980dc8ade60578edb0ab7360f2d3f8aa5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 14 Mar 2017 10:24:39 +0000 (19:24 +0900)]
Check support before getting some value
- Some features aren't supported but these vconf value is existed
- Therefore, we check support by using system-info
Change-Id: I8a77ed61472842d4861c99cb527973dc8365bc43
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 21 Feb 2017 09:23:58 +0000 (18:23 +0900)]
Read zoneinfo to get total RAM size
- /proc/meminfo support total RAM size except kernel reserved memory
- To get whole RAM size, we calculate (the number of page * page size)
Change-Id: Ibccbe28cb82a3950b972f2960c1612f14ef2e894
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
taeyoung [Thu, 29 Dec 2016 01:46:49 +0000 (10:46 +0900)]
Merge branch 'tizen_3.0' into tizen
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: I187a49c8f372465afd9adf3a4f9eabbb0f62d189
Kichan Kwon [Tue, 27 Dec 2016 08:42:28 +0000 (17:42 +0900)]
Calculate used memory size with available memory
- Actual size of used memory should be calculated from difference of
total memory and available memory
Change-Id: Ia78f705198b3c70d6a22a8d356e7396c2b63d666
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 16 Dec 2016 02:34:15 +0000 (11:34 +0900)]
Add Doxygen end-group comment
Change-Id: I60717d5b9e777564fcd2e3aab4f8874aac8e171a
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
taeyoung [Sat, 12 Nov 2016 06:56:45 +0000 (15:56 +0900)]
Merge branch 'tizen' into tizen_3.0
- Set recent value to current value when callback is added
Change-Id: Ib4a620335050dd31630ec7de2f01357c320072d4
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kichan Kwon [Fri, 11 Nov 2016 08:24:11 +0000 (17:24 +0900)]
Set recent value to current value when callback is added
- Until now, initial recent value is NULL
- Therefore, when key is changed, callback always called
- It is usually correct, but we have to do exception handling
- If value is set 0 -> 1, most keys are considered to be changed
- But USB connection isn't changed (0,1=false, 2=true)
Change-Id: If78913539a4eb8c27dad5de40413e0edd5fc24ff
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kichan Kwon [Fri, 23 Sep 2016 01:30:17 +0000 (10:30 +0900)]
Use doxygen style comment
- Doxygen recognizes double leading stars as comment
Change-Id: I4be4cc8b1c2569eb4bec0e869f92a4130ba88ecc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Thu, 16 Jun 2016 01:26:15 +0000 (10:26 +0900)]
Add comments about return value and version information
Change-Id: Id71487fe0570105e259f57b804a0076c5495626d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 23 May 2016 12:25:58 +0000 (21:25 +0900)]
Add lcov comments for coverage measurement
Change-Id: If5ff51abedefb5fa218babbd2bbb125cdf153352
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
sunm.lee [Fri, 13 May 2016 00:25:05 +0000 (09:25 +0900)]
runtime-info: fix - close the file pointer
Close file pointer cpuinfo_fp at runtime_info_get_frequency_cpuinfo()
when function returns.
Change-Id: Id66f3507d2b40a89e00e216dd951749b36dcd803
Signed-off-by: sunm.lee <sunm.lee@samsung.com>
Kichan Kwon [Tue, 3 May 2016 10:36:53 +0000 (19:36 +0900)]
Read cpuinfo to get CPU frequency when cpufreq isn't supported
- If there is no "cpu MHz" information in the cpuinfo, then returns error
Change-Id: I26c5da75f8d4909f2a84c262626ce8ece6637f49
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 2 May 2016 08:46:43 +0000 (17:46 +0900)]
Modify first released version of structure
Change-Id: Iec598d64e7b705e4b813a4670aec17aaf68293cb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kwon [Fri, 1 Apr 2016 03:54:30 +0000 (20:54 -0700)]
Merge "common: apply Tizen Coding Rule" into tizen
Kichan Kwon [Thu, 31 Mar 2016 07:33:20 +0000 (16:33 +0900)]
Modify first release version of some APIs
- These APIs are decided to include at Tizen 2.4
- But, Tizen 2.4 wearable isn't released, so we need to set separately
Change-Id: I2d293a398e6df41d92868b7d930daffe48fe415d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Taeyoung Kim [Fri, 1 Apr 2016 00:13:18 +0000 (09:13 +0900)]
common: apply Tizen Coding Rule
- Space policy is applied.
Change-Id: I68fd8a2f4e85dd1990ac57385e39dbf8a9cc3478
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Kichan Kwon [Fri, 25 Mar 2016 02:59:29 +0000 (11:59 +0900)]
Close file after reading
Change-Id: I23114971925f436109986d163e62d941c57c6470
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 22 Mar 2016 06:11:09 +0000 (15:11 +0900)]
Modify wearable API version
Change-Id: Id0e92cd805e871de15ed3a72e70a9bdadc441116
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Wed, 3 Feb 2016 10:45:52 +0000 (19:45 +0900)]
runtime-info : Add cpu information APIs
- runtime_info_get_processor_count
- runtime_info_get_processor_current_frequency
- runtime_info_get_processor_max_frequency
Change-Id: Ic331e1a4fd54962a7bf86186761ca58c8a91569d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Taeyoung Kim [Wed, 13 Jan 2016 06:47:46 +0000 (15:47 +0900)]
doc: fix invalid error type
- Error code in documentation was wrong.
RUNTIME_INFO_PERMISSION_DENIED
-> RUNTIME_INFO_ERROR_PERMISSION_DENIED
Change-Id: I61eae52217182b7fa2aab33b64205f8d9839a4ff
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Prajwal A N [Fri, 13 Nov 2015 03:16:10 +0000 (12:16 +0900)]
removed log messages from process usage info APIs
* process usage info received from resourced was logged for debug purposes
* this poses a security issue
* thus removed the logging code
Change-Id: I937a5809b3ba3cf3255d8be0a3c9476f9e50d59c
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Taeyoung Kim [Mon, 29 Jun 2015 06:11:00 +0000 (15:11 +0900)]
keys: change enum values to support the legacy runtime-info
- The set of keys is same with Tizen 2.3, but the real value
is different with Tizen 2.3. Because several internal keys
are removed.
- To support apps which are built with runtime-info of tizen 2.3,
the real values of keys are changed according to the Tizen 2.3
Change-Id: I01ded14a562dc2dc41ede50b3a6bad89ebf12911
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Jiyoung Yun [Thu, 7 May 2015 09:54:56 +0000 (18:54 +0900)]
runtime-info: Remove internal enums
Please refer to below ACR issue:
http://168.219.209.56/jira/browse/ACR-108
Conflicts:
src/runtime_info_location.c
Change-Id: I668c6d9baab19b8dcf324c46ea4dbc7637ec4fd0
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Prajwal A N [Wed, 27 May 2015 12:16:14 +0000 (21:16 +0900)]
runtime-info: added process Memory and CPU usage APIs
* added call to dbus methods in resourced
* added code to parse the reply dbus message and populate the right structs
Change-Id: I94514adf12fea4257c759c977a473f5dc658c0a6
Signed-off-by: Prajwal A N <an.prajwal@samsung.com>
Jiyoung Yun [Tue, 10 Mar 2015 14:22:54 +0000 (23:22 +0900)]
runtime-info: Add memory and cpu information apis
New apis:
runtime_info_get_process_memory_info
runtime_info_get_system_memory_info
runtime_info_get_process_cpu_usage
runtime_info_get_cpu_usage
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: Iadce6559fab28fa3f1a37d0f842d17b017f4a73e
Taeyoung Kim [Mon, 8 Jun 2015 09:33:06 +0000 (18:33 +0900)]
error type: add error type RUNTIME_INFO_ERROR_NOT_SUPPORTED
- when vconf key does not exist, the feature related with the vconf key
is not supported. Thus NOT_SUPPORTED error type is added
Change-Id: I542e4981bb5ee32d2b656b9ef79c0ede1896fba5
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Jiyoung Yun [Tue, 24 Feb 2015 10:25:35 +0000 (19:25 +0900)]
runtime-info: Battery keys regard as disconnected in no battery model
Below keys depend on battery module.
If there is no battery in target,
runtime-info regards battery keys as disconnected.
RUNTIME_INFO_KEY_CHARGER_CONNECTED
RUNTIME_INFO_KEY_BATTERY_IS_CHARGING
Change-Id: I6138f1ffe03d3d0821f66e713947205712e55bae
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Jiyoung Yun [Mon, 9 Feb 2015 06:53:15 +0000 (15:53 +0900)]
runtime-info: Merge Tizen 2.3 source code into tizen branch
Details:
https://developer.tizen.org/dev-guide/native/2.3.0/org.tizen.mobile.native.apireference/group__CAPI__SYSTEM__RUNTIME__INFO__MODULE.html
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I0c49d941e426b1c6b1369bc15377b9bf65c81843
Chengwei Yang [Sun, 25 Aug 2013 01:43:49 +0000 (09:43 +0800)]
Remove debian packaging stuff
Change-Id: I322b4fe4018a65c0f9ebc1fc189993871ee41011
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Michael Leibowitz [Wed, 17 Jul 2013 17:18:49 +0000 (10:18 -0700)]
Fix manifests
put manifests in packaging/
consistent use of %{name} macros
Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
Alexandru Cornea [Fri, 28 Jun 2013 17:12:34 +0000 (20:12 +0300)]
resetting manifest requested domain to floor
Anas Nashif [Fri, 31 May 2013 15:45:07 +0000 (11:45 -0400)]
Remove placeholders and cleanup spec
Junfeng [Thu, 21 Mar 2013 13:02:50 +0000 (21:02 +0800)]
Fix for x86_64 compatibility.
Change-Id: I3824ee57be8044923be23779b3965c6312456344
Nam KwanWoo [Tue, 19 Mar 2013 02:11:57 +0000 (11:11 +0900)]
remove key(RUNTIME_INFO_KEY_ROTATION_LOCK_ENABLED)
Change-Id: I5efec29cb75844035b25eeb90dc87f8a31dbfc90
Jinkun Jang [Tue, 12 Mar 2013 16:46:10 +0000 (01:46 +0900)]
Tizen 2.1 base
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:29 +0000 (21:59 +0900)]
Initial empty repository