platform/core/api/device.git
7 years agohaptic: Check malloc() failed 78/148478/1 accepted/tizen/unified/20170911.060316 submit/tizen/20170908.052749
pr.jung [Fri, 8 Sep 2017 03:04:38 +0000 (12:04 +0900)]
haptic: Check malloc() failed

Change-Id: I206f3252a969422a2da0cf683f31c45d2112cde2
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoPower: remove warning messages becasue those apis are still needed 76/147876/1 accepted/tizen/unified/20170906.144535 submit/tizen/20170906.032135
lokilee73 [Wed, 6 Sep 2017 02:57:34 +0000 (11:57 +0900)]
Power: remove warning messages becasue those apis are still needed

Change-Id: I8ecebba443737e8c52cadba00f00b4bf180a5a43
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoPower: change a word form MObile to MOBILE for API reference 36/147836/1
lokilee73 [Wed, 6 Sep 2017 01:45:13 +0000 (10:45 +0900)]
Power: change a word form MObile to MOBILE for API reference

Change-Id: I5c6a06d8507b09ec6ebd3596809a7154c2240272
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoBattery : change a string for DEVICE_BATTERY_LEVEL_FULL 78/145578/1 accepted/tizen/4.0/unified/20170828.223722 accepted/tizen/unified/20170823.170342 submit/tizen/20170823.062729 submit/tizen_4.0/20170828.100002
lokilee73 [Wed, 23 Aug 2017 03:11:44 +0000 (12:11 +0900)]
Battery : change a string for DEVICE_BATTERY_LEVEL_FULL

Change-Id: Ie6c827acfb69c7c4101f17a1ec47ad8a8dc64473
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agopower: Replace lockstate dbus method to lockstate_nopt 93/128493/1 accepted/tizen/4.0/unified/20170816.010421 accepted/tizen/unified/20170512.023834 submit/tizen/20170512.003944 submit/tizen_4.0/20170811.094300 tizen_4.0.m1_release
Yunmi Ha [Wed, 10 May 2017 07:55:07 +0000 (16:55 +0900)]
power: Replace lockstate dbus method to lockstate_nopt

Only internal services can call lockstate dbus method.
(privilege was changed.)
So replace it to lockstate_nopt.

- This should be applied with https://review.tizen.org/gerrit/#/c/128490/

Change-Id: Ia65eb3e2e85564674695cf6e2c56bba3befb23eb
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agopower : replace libtracker API to latest functions 60/127660/1 accepted/tizen/unified/20170429.024301 submit/tizen/20170428.074418
Kichan Kwon [Fri, 28 Apr 2017 07:34:11 +0000 (16:34 +0900)]
power : replace libtracker API to latest functions

Change-Id: I87bc1281ec883e3d4d80a58415ca441d76c1419f
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agopower: Fixed a bug to use the wrong dbus path and interface for reboot. 53/125853/1 accepted/tizen/unified/20170419.165317 submit/tizen/20170419.062310
wchang kim [Wed, 19 Apr 2017 06:17:22 +0000 (15:17 +0900)]
power: Fixed a bug to use the wrong dbus path and interface for reboot.

Change-Id: I0da5b494faec0931b3d1f21af872c5ae88fcbb99

7 years agoChange the URL information of device_doc.h 01/122801/1
wchang kim [Mon, 3 Apr 2017 08:33:58 +0000 (17:33 +0900)]
Change the URL information of device_doc.h

The link URL was chaged. But, the change was not applied to the
device_doc.h.

Change-Id: I6a34472b932812fef3ec7da2d725807a830c94be
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years ago[4.0] Remove Profile Build Dependencies: do it at runtime 81/99181/5
MyungJoo Ham [Tue, 22 Nov 2016 06:26:25 +0000 (15:26 +0900)]
[4.0] Remove Profile Build Dependencies: do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

  : Because per-profile difference could be resolved in runtime
  in this package, the subpackaging has not become complex.

- The differences in binary size for non-TV profiels is about 2kiB.

Change-Id: I61cd193744cdf1976a18be700e77da62ef2b66c0
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoMerge remote-tracking branch 'origin/tizen_3.0' into tizen 05/109105/1
pr.jung [Mon, 9 Jan 2017 01:52:28 +0000 (10:52 +0900)]
Merge remote-tracking branch 'origin/tizen_3.0' into tizen

Change-Id: I4d4b60a6ffcba605dccb0af9cb8fac6c0a4c73d0
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoModify api document 53/108953/2
pr.jung [Fri, 6 Jan 2017 09:00:30 +0000 (18:00 +0900)]
Modify api document

Change-Id: Ie110607257e0bab7d4788fa5cf32adb15b51a439
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agopower: fix to deliver reboot parameter 16/108416/1 accepted/tizen/3.0/common/20170109.195441 accepted/tizen/3.0/ivi/20170105.231855 accepted/tizen/3.0/mobile/20170105.231802 accepted/tizen/3.0/tv/20170105.231820 accepted/tizen/3.0/wearable/20170105.231837 submit/tizen_3.0/20170105.022920
taeyoung [Wed, 4 Jan 2017 08:24:47 +0000 (17:24 +0900)]
power: fix to deliver reboot parameter

