platform/core/api/runtime-info.git
6 years agoAdd omitted comment about return value 25/143025/1
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>
6 years agoFix errata 61/138661/3 accepted/tizen/4.0/unified/20170816.011237 accepted/tizen/unified/20170728.195432 submit/tizen/20170727.070433 submit/tizen_4.0/20170811.094300
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>
6 years agoMake unit test 52/138452/22
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>
6 years agoFix the size of KiB 31/138331/10
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>
6 years agoEliminate unused internal functions. 81/134481/2 accepted/tizen/unified/20170706.193739 submit/tizen/20170706.010921
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

6 years agoFix memory issue 27/137227/1 submit/tizen/20170705.023006
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>
6 years agoUnify doxygen comment format 87/133987/2 accepted/tizen/unified/20170629.085546 submit/tizen/20170620.010939
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>
6 years agoModify the parameter type of runtime_info_app_usage_get_count 86/133986/1
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>
6 years agoVersion up 00/132900/1 submit/tizen/20170614.044733
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>
6 years agoAdd new APIs getting all apps' memory/CPU usage 98/129798/22
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>
6 years agoPrevent underflow 87/132587/1
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>
6 years agoClean up edbus dependency 71/130971/3
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

6 years agoReplace libdbus to gdbus 76/129776/8
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>
6 years agoFix minor issues 81/130781/2
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>
6 years agoRemove conditional statement about D-Bus method 98/129598/6
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>
7 years agoAdd LCOV comment for deprecated functions 31/123431/1
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>
7 years agoDeprecate some enum values about location status 83/119583/5 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170322.153738 accepted/tizen/ivi/20170323.000141 accepted/tizen/mobile/20170323.000059 accepted/tizen/tv/20170323.000113 accepted/tizen/unified/20170323.000156 accepted/tizen/wearable/20170323.000125 submit/tizen/20170322.052214 tizen_4.0.m1_release
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>
7 years agoProofread header file and modify comment about version. 31/119531/2
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>
7 years agoAdd new API for getting physical memory size 00/117500/4 accepted/tizen/common/20170316.161534 accepted/tizen/ivi/20170316.101447 accepted/tizen/mobile/20170316.101338 accepted/tizen/tv/20170316.101358 accepted/tizen/unified/20170316.101457 accepted/tizen/wearable/20170316.101429 submit/tizen/20170316.010706
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>
7 years agoCheck support before getting some value 86/118886/4 accepted/tizen/common/20170315.124745 accepted/tizen/ivi/20170315.104256 accepted/tizen/mobile/20170315.104208 accepted/tizen/tv/20170315.104225 accepted/tizen/unified/20170315.104314 accepted/tizen/wearable/20170315.104248 submit/tizen/20170315.004113
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>
7 years agoRead zoneinfo to get total RAM size 89/115789/2 accepted/tizen/common/20170221.135557 accepted/tizen/ivi/20170221.225645 accepted/tizen/mobile/20170221.225559 accepted/tizen/tv/20170221.225614 accepted/tizen/unified/20170309.031931 accepted/tizen/wearable/20170221.225630 submit/tizen/20170221.093648 submit/tizen_unified/20170308.100405
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>
7 years agoMerge branch 'tizen_3.0' into tizen 09/107609/1 accepted/tizen/common/20161229.140151 accepted/tizen/ivi/20161229.233206 accepted/tizen/mobile/20161229.233107 accepted/tizen/tv/20161229.233128 accepted/tizen/wearable/20161229.233147 submit/tizen/20161229.040631
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