Previously, device_power_reboot() returns error
if reboot parameter is NULL. Thus it is fixed
by handling NULL input.

Change-Id: Idcb6a5f4d0b41803cd6d60c4ec2be185675f0e83
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 06/107606/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20161229.140147 accepted/tizen/ivi/20161229.233205 accepted/tizen/mobile/20161229.233105 accepted/tizen/tv/20161229.233127 accepted/tizen/unified/20170309.031648 accepted/tizen/wearable/20161229.233146 submit/tizen/20161229.040631 submit/tizen_unified/20170308.100404
taeyoung [Thu, 29 Dec 2016 01:26:53 +0000 (10:26 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I6b11abc7caccb7bc53a8172c5dc300ad0be827f2
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: Add ProxyPool for dbus method call 24/106724/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.100232 accepted/tizen/3.0.m2/tv/20170104.100418 accepted/tizen/3.0.m2/wearable/20170104.101007 accepted/tizen/3.0/common/20161227.101336 accepted/tizen/3.0/ivi/20161226.025036 accepted/tizen/3.0/mobile/20161226.024944 accepted/tizen/3.0/tv/20161226.024959 accepted/tizen/3.0/wearable/20161226.025013 submit/tizen_3.0.m2/20170104.093748 submit/tizen_3.0/20161222.072356
pr.jung [Thu, 22 Dec 2016 13:09:14 +0000 (22:09 +0900)]
common: Add ProxyPool for dbus method call

- Reuse proxy for same destination and interface

Change-Id: I89a57e81afb0a7eb386067671704acd7d805550b
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoRevert "haptic: Do not check handle value on emulator" 94/106294/1
Jung [Wed, 21 Dec 2016 08:31:36 +0000 (00:31 -0800)]
Revert "haptic: Do not check handle value on emulator"

This reverts commit c070415ffb2959cf508cfdb7857a528498b13e2e.

Change-Id: I13f4346f3d3728ebda8f4e051599b80ac967d0a6

7 years agohaptic: Do not check handle value on emulator 63/106263/1
pr.jung [Wed, 21 Dec 2016 07:15:12 +0000 (16:15 +0900)]
haptic: Do not check handle value on emulator

- deviced-vibrator always returns same handle on Emulator

Change-Id: I27541c9e6776599e419a459a87d8679fe6075945
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoir: Return permission denied error for permission denied cases 96/105996/1 accepted/tizen/3.0/common/20161221.181146 accepted/tizen/3.0/ivi/20161221.010638 accepted/tizen/3.0/mobile/20161221.011046 accepted/tizen/3.0/tv/20161221.010517 accepted/tizen/3.0/wearable/20161221.010656 submit/tizen_3.0/20161220.072503
pr.jung [Tue, 20 Dec 2016 07:18:28 +0000 (16:18 +0900)]
ir: Return permission denied error for permission denied cases

Change-Id: I9eae094619dc06fd2dec0ef788bdc73b946860bb
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agohaptic: Guarantee device_handle validation when device-vibrator crashs. 88/101788/4 accepted/tizen/3.0/common/20161209.094930 accepted/tizen/3.0/ivi/20161209.002548 accepted/tizen/3.0/mobile/20161209.002515 accepted/tizen/3.0/tv/20161209.002528 accepted/tizen/3.0/wearable/20161209.002538 submit/tizen_3.0/20161208.091728
pr.jung [Fri, 2 Dec 2016 04:31:32 +0000 (13:31 +0900)]
haptic: Guarantee device_handle validation when device-vibrator crashs.

- Add InitiateVibrator signal handler
- Return pointer of handle structure instead of integer value for device_handle

Change-Id: I0fe08ebbd252c12e02afa50d3dbc4343296f97cc
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agopower: fix uninitilized variable issues 02/101002/1 accepted/tizen/3.0/common/20161201.135139 accepted/tizen/3.0/ivi/20161201.031526 accepted/tizen/3.0/mobile/20161201.031404 accepted/tizen/3.0/tv/20161201.031439 accepted/tizen/3.0/wearable/20161201.031503 submit/tizen_3.0/20161130.101437
taeyoung [Wed, 30 Nov 2016 05:22:35 +0000 (14:22 +0900)]
power: fix uninitilized variable issues

Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: Ida055958ea3988b19a1b6de03ab20871911457ed

7 years agopower: launch popup for user to notice the battery comsumption 01/98601/3 accepted/tizen/3.0/common/20161123.140950 accepted/tizen/3.0/ivi/20161123.083949 accepted/tizen/3.0/mobile/20161123.083850 accepted/tizen/3.0/tv/20161123.083914 accepted/tizen/3.0/wearable/20161123.083932 submit/tizen_3.0/20161122.133614
taeyoung [Thu, 27 Oct 2016 04:37:06 +0000 (13:37 +0900)]
power: launch popup for user to notice the battery comsumption

- After timeout of the permanant power lock,
  capi-system-device asks to deviced whether or not
  the power lock needs to be released.

Change-Id: I8766280ef49b0f60ce81cd72e8b8e3f9c38ac8b2
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: add conf file to adjust power lock auto release timeout 00/98600/1 accepted/tizen/3.0/common/20161123.140537 accepted/tizen/3.0/ivi/20161123.082818 accepted/tizen/3.0/mobile/20161123.082728 accepted/tizen/3.0/tv/20161123.082742 accepted/tizen/3.0/wearable/20161123.082755 submit/tizen_3.0/20161121.105249
taeyoung [Thu, 29 Sep 2016 04:17:40 +0000 (13:17 +0900)]
power: add conf file to adjust power lock auto release timeout

- Power Lock Auto Release timeout can be changed
  while developing plarform by modifying the conf file.

Change-Id: I82d42980a1076a400cecd0b3894fadb92ef0e64f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: fix unused variable issue 99/98599/1
taeyoung [Wed, 12 Oct 2016 09:58:10 +0000 (18:58 +0900)]
power: fix unused variable issue

Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: I5ad15359a5d6254d372aef03f89537ae199161fc

8 years agopower: fix unused variable issue 65/91965/1
taeyoung [Wed, 12 Oct 2016 09:58:10 +0000 (18:58 +0900)]
power: fix unused variable issue

Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: I28d096213288a613c3d93af391bcbadd2222c9ba

8 years agoApply API Deprecation Policy 86/84686/2 accepted/tizen/3.0/common/20161114.105159 accepted/tizen/3.0/ivi/20161011.043833 accepted/tizen/3.0/mobile/20161015.032750 accepted/tizen/3.0/tv/20161016.004042 accepted/tizen/3.0/wearable/20161015.081936 accepted/tizen/common/20160822.132858 accepted/tizen/ivi/20160822.232647 accepted/tizen/mobile/20160822.232552 accepted/tizen/tv/20160822.232611 accepted/tizen/wearable/20160822.232627 submit/tizen/20160822.092002 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
pr.jung [Mon, 22 Aug 2016 04:45:06 +0000 (13:45 +0900)]
Apply API Deprecation Policy

Change-Id: Id191385cfc6ef616c0f68465815a133ffcbb3579
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agocommon: remove unused battery codes 46/82646/2
taeyoung [Fri, 5 Aug 2016 00:42:26 +0000 (09:42 +0900)]
common: remove unused battery codes

- Old battery apis are not used any more.
  For the battery information, battery.h needs to be used.

Change-Id: Id6f23122824c0d327580c4e0f507d629c3afc9c8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agocommon: remove unused codes 45/82645/2
taeyoung [Fri, 5 Aug 2016 00:35:14 +0000 (09:35 +0900)]
common: remove unused codes

- cpu related apis exists in capi-system-runtime-info.
  capi-system-device does not support them anymore.

Change-Id: Ied7e6b9f41857c305cd7e17cd3683518d3f2918b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agopower: remove power lock auto release feature with TV profile 26/82826/1 accepted/tizen/common/20160808.121143 accepted/tizen/ivi/20160809.011521 accepted/tizen/mobile/20160809.011442 accepted/tizen/tv/20160809.011450 accepted/tizen/wearable/20160809.011506 submit/tizen/20160808.034410
taeyoung [Mon, 8 Aug 2016 02:54:36 +0000 (11:54 +0900)]
power: remove power lock auto release feature with TV profile

- TV profile does not have the libtracker, and build problems
  can be occurred with TV. Thus power lock auto release feature
  which is related with libtracker is disabled with TV.

Change-Id: I7c71ed715728dae214299651fd6bff7ef0d5a308
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agopower: add padding timer to power lock 58/59358/4 accepted/tizen/common/20160804.174407 accepted/tizen/ivi/20160804.081139 accepted/tizen/mobile/20160804.081210 accepted/tizen/tv/20160804.081102 accepted/tizen/wearable/20160804.081123 submit/tizen/20160803.081834
Taeyoung Kim [Mon, 15 Feb 2016 04:29:07 +0000 (13:29 +0900)]
power: add padding timer to power lock

- If Power Lock timeout (10 minutes) is expired during apps do
  something with reference count 0 for very short time,
  Power Lock will be released. Thus Suspend mode can be entered.

 (Problem example)
==============================================================
Time  |  Music player  |  device-power       | libtracker
==============================================================
00:00    power lock       power lock
                          add timer
         play start                             ref count:1
--------------------------------------------------------------
09:50    play stop                              ref count:0
         search music
--------------------------------------------------------------
10:00                     timer expired
                          check ref count (== 0)
                            -> power unlock
--------------------------------------------------------------
10:10    search done
         play start                             ref count:1
--------------------------------------------------------------
 After
  few                < Power Suspend Mode >
minutes
==============================================================

- To fix the issue, power lock api uses the padding timeout
  whose callback is called after 20 seconds of power lock timeout.
  Apps can do something without increasing reference count.
  If the ref count is still 0 after 20 seconds, the Power Lock
  will be released.

- If the ref count is changed during 20 seconds but the value is
  still 0, Power Lock should not be released. Thus libtracker
  supports the total reference count which means the accumulated
  ref count. Thus The accumulated ref count is checked if the
  ref count is still 0.

Change-Id: I307fbda4313d14fec2a4a31640096020c3c21485
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agopower: add timeout not to permit permanent power lock 00/57700/6
Taeyoung Kim [Fri, 22 Jan 2016 00:28:10 +0000 (09:28 +0900)]
power: add timeout not to permit permanent power lock

- If an app requests permanent power lock and does not
  release the powr lock, power comsumption will be increased
  dramatically. This is not good for the platform.

- Now, a timeout is added not to permit permanent power lock.
  Even if an app requests permanent power lock, the api
  adds timeout with maximum lock time (currently 10 minutes)
  internally. If the timeout is expired, the permanent power
  lock is released.

- Only the way to keep the power lock is to use the platform
  apis which use power lock internally. For example, if an
  app plays music using MM apis, the power lock will be kept
  sinc the MM apis request power lock internally.

Change-Id: I3f11df904f61f720081e5ab63e4e4da130dc85dc
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agodisplay: change printf to dlog_print 87/81387/1
taeyoung [Tue, 26 Jul 2016 02:22:14 +0000 (11:22 +0900)]
display: change printf to dlog_print

- dlog is used for the logging system of the Tizen.
  Thus printf is changed to dlog

Change-Id: I9587dbe98d6651c2650794984c5825069e54243a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agodisplay: hide display dim state on TV profile 02/68402/2
Taeyoung Kim [Wed, 4 May 2016 03:00:18 +0000 (12:00 +0900)]
display: hide display dim state on TV profile

- TV profile does not support dim state of display.
  Thus doxygen is updated not to show dim state
  on TV profile.

Change-Id: I5f9f0a9c9e391b666ea8faf7a25e3dec6baf1ffa
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoAdd comments for line/function coverage analysis 41/71141/3 accepted/tizen/common/20160714.152719 accepted/tizen/ivi/20160714.053927 accepted/tizen/mobile/20160714.053907 accepted/tizen/tv/20160714.053911 accepted/tizen/wearable/20160714.053919 submit/accepted/tizen_common/20160714.001558 submit/tizen/20160714.000744
pr.jung [Tue, 24 May 2016 07:54:42 +0000 (16:54 +0900)]
Add comments for line/function coverage analysis

- Remove system error, not called callback, not used function and logs.
- Drops the exclusion reason for Logs

Change-Id: I978869726e64a2c1d14a23e7a871ebd6b67ee0c5
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoMerge "Modify dbus method object path and interface for haptic" into tizen accepted/tizen/common/20160629.222248 accepted/tizen/common/20160703.130644 accepted/tizen/ivi/20160701.033850 accepted/tizen/mobile/20160701.034015 accepted/tizen/tv/20160701.033805 accepted/tizen/wearable/20160701.033924 submit/tizen/20160627.095455 submit/tizen/20160630.105614
pr.jung [Mon, 27 Jun 2016 09:38:47 +0000 (02:38 -0700)]
Merge "Modify dbus method object path and interface for haptic" into tizen

8 years agobattery: add NULL check routine for input parameter 26/75026/1 accepted/tizen/common/20160617.121323 accepted/tizen/ivi/20160617.083348 accepted/tizen/mobile/20160617.083147 accepted/tizen/tv/20160617.083050 accepted/tizen/wearable/20160617.083139 submit/tizen/20160616.101144
taeyoung [Thu, 16 Jun 2016 10:07:15 +0000 (19:07 +0900)]
battery: add NULL check routine for input parameter

- App crash issue occurs when the input parameter is NULL.
  Thus NULL check routine is added.

Change-Id: I34321c2ebb5c630c25afb8972d448db234769bc3
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoModify dbus method object path and interface for haptic 70/72070/2
pr.jung [Wed, 18 May 2016 09:43:13 +0000 (18:43 +0900)]
Modify dbus method object path and interface for haptic

Haptic module is seperated from deviced to deviced-vibrator,
and object path, interface, and bus name is changed

Change-Id: I194e175daac8eaa51dbcbf8f8f1032aaa64a28a4
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agobattery: add battery info apis 67/69667/7 submit/tizen/20160616.095145
Taeyoung Kim [Mon, 16 May 2016 09:40:37 +0000 (18:40 +0900)]
battery: add battery info apis

- int device_battery_get_health(device_battery_health_e *health);
- int device_battery_get_power_source(device_battery_power_source_e *source);
- int device_battery_get_property(device_battery_property_e propertyi, int *val);
- int device_battery_get_status(device_battery_status_e *status);

Change-Id: I0995f070039286b8e0c3be3c711c06ef238c5bf8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agocommon: update tizen version information for api descriptions 74/71774/1 accepted/tizen/common/20160530.132102 accepted/tizen/ivi/20160602.022319 accepted/tizen/mobile/20160602.022359 accepted/tizen/tv/20160602.022232 accepted/tizen/wearable/20160602.022313 submit/tizen/20160530.054141
Taeyoung Kim [Fri, 27 May 2016 05:36:48 +0000 (14:36 +0900)]
common: update tizen version information for api descriptions

- Tizen 2.4 does not support Wearable profile. Thus the version
  information need to be updated to 3.0 fir wearable profile.

Change-Id: I79635d9e7276eaf872be1c5c0f4050f0d3331f78
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agodbus: fix memory leak issue 13/70613/1 accepted/tizen/common/20160520.171320 accepted/tizen/ivi/20160520.081651 accepted/tizen/mobile/20160520.081712 accepted/tizen/tv/20160520.081646 accepted/tizen/wearable/20160520.081638 submit/tizen/20160520.041904
Taeyoung Kim [Fri, 20 May 2016 01:04:04 +0000 (10:04 +0900)]
dbus: fix memory leak issue

==858== 8 bytes in 1 blocks are definitely lost in loss record 946 of 5,161
==858==    at 0x4845750: malloc (vg_replace_malloc.c:296)
==858==    by 0x5A22DF3: dbus_method_async_with_reply (dbus.c:237)
==858==    by 0x5A21FE5: unlock_state (power.c:168)
==858==    by 0x5A2239F: device_power_release_lock (power.c:197)

Change-Id: Ifbcf5c3c70b487c8cb6a98775fd62243febb9cc0
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agodevice: fix implicit declaration of function 18/70518/1
sunm.lee [Thu, 19 May 2016 09:13:46 +0000 (18:13 +0900)]
device: fix implicit declaration of function

Fix build warning occuerred by implicit declaration
of function in device.c

Change-Id: I37ab292b7a07c8e6c1eb9bdc6bdfdf87c9795ef7
Signed-off-by: sunm.lee <sunm.lee@samsung.com>
8 years agoMerge "Add explanation about feature" into tizen accepted/tizen/common/20160513.123250 accepted/tizen/ivi/20160513.004345 accepted/tizen/mobile/20160513.004328 accepted/tizen/tv/20160513.004334 accepted/tizen/wearable/20160513.004324 submit/tizen/20160512.052303
pr.jung [Thu, 12 May 2016 05:22:20 +0000 (22:22 -0700)]
Merge "Add explanation about feature" into tizen

8 years agoAdd explanation about feature 94/68394/3
pr.jung [Wed, 4 May 2016 02:15:29 +0000 (11:15 +0900)]
Add explanation about feature

Change-Id: Ie89800763842867b0fbd98b0be5fcf243a7ae1ad
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agocommon: update version of deprecated apis 27/68627/1 accepted/tizen/common/20160510.051027 accepted/tizen/ivi/20160510.070241 accepted/tizen/mobile/20160510.070217 accepted/tizen/tv/20160510.070221 accepted/tizen/wearable/20160510.070256 submit/tizen/20160509.230039
Taeyoung Kim [Mon, 9 May 2016 03:14:14 +0000 (12:14 +0900)]
common: update version of deprecated apis

- The apis are deprecated from Tizen 2.4 Mobile and Tizen 3.0 Wearable

Change-Id: Iac714fe4a09d83b5ee59dde27b3070bd3bd8248b
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agocommon: apply Tizen Coding Rule 61/64361/2
Taeyoung Kim [Thu, 31 Mar 2016 23:53:07 +0000 (08:53 +0900)]
common: apply Tizen Coding Rule

- The positions of the braces are changed

Change-Id: I9e907e6fa8203089d8824d193d03f9cd2e0793c1
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agodbus: fix issue in which uninitialized variable is used 12/63712/1
Taeyoung Kim [Fri, 25 Mar 2016 09:08:05 +0000 (18:08 +0900)]
dbus: fix issue in which uninitialized variable is used

Change-Id: I1002489599d25f222b9efd09d04ac4bf9caf3e16
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoRevert "Check argument first on transmit api" 06/63506/1 accepted/tizen/common/20160325.135402 accepted/tizen/ivi/20160324.131710 accepted/tizen/mobile/20160324.133002 accepted/tizen/tv/20160324.132831 accepted/tizen/wearable/20160324.132826 submit/tizen/20160324.091402
Jung [Thu, 24 Mar 2016 08:43:20 +0000 (01:43 -0700)]
Revert "Check argument first on transmit api"

This reverts commit bbc5c0e4ac7b85fd38fb3cc372b4b90242a0a107.

Change-Id: If3e6f5c4b2042e22e3cf1a1a885eebbb234780e3

8 years agoCheck argument first on transmit api 63/63363/1 accepted/tizen/ivi/20160323.141127 accepted/tizen/mobile/20160323.135900 accepted/tizen/tv/20160323.140103 accepted/tizen/wearable/20160323.135845 submit/tizen/20160323.104529
pr.jung [Wed, 23 Mar 2016 10:22:33 +0000 (19:22 +0900)]
Check argument first on transmit api

Change-Id: Iecfcc15a5ee2e34b114fc61f60496a3f689abfe6
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoGet IR available information from system-info 18/62618/8 accepted/tizen/common/20160318.150253 accepted/tizen/ivi/20160321.004823 accepted/tizen/mobile/20160321.004736 accepted/tizen/tv/20160321.004751 accepted/tizen/wearable/20160321.004806 submit/tizen/20160318.091903
pr.jung [Thu, 17 Mar 2016 05:28:11 +0000 (14:28 +0900)]
Get IR available information from system-info

Change-Id: I70cb0de086a1db256a3f8a40b3964699ad9f27ec
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoRemove useless function call 93/61493/1 accepted/tizen/common/20160310.070758 accepted/tizen/ivi/20160309.005539 accepted/tizen/mobile/20160309.005443 accepted/tizen/tv/20160309.005504 accepted/tizen/wearable/20160309.005521 submit/tizen/20160308.090000
pr.jung [Tue, 8 Mar 2016 08:34:45 +0000 (17:34 +0900)]
Remove useless function call

Change-Id: I63acad03a835e516ace668ac46a4843cd4253c92
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoAdd missing error case 83/61083/4 accepted/tizen/common/20160307.154226 accepted/tizen/ivi/20160307.110239 accepted/tizen/mobile/20160307.110151 accepted/tizen/tv/20160307.110204 accepted/tizen/wearable/20160307.110222 submit/tizen/20160307.063209
pr.jung [Fri, 4 Mar 2016 01:40:54 +0000 (10:40 +0900)]
Add missing error case

- Add permission denied error.

Change-Id: I0bd4853b52e97686a0d56c97a3db4fb13c736bf8
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoMerge "display: add result check routine for getting the number of display" into...
Taeyoung Kim [Thu, 3 Mar 2016 03:48:39 +0000 (19:48 -0800)]
Merge "display: add result check routine for getting the number of display" into tizen

8 years agoImplement IR apis. 81/59181/5 accepted/tizen/ivi/20160223.231452 accepted/tizen/mobile/20160223.231406 accepted/tizen/tv/20160223.231417 accepted/tizen/wearable/20160223.231434 submit/tizen/20160223.043930
pr.jung [Thu, 11 Feb 2016 07:49:19 +0000 (16:49 +0900)]
Implement IR apis.

- device_ir_is_available : Check whether ir is available
- device_ir_transmit : Send IR command

Change-Id: Ib96cc19675d6d1b5cb7fc2c0a635ef5ed99bc83d
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoMerge "Add IR apis." into tizen
pr.jung [Mon, 22 Feb 2016 06:25:18 +0000 (22:25 -0800)]
Merge "Add IR apis." into tizen

8 years agodisplay: add result check routine for getting the number of display 70/59970/1
Taeyoung Kim [Mon, 22 Feb 2016 02:21:09 +0000 (11:21 +0900)]
display: add result check routine for getting the number of display

- Previously, the return value check routine for getting
  the number of display was skipped. Thus the return value
  was not correct even if permission error is occurred

- Now, The return value check routine is added and thus
  the return value is correct.

Change-Id: Iac237061dcdce873423a0b31194fd67acf253857
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agodoxygen: remove privilege from device_display_get_state() 18/59718/1 accepted/tizen/ivi/20160219.001936 accepted/tizen/mobile/20160219.001848 accepted/tizen/tv/20160219.001904 accepted/tizen/wearable/20160219.001920 submit/tizen/20160218.041907
Taeyoung Kim [Wed, 17 Feb 2016 23:56:28 +0000 (08:56 +0900)]
doxygen: remove privilege from device_display_get_state()

- The privilege is removed since Tizen 2.4

Change-Id: I705f6038e0c5cbd5f540ec7fb6dd66cf8a53387f
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoAdd IR apis. 74/56974/14
pr.jung [Thu, 14 Jan 2016 05:04:23 +0000 (14:04 +0900)]
Add IR apis.

- device_ir_is_available : Check whether ir is available
- device_ir_transmit : Send IR command

Change-Id: I0b312e00fd10f8f23aee5f578530490276f6cf70
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agodoc: Rearrange power enums in table 31/57531/1
pr.jung [Thu, 21 Jan 2016 02:09:17 +0000 (11:09 +0900)]
doc: Rearrange power enums in table

Change-Id: I0dd5188364776e1ea2879456b9b91952a11686e8
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agodoc: update document 45/56845/1 accepted/tizen/ivi/20160218.022827 accepted/tizen/mobile/20160115.112849 accepted/tizen/tv/20160115.112901 accepted/tizen/wearable/20160115.112921 submit/tizen/20160115.065618 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
Taeyoung Kim [Wed, 13 Jan 2016 05:56:17 +0000 (14:56 +0900)]
doc: update document

- add comments for deprecated apis since Tizen 2.4
- change guide url for featuring on the manifest file

Change-Id: Iced5ffa65f010c6ae10e80bd64c62c78a37c5843
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agocpu: change strtol() to strtoull() 03/55903/1 accepted/tizen/mobile/20151230.223708 accepted/tizen/tv/20151230.223729 accepted/tizen/wearable/20151230.223743 submit/tizen/20151230.082645
Taeyoung Kim [Wed, 30 Dec 2015 05:33:29 +0000 (14:33 +0900)]
cpu: change strtol() to strtoull()

- The type of the variables to store the result is unsigned longlong
  Thus strtol() is changed to strtoull()

Change-Id: I3b01e79b46e7bf3b807e48a1ff1992481e67372d
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoFix as Tizen coding rule. 27/55127/1 accepted/tizen/mobile/20151222.090557 accepted/tizen/tv/20151222.090617 accepted/tizen/wearable/20151222.090633 submit/tizen/20151222.062826 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
pr.jung [Tue, 22 Dec 2015 06:21:05 +0000 (15:21 +0900)]
Fix as Tizen coding rule.

Change-Id: I8a07e55244c1dd6a55dd23e153e20ca48ef13d99
Signed-off-by: pr.jung <pr.jung@samsung.com>
9 years agocapi-system-device: Add document file for capi-system-device 63/39763/1 tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/common/20150526.081216 accepted/tizen/mobile/20150526.094850 accepted/tizen/tv/20150526.094333 accepted/tizen/wearable/20150526.094628 submit/tizen/20150526.043906 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 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
Jiyoung Yun [Fri, 22 May 2015 04:53:41 +0000 (13:53 +0900)]
capi-system-device: Add document file for capi-system-device

Change-Id: I76b2840defd550306c9192348646654b9b29939b
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Update wrong space in manifest file 62/39762/1
Jiyoung Yun [Fri, 22 May 2015 04:52:55 +0000 (13:52 +0900)]
capi-system-device: Update wrong space in manifest file

Change-Id: I3b72223107904f459aaba3ab6da2279ce1c4231a
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Change dbus-glib to gdbus 61/39761/1
Jiyoung Yun [Fri, 22 May 2015 04:48:22 +0000 (13:48 +0900)]
capi-system-device: Change dbus-glib to gdbus

Dbus-glib is a deprecated API for use of D-Bus from GLib applications.
Since version 2.26, Glib provides a high-level API for D-Bus, "GDBus".
So the related code with dbus-glib is changed to gdbus logic.

http://dbus.freedesktop.org/doc/dbus-glib/

Change-Id: If92a0139fc9ed04d5810ce43bd4c1efd55eafd02
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Add reboot API 57/39757/1
Jiyoung Yun [Fri, 22 May 2015 04:35:21 +0000 (13:35 +0900)]
capi-system-device: Add reboot API

Reboot api request to deviced with command string.
It only valids with reboot privilege.

Change-Id: I3fcf252ad64b1256c9787f04f2fbda7470d281b8
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Add restriction on led flash api 56/39756/1
Jiyoung Yun [Fri, 22 May 2015 04:26:35 +0000 (13:26 +0900)]
capi-system-device: Add restriction on led flash api

Flash led can't control camera flash when camera API preempted flash.
In this case, led api will return DEVICE_ERROR_RESOURCE_BUSY error.

Change-Id: I13c1cbccb854be5a0309711145a69a010adfe94c
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Add flash brightness callback function 55/39755/2
Jiyoung Yun [Fri, 22 May 2015 04:09:01 +0000 (13:09 +0900)]
capi-system-device: Add flash brightness callback function

enum: DEVICE_CALLBACK_FLASH_BRIGHTNESS
value: Changed brightness

Flash led can't control camera flash when camera API preempted flash.
In this case, led api will return DEVICE_ERROR_RESOURCE_BUSY error.

Change-Id: Iecfd19e05de83a2de56fff126034d19349f57c9f
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Update since_tizen string for Tizen 2.3.1 APIs 53/39753/2
Jiyoung Yun [Fri, 22 May 2015 03:57:09 +0000 (12:57 +0900)]
capi-system-device: Update since_tizen string for Tizen 2.3.1 APIs

Change-Id: I322d445af6a2abe5334d199a31a2506c37abe964
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Remove deviced dependency 96/38096/1 accepted/tizen/common/20150414.100026 accepted/tizen/mobile/20150415.015004 accepted/tizen/tv/20150415.012530 accepted/tizen/wearable/20150415.013751 submit/tizen/20150413.081634
Jiyoung Yun [Mon, 13 Apr 2015 02:30:47 +0000 (11:30 +0900)]
capi-system-device: Remove deviced dependency

The capi-system-device can invoke dbus method without deviced dependency.
Some function of device header file is deprecated.

Change-Id: If0da743246ea30e87bfddf1604d04790c7f61d7a
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Add no vibrator model case 11/35911/2 accepted/tizen/common/20150227.103002 accepted/tizen/mobile/20150227.121911 accepted/tizen/tv/20150227.120411 accepted/tizen/wearable/20150302.083927 submit/tizen/20150227.083647
Jiyoung Yun [Thu, 26 Feb 2015 04:26:23 +0000 (13:26 +0900)]
capi-system-device: Add no vibrator model case

If there is no vibrator device,
deviced does not provide dbus methods of vibrator.
In this case, haptic_get_count api will return zero.

Change-Id: I2bbd7125d707bb31c4782b107656fd180b362fe4
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Battery api regards as disconnected in no battery model 75/35875/3
Jiyoung Yun [Wed, 25 Feb 2015 12:18:44 +0000 (21:18 +0900)]
capi-system-device: Battery api regards as disconnected in no battery model

If there is no battery model,
below apis will work as disconnected battery.

device_battery_get_percent
device_battery_is_charging
device_battery_get_level_status

Change-Id: Icabaf30b85a99cdf5b09d1f624fb45fce00ac0db
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
9 years agocapi-system-device: Enable device dlog 21/35821/1
Jiyoung Yun [Wed, 25 Feb 2015 05:44:44 +0000 (14:44 +0900)]
capi-system-device: Enable device dlog

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I7f76ba4dddd55befb5a4ad5eeae6e37e75230c0d

9 years agodevice: Merge public api on Tizen 2.3 into tizen branch 25/32925/3 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150119.084725 accepted/tizen/mobile/20150120.022030 accepted/tizen/tv/20150120.022015 accepted/tizen/wearable/20150119.235956 submit/tizen/20150116.023914
Jiyoung Yun [Tue, 13 Jan 2015 06:21:27 +0000 (15:21 +0900)]
device: Merge public api on Tizen 2.3 into tizen branch

Detail Tizen Device Native API guideline:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.apireference/group__CAPI__SYSTEM__DEVICE__MODULE.html

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: If11e3576cd5911466b818c7b478a847556be0193

9 years agoImprove typing of constants data 64/31564/1
José Bollo [Fri, 5 Dec 2014 16:55:10 +0000 (17:55 +0100)]
Improve typing of constants data

The strings returned by vconf_keynode_get_name must never be changed.

Change-Id: Ic16a1b7720cf88a6c4f07ce102d9fe4976aa17bc
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
10 years agoClean spec file for yocto complaince. 41/24341/1 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/common/20140915.091247 submit/tizen_common/20140912.150039 submit/tizen_common/20140912.150451 submit/tizen_ivi/20140916.000000 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release tizen_3.0_ivi_release
Ronan Le Martret [Thu, 10 Jul 2014 15:58:34 +0000 (17:58 +0200)]
Clean spec file for yocto complaince.

Change-Id: I66727d07778917fe141a124f3d12d69d44c87bc4
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
11 years agocopy license file to /usr/share/license/ 03/10003/2
jy910.yun [Fri, 13 Sep 2013 12:13:57 +0000 (21:13 +0900)]
copy license file to /usr/share/license/

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I8f690aeae01a622d03ef8498b0124bb24066a5cf

11 years agoMerge "resetting manifest requested domain to floor" into tizen accepted/tizen/ivi/genivi accepted/tizen/ivi/stable accepted/tizen_generic tizen_3.0.m14.2_ivi tizen_ivi_genivi accepted/tizen/20130710.221653 accepted/tizen/20130912.082933 accepted/tizen/20130912.085751 accepted/tizen/20130912.093317 accepted/tizen/20130912.142013 accepted/tizen/20130912.192206 accepted/tizen/20130912.200305 accepted/tizen/generic/20140306.082052 accepted/tizen/ivi/20140307.055223 accepted/tizen/ivi/genivi/20140131.061804 accepted/tizen/mobile/20140306.024801 accepted/tizen_ivi_stable/20131116.102002 ivi_oct_m2 submit/tizen/20130710.102333 submit/tizen/20130912.075704 submit/tizen/20130912.090102 submit/tizen/20140305.215030 submit/tizen_ivi_genivi/20140131.060702 submit/tizen_ivi_stable/20131116.100055 tizen_3.0.m14.2_ivi_release
Ryan Ware [Mon, 8 Jul 2013 17:07:05 +0000 (10:07 -0700)]
Merge "resetting manifest requested domain to floor" into tizen

11 years agoresetting manifest requested domain to floor 24/5124/1
Alexandru Cornea [Mon, 1 Jul 2013 12:26:31 +0000 (15:26 +0300)]
resetting manifest requested domain to floor

11 years agoresetting manifest requested domain to floor 09/4509/1
Alexandru Cornea [Fri, 28 Jun 2013 14:58:48 +0000 (17:58 +0300)]
resetting manifest requested domain to floor

11 years agoRemove placeholders and cleanup spec accepted/tizen/20130531.211536 submit/tizen/20130531.135651
Anas Nashif [Fri, 31 May 2013 13:56:47 +0000 (09:56 -0400)]
Remove placeholders and cleanup spec

11 years agodelete redundant TC files tizen_2.1 2.1b_release accepted/tizen/20130520.100647 accepted/tizen_2.1/20130425.040655 submit/tizen/20130517.044627 submit/tizen_2.1/20130424.230315
jy910.yun [Thu, 11 Apr 2013 02:34:17 +0000 (11:34 +0900)]
delete redundant TC files

to clear opensource keyword issue

11 years agoFix for 64 bit compatibility.
Junfeng Dong [Fri, 22 Mar 2013 09:56:39 +0000 (17:56 +0800)]
Fix for 64 bit compatibility.

- Fix hardcoding path.
- Use %cmake to set default paths.

Change-Id: Ib4e837c3ad6def84cf7a87ee3f9f1502d7b761ae

11 years agomerge with master
Jinkun Jang [Fri, 15 Mar 2013 16:11:45 +0000 (01:11 +0900)]
merge with master

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

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