7 years agoCalculate used memory size with available memory 53/107253/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 tizen_3.0_tv accepted/tizen/3.0.m2/mobile/20170104.121648 accepted/tizen/3.0.m2/tv/20170104.122347 accepted/tizen/3.0.m2/wearable/20170104.122727 accepted/tizen/3.0/common/20161228.162331 accepted/tizen/3.0/ivi/20161228.095219 accepted/tizen/3.0/mobile/20161228.095118 accepted/tizen/3.0/tv/20161228.095139 accepted/tizen/3.0/wearable/20161228.095156 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161228.012708
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>
7 years agoAdd Doxygen end-group comment 86/105186/1 accepted/tizen/3.0/common/20161221.180600 accepted/tizen/3.0/ivi/20161221.005239 accepted/tizen/3.0/mobile/20161221.005312 accepted/tizen/3.0/tv/20161221.005115 accepted/tizen/3.0/wearable/20161221.005148 accepted/tizen/common/20161219.152051 accepted/tizen/ivi/20161219.224351 accepted/tizen/mobile/20161219.224251 accepted/tizen/tv/20161219.224312 accepted/tizen/wearable/20161219.224330 submit/tizen/20161219.023726 submit/tizen_3.0/20161219.053948
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>
7 years agoMerge branch 'tizen' into tizen_3.0 72/97272/1 accepted/tizen/3.0/common/20161115.184140 accepted/tizen/3.0/ivi/20161115.022505 accepted/tizen/3.0/mobile/20161115.022408 accepted/tizen/3.0/tv/20161115.022428 accepted/tizen/3.0/wearable/20161115.022445 submit/tizen_3.0/20161113.015148
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>
7 years agoSet recent value to current value when callback is added 38/97138/3 accepted/tizen/common/20161114.171314 accepted/tizen/ivi/20161114.010412 accepted/tizen/mobile/20161114.010246 accepted/tizen/tv/20161114.010313 accepted/tizen/wearable/20161114.010342 submit/tizen/20161113.015118
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>
7 years agoUse doxygen style comment 52/89252/1 accepted/tizen/3.0/common/20161114.105303 accepted/tizen/3.0/ivi/20161011.062217 accepted/tizen/3.0/mobile/20161015.032622 accepted/tizen/3.0/tv/20161016.003912 accepted/tizen/3.0/wearable/20161015.081816 accepted/tizen/common/20160926.154206 accepted/tizen/ivi/20160927.020958 accepted/tizen/mobile/20160927.021000 accepted/tizen/tv/20160927.020951 accepted/tizen/wearable/20160927.020956 submit/tizen/20160926.012656 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
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>
7 years agoAdd comments about return value and version information 48/74848/7 accepted/tizen/common/20160623.154022 accepted/tizen/ivi/20160623.121833 accepted/tizen/mobile/20160623.121737 accepted/tizen/tv/20160623.121755 accepted/tizen/wearable/20160623.121810 submit/tizen/20160622.081854
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>
7 years agoAdd lcov comments for coverage measurement 81/70981/3
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>
7 years agoruntime-info: fix - close the file pointer 45/69345/2 accepted/tizen/common/20160513.123451 accepted/tizen/ivi/20160513.082115 accepted/tizen/mobile/20160513.082055 accepted/tizen/tv/20160513.082108 accepted/tizen/wearable/20160513.082103 submit/tizen/20160513.014537
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>
8 years agoRead cpuinfo to get CPU frequency when cpufreq isn't supported 08/68308/2 accepted/tizen/common/20160510.141636 accepted/tizen/ivi/20160512.050636 accepted/tizen/mobile/20160512.050620 accepted/tizen/tv/20160512.050616 accepted/tizen/wearable/20160512.050603 submit/tizen/20160509.003410 submit/tizen/20160510.124308
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>
8 years agoModify first released version of structure 12/68112/1 accepted/tizen/common/20160509.134725 accepted/tizen/ivi/20160509.061926 accepted/tizen/mobile/20160509.061836 accepted/tizen/tv/20160509.061852 accepted/tizen/wearable/20160509.061905 submit/tizen/20160509.003520
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>
8 years agoMerge "common: apply Tizen Coding Rule" into tizen accepted/tizen/common/20160426.143444 accepted/tizen/ivi/20160426.103159 accepted/tizen/mobile/20160426.103139 accepted/tizen/tv/20160426.103050 accepted/tizen/wearable/20160426.103205 submit/tizen/20160426.040912
Kwon [Fri, 1 Apr 2016 03:54:30 +0000 (20:54 -0700)]
Merge "common: apply Tizen Coding Rule" into tizen

8 years agoModify first release version of some APIs 82/64282/2
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>
8 years agocommon: apply Tizen Coding Rule 65/64365/1
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>
8 years agoClose file after reading 21/63621/1 accepted/tizen/common/20160325.135635 accepted/tizen/ivi/20160325.071930 accepted/tizen/mobile/20160325.071747 accepted/tizen/tv/20160325.071818 accepted/tizen/wearable/20160325.071855 submit/tizen/20160325.030803
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>
8 years agoModify wearable API version 02/63102/1 accepted/tizen/common/20160323.185530 accepted/tizen/ivi/20160323.141200 accepted/tizen/mobile/20160323.140003 accepted/tizen/tv/20160323.140138 accepted/tizen/wearable/20160323.135944 submit/tizen/20160323.104608
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>
8 years agoruntime-info : Add cpu information APIs 46/58846/8
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>
8 years agodoc: fix invalid error type 51/56851/1 accepted/tizen/ivi/20160218.023228 accepted/tizen/mobile/20160115.112336 accepted/tizen/tv/20160115.112353 accepted/tizen/wearable/20160115.112411 submit/tizen/20160115.060125 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
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>
8 years agoremoved log messages from process usage info APIs 23/51723/1 accepted/tizen/mobile/20151113.060811 accepted/tizen/tv/20151113.060829 accepted/tizen/wearable/20151113.060840 submit/tizen/20151113.044914 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
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>
8 years agokeys: change enum values to support the legacy runtime-info 50/42450/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150708.015041 accepted/tizen/tv/20150708.015140 accepted/tizen/wearable/20150708.015233 submit/tizen/20150630.051205 submit/tizen/20150702.103311 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
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>
8 years agoruntime-info: Remove internal enums 49/42449/1
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>
8 years agoruntime-info: added process Memory and CPU usage APIs 21/40721/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.091801 accepted/tizen/common/20150610.144403 accepted/tizen/mobile/20150611.004436 accepted/tizen/tv/20150611.004445 accepted/tizen/wearable/20150611.004459 submit/tizen/20150609.090156 submit/tizen_3.0.2015.q2_common/20150615.075539
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>
8 years agoruntime-info: Add memory and cpu information apis 19/40719/1
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

8 years agoerror type: add error type RUNTIME_INFO_ERROR_NOT_SUPPORTED 14/40714/2
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>
9 years agoruntime-info: Battery keys regard as disconnected in no battery model 64/35764/2 accepted/tizen/common/20150226.084921 accepted/tizen/mobile/20150226.100215 accepted/tizen/tv/20150226.094312 accepted/tizen/wearable/20150226.095247 submit/tizen/20150226.021228
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>
9 years agoruntime-info: Merge Tizen 2.3 source code into tizen branch 02/35102/3 accepted/tizen/common/20150210.094911 accepted/tizen/mobile/20150210.120109 accepted/tizen/tv/20150210.141230 accepted/tizen/wearable/20150210.115650 submit/tizen/20150210.060027
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

10 years agoRemove debian packaging stuff 97/8597/1 accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi accepted/tizen_generic accepted/tizen_ivi_panda tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.m14.2_ivi tizen_3.0.m14.3_ivi tizen_3.0_ivi tizen_ivi_genivi tizen_ivi_panda accepted/tizen/20130912.153550 accepted/tizen/20130912.190026 accepted/tizen/20130912.194206 accepted/tizen/generic/20140306.082327 accepted/tizen/ivi/20140307.054819 accepted/tizen/ivi/genivi/20140131.061632 accepted/tizen/ivi/panda/20140403.015141 accepted/tizen/mobile/20140306.024919 accepted/tizen_ivi_stable/20131116.101600 ivi_oct_m2 submit/tizen/20130912.080347 submit/tizen/20130912.090646 submit/tizen/20140305.221703 submit/tizen_ivi_genivi/20140131.060727 submit/tizen_ivi_panda/20140403.011824 submit/tizen_ivi_stable/20131116.100118 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.2_ivi_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
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>
10 years agoFix manifests 28/5828/1
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>
10 years agoresetting manifest requested domain to floor 80/4580/1 accepted/tizen/20130710.221610 submit/tizen/20130710.102600
Alexandru Cornea [Fri, 28 Jun 2013 17:12:34 +0000 (20:12 +0300)]
resetting manifest requested domain to floor

10 years agoRemove placeholders and cleanup spec accepted/tizen/20130531.230136 submit/tizen/20130531.154510
Anas Nashif [Fri, 31 May 2013 15:45:07 +0000 (11:45 -0400)]
Remove placeholders and cleanup spec

11 years agoFix for x86_64 compatibility. tizen_2.1 2.1b_release accepted/tizen/20130520.100828 accepted/tizen_2.1/20130425.035548 submit/tizen/20130517.044717 submit/tizen_2.1/20130424.230548 submit/tizen_2.1/20130514.052036
Junfeng [Thu, 21 Mar 2013 13:02:50 +0000 (21:02 +0800)]
Fix for x86_64 compatibility.

Change-Id: I3824ee57be8044923be23779b3965c6312456344

11 years agoremove key(RUNTIME_INFO_KEY_ROTATION_LOCK_ENABLED)
Nam KwanWoo [Tue, 19 Mar 2013 02:11:57 +0000 (11:11 +0900)]
remove key(RUNTIME_INFO_KEY_ROTATION_LOCK_ENABLED)

Change-Id: I5efec29cb75844035b25eeb90dc87f8a31dbfc90

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 16:46:10 +0000 (01:46 +0900)]
Tizen 2.1 base

12 years agoInitial empty repository
Eunkyoung Kim [Fri, 6 Jan 2012 12:59:29 +0000 (21:59 +0900)]
Initial empty repository