platform/core/system/deviced.git
7 years agoauto-test: support battery dbus test 02/132702/5 accepted/tizen/unified/20170612.170904 submit/tizen/20170612.061649
Yunmi Ha [Wed, 7 Jun 2017 07:38:34 +0000 (16:38 +0900)]
auto-test: support battery dbus test

deviced-auto-test package was added.
Now it supports battery dbus method test only.
(other module will be updated.)

This is optional package.
If you want to use this, install device-auto-test package manually
and run below command. Then you can see detail usage for this tool.
$/usr/bin/deviced-auto-test

usage: deviced-auto-test [PROFILE] [MODULE] [UNIT-METHOD] [OPTS]

Change-Id: Id8824459e88286d8f0074b05b2e1f93690a6e4d2
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agousb: fix stack-buffer-underflow issue 58/131558/2
Yunmi Ha [Tue, 30 May 2017 04:40:03 +0000 (13:40 +0900)]
usb: fix stack-buffer-underflow issue

Change-Id: I77b72b01a5182680f10d7a0a4a49e0e400ff63f5
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoblock: Remove useless code 23/130623/1
pr.jung [Tue, 23 May 2017 06:22:20 +0000 (15:22 +0900)]
block: Remove useless code

Change-Id: I7de61a2f5fbd354747c64556da73ef4e7f92fb1d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoMerge "display: add privilege for lockstate dbus method" into tizen accepted/tizen/unified/20170512.023833 submit/tizen/20170512.003944 tizen_4.0.m1_release
Yunmi Ha [Fri, 12 May 2017 00:35:14 +0000 (00:35 +0000)]
Merge "display: add privilege for lockstate dbus method" into tizen

7 years agodisplay: add privilege for lockstate dbus method 90/128490/2
Yunmi Ha [Wed, 10 May 2017 07:39:03 +0000 (16:39 +0900)]
display: add privilege for lockstate dbus method

[Problem]
Any app can block holdkey using lockstate dbus method directly.
This makes security issues.

[Solution]
Add new dbus method lockstate_nopt which doesn't support hold key block.
And only internal services are allowed to call lockstate dbus method.

Change-Id: Ic075c51e46c9250f1d5db847257f4f270c973ca9
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoCommon : change ecore to ecore-core to remove dependacy 97/128497/1 accepted/tizen/unified/20170510.183656 submit/tizen/20170510.101203
lokilee73 [Wed, 10 May 2017 08:05:43 +0000 (17:05 +0900)]
Common : change ecore to ecore-core to remove dependacy

ecore is too heavy, so change it to ecore-core to remove
dependancy.

Change-Id: Id93b8bd0a36ab50d7e9d1804ac65045e4d32aced
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoLCD : add LCD always on option 86/126486/2 accepted/tizen/unified/20170426.200032 submit/tizen/20170424.100737 submit/tizen/20170426.070648
lokilee73 [Sun, 23 Apr 2017 07:16:13 +0000 (16:16 +0900)]
LCD : add LCD always on option

Change-Id: I82599f0284dd9daff33457bc921cfff1ca4d5d0c
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoReplace libusbg with libusbgx 29/126429/1 accepted/tizen/unified/20170425.083105 accepted/tizen/unified/20170425.124242 submit/tizen/20170421.113907
Krzysztof Opasiak [Fri, 21 Apr 2017 10:26:59 +0000 (12:26 +0200)]
Replace libusbg with libusbgx

Change-Id: If4deccc8074594689894e44d866d6955b528f904
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
7 years agoCommon : fix memory leak on file open and close 37/126337/2 accepted/tizen/unified/20170421.115012 submit/tizen/20170421.063934
lokilee73 [Fri, 21 Apr 2017 04:35:47 +0000 (13:35 +0900)]
Common : fix memory leak on file open and close

Change-Id: I9b9129b8e8a38aeeca151593d153ad936b75a3d5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agobattery:Fixed a bug of battery popup 25/126125/3 accepted/tizen/unified/20170420.155650 submit/tizen/20170420.075753
wchang kim [Thu, 20 Apr 2017 07:27:18 +0000 (16:27 +0900)]
battery:Fixed a bug of battery popup

Battery popup does not appear when device boots up.
This bug is fixed.

Change-Id: I3d99cc095fdbcae0e3dede70f361c6013b71083a

7 years agobattery: Fixed a bug which noti disappear when power is connected. 24/126124/1
wchang kim [Thu, 20 Apr 2017 05:09:45 +0000 (14:09 +0900)]
battery: Fixed a bug which noti disappear when power is connected.

Change-Id: Iaa8936442dd31e93f9336a08fe083991f27401dd

7 years agobattery : Adding the lowbat level custom setting. 28/126028/2
wchang kim [Thu, 20 Apr 2017 02:02:46 +0000 (11:02 +0900)]
battery : Adding the lowbat level custom setting.

Change-Id: I813c2b5f3bc6029ec06b9240cde80d4342cf5b16

7 years agoCommon : fix overflow and change readdir to readdir_r 24/124324/3 accepted/tizen/unified/20170411.164626 submit/tizen/20170411.075625
lokilee73 [Tue, 11 Apr 2017 06:39:48 +0000 (15:39 +0900)]
Common : fix overflow and change readdir to readdir_r

Change-Id: I0447d483ecd13362ff5f98fb9ede9f88325266fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agocore,tzip: Fix nun terminated string issue. 11/124111/2
Yunmi Ha [Mon, 10 Apr 2017 08:04:40 +0000 (17:04 +0900)]
core,tzip: Fix nun terminated string issue.

There are missing null string for several strings
cause of buffer size.
So increase allocated memory size for null string.

Change-Id: Ib713fce67a1c054026eec4b76f28c7e99dc102cb
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years ago[Tizen] Remove build dependency on emulator 24/122124/6
hk57.kim [Fri, 7 Apr 2017 06:12:51 +0000 (15:12 +0900)]
[Tizen] Remove build dependency on emulator

 - This is for Tizen 4.0.
 - We are going to merge emulator repository into standard repositoryi.

Change-Id: If7b2a2762c5b4b57a052b8137b30fdaa22e1d6ea
Signed-off-by: hk57.kim <hk57.kim@samsung.com>
7 years agohaptic: Seperate deviced-vibrator to feedbackd 50/121550/5 accepted/tizen/unified/20170407.190239 submit/tizen/20170407.014525
pr.jung [Thu, 2 Mar 2017 07:55:53 +0000 (16:55 +0900)]
haptic: Seperate deviced-vibrator to feedbackd

Change-Id: Ib1e072a7f51a4d00657541bbeb4878c779ced45d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agodisplay: change lcdon operate sequence 96/123196/1
Jeong Donghwan [Wed, 5 Apr 2017 00:53:06 +0000 (09:53 +0900)]
display: change lcdon operate sequence

- When display is turned on, display panel should be on
 before set touchscreen.

- There are two reasons for this.
 First, when user want to turn on display, display response
 speed should be fast. Usually, touch screen setting is late,
 so it can make delay to display.
 Second, This is hardware basic issue. if touchscreen was
 turn on before display setting, when display is setting,
 the display spark can obstruct with the wrong input of the touch
 screen.

Change-Id: If7e1bc82033f86cc45443ce250740ded94955667
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
7 years agoPower off : add usleep() to make sure that poweroff_start_animation() works properly... 75/123075/1 accepted/tizen/unified/20170406.055109 submit/tizen/20170405.073013
lokilee73 [Tue, 4 Apr 2017 10:05:42 +0000 (19:05 +0900)]
Power off : add usleep() to make sure that poweroff_start_animation() works properly while powering off

poweroff_start_animation didn't work properly because duration for it was not confirmed.
So, add usleep() to solve this issue.

Change-Id: I6968a8e8147ae7b6600a95337c3ac38ac35ae368
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agodisplay: add ambient mode 92/122992/1
taeyoung [Sat, 18 Mar 2017 08:13:54 +0000 (17:13 +0900)]
display: add ambient mode

- Ambient mode turns off the CPU but does not turn off the display.

- Currently, turning off CPU is not supported by kernel, and thus
  just display operation is added.

- "ambient condition" value shows that the Ambient Mode is allowed
  or not by the User trough the settings app. This value is handled
  by vconf key VCONFKEY_SETAPPL_AMBIENT_MODE_BOOL. Even if the value
  is true, the target can be the normal mode (not Ambient Mode).

- "ambient state" value shows whether or not the Ambient Mode is
  enabled. "ambient state" can be true only if "ambient condition"
  is true.

- If "ambient condition" is true, display off operation works
  little bit different. The operation checks "ambient condition"
  value and enables the Ambient Mode by setting "ambient state".
  The Ambient Mode is one of the display off states, and thus
  "LCDOff" and "LCDOffCompleted" signal also need to be broadcasted
  like the normal mode. However, the "LCDOffCompleted" signal is
  broadcasted after launching ambient clock. For the operation,
  "HomeScreen" signal is delivered from the ambient clock application.

Change-Id: I4630459d8af1c8f179009c1b325b983a352efdf3
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoLIcense : add the license file for profile mobile, wearable, common, ivi, tv 33/122833/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142643 accepted/tizen/ivi/20170404.060549 accepted/tizen/mobile/20170404.060457 accepted/tizen/tv/20170404.060524 accepted/tizen/unified/20170404.060602 accepted/tizen/wearable/20170404.060535 submit/tizen/20170404.010904
lokilee73 [Mon, 3 Apr 2017 13:21:50 +0000 (22:21 +0900)]
LIcense : add the license file for profile mobile, wearable, common, ivi, tv

Previously, license was added for tools and libdeviced only.
But it was not added to each profile packages.

Change-Id: I90a6689e3905a9153dee323617a5471a9393c0db
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoblock: Seperate storaged from deviced 62/121562/3 accepted/tizen/common/20170403.190725 accepted/tizen/ivi/20170403.130335 accepted/tizen/mobile/20170403.130220 accepted/tizen/tv/20170403.130310 accepted/tizen/unified/20170403.130351 accepted/tizen/wearable/20170403.130321 submit/tizen/20170403.054337
pr.jung [Tue, 28 Mar 2017 08:26:47 +0000 (17:26 +0900)]
block: Seperate storaged from deviced

- Remove block module from deviced

Change-Id: I33d579ba7cb19a37be67ee29b107b101bc053f90
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoLicense : add license file for libdeviced and deviced-tools 86/121586/2 accepted/tizen/common/20170328.141119 accepted/tizen/ivi/20170329.034541 accepted/tizen/mobile/20170329.034455 accepted/tizen/tv/20170329.034518 accepted/tizen/unified/20170329.034604 accepted/tizen/wearable/20170329.034535 submit/tizen/20170328.092307
lokilee73 [Tue, 28 Mar 2017 09:15:56 +0000 (18:15 +0900)]
License : add license file for libdeviced and deviced-tools

Change-Id: I3eaeb83865aa821fa2377bff6a689dfe5b3bd51f
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agodislay: Fixed side-effect of processing powerkey. 59/119959/1 accepted/tizen/common/20170321.102331 accepted/tizen/ivi/20170321.095238 accepted/tizen/mobile/20170321.095129 accepted/tizen/tv/20170321.095201 accepted/tizen/unified/20170321.095258 accepted/tizen/wearable/20170321.095223 submit/tizen/20170321.032951
wchang kim [Tue, 21 Mar 2017 01:52:42 +0000 (10:52 +0900)]
dislay: Fixed side-effect of processing powerkey.
- When powerkey is pressed, key-filter should check the configuration of
  doublekey and lcdalwayson.
- TV : doublekey is no, lcdalwayson is yes -> longkey_pressed
- Mobile : doublekey is no, lcdalwayson is no -> lcdoff_powerkey()
- Wearable : doublekey is yes, lcdalwayson is no -> ignore

Change-Id: I95b02a46aca84632c4dda451b1f847596429e32d

7 years agodisplay: turn off power when pressing power key if LCDAlwaysOn option is on 16/118216/1 accepted/tizen/common/20170316.161557 accepted/tizen/ivi/20170316.101823 accepted/tizen/mobile/20170316.101703 accepted/tizen/tv/20170316.101747 accepted/tizen/unified/20170316.101838 accepted/tizen/wearable/20170316.101809 submit/tizen/20170316.013421
taeyoung [Thu, 9 Mar 2017 08:00:29 +0000 (17:00 +0900)]
display: turn off power when pressing power key if LCDAlwaysOn option is on

- LCDAlwaysOn option of TV and IVI profile is enabled.
  In this case, the target needs to be turned off directly
  when power key is pressed.

Change-Id: I7f0b45f0f5f655b7905a9800e99c5f78fa05056c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: Do not use dbus method call on block thread 77/117577/7
pr.jung [Mon, 6 Mar 2017 12:33:56 +0000 (21:33 +0900)]
block: Do not use dbus method call on block thread

- When deviced use dbus method call on block thread,
there will be ecore_timer_add call from outside of the main loop thread.

Change-Id: I707dd9fe0d894d696d075591dc22895d9d3ba95d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agocommon: Create ivi profile rpm and move display.conf to profile rpm 24/117424/2 accepted/tizen/common/20170306.165057 accepted/tizen/ivi/20170306.103617 accepted/tizen/mobile/20170306.103541 accepted/tizen/tv/20170306.103556 accepted/tizen/unified/20170309.033841 accepted/tizen/wearable/20170306.103607 submit/tizen/20170306.060009 submit/tizen_unified/20170308.100409
pr.jung [Mon, 6 Mar 2017 05:17:52 +0000 (14:17 +0900)]
common: Create ivi profile rpm and move display.conf to profile rpm

Change-Id: I37e86c69d2e629ffb3bd120d10624265c5f97b9b
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agocommon: Add Requires and Recommends 95/117395/1
pr.jung [Mon, 6 Mar 2017 04:00:13 +0000 (13:00 +0900)]
common: Add Requires and Recommends

Change-Id: I054a71eeac8812e5c92a8b7cba69a8d3fff94fa8
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agocommon: Remove dependencies on spec file 06/116406/1 accepted/tizen/common/20170228.163023 accepted/tizen/ivi/20170227.050043 accepted/tizen/mobile/20170227.045836 accepted/tizen/tv/20170227.045932 accepted/tizen/wearable/20170227.050013 submit/tizen/20170224.073923 submit/tizen_common/20170228.114249
pr.jung [Fri, 24 Feb 2017 07:21:43 +0000 (16:21 +0900)]
common: Remove dependencies on spec file

Change-Id: I10b6ad8cedeb752819562e830f98cac17623ec35
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoMerge remote-tracking branch 'origin/tizen_3.0' into tizen 52/116352/1
pr.jung [Fri, 24 Feb 2017 01:51:12 +0000 (10:51 +0900)]
Merge remote-tracking branch 'origin/tizen_3.0' into tizen

Signed-off-by: pr.jung <pr.jung@samsung.com>
Conflicts:
src/core/edbus-handler.c
src/shared/dbus.h

Change-Id: I70c406e50f079bbd8923280bb00cedd5af3e0ac8

7 years ago[4.0] Remove Profile Build Dependencies 96/116196/1 submit/tizen/20170224.015708
MyungJoo Ham [Tue, 1 Nov 2016 12:05:31 +0000 (21:05 +0900)]
[4.0] Remove Profile Build Dependencies

1. This is for Tizen 4.0

2. When this commit is being SR-ed, the maintainer needs to create
a JIRA-TRE issue of:

  Add deviced-profile_common for common profile
  Add deviced-profile_mobile for mobile profile
  Add deviced-profile_tv for tv profile
  Add deviced-profile_wearable for wearable profile
  Add deviced-profile_ivi for ivi profile

3. You need https://review.tizen.org/gerrit/#/c/94829/ before
merging this; there could be merge-conflict.

  If there is merge-conflict, I'll rebase after 94829 is
merged. Without 94829, there will be a build error for x86/ivi & common.

Change-Id: I47c76bd70a87a70f86d9975f2d706e61372c6d80
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoblock: Check uevent is already handled 01/115901/2
pr.jung [Wed, 22 Feb 2017 02:45:39 +0000 (11:45 +0900)]
block: Check uevent is already handled

- Check uevent is already handled on block_init_from_udev_enumerate
- Create external directory when sdcard is mounted (not USB storage)

Change-Id: I49f6b4297843f08accf040b9dedb70538572973a
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Check uevent is already handled on block_init_from_udev_enumerate 57/115357/2 accepted/tizen/3.0/common/20170223.121150 accepted/tizen/3.0/ivi/20170223.040402 accepted/tizen/3.0/mobile/20170223.040306 accepted/tizen/3.0/tv/20170223.040337 accepted/tizen/3.0/wearable/20170223.040354 submit/tizen_3.0/20170221.035828
pr.jung [Fri, 17 Feb 2017 11:57:12 +0000 (20:57 +0900)]
block: Check uevent is already handled on block_init_from_udev_enumerate

Change-Id: I1cec40da92f0a6cebcf97833fb1ac7ee920f46d0
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Change mount state when mount operation is failed 35/115035/3
pr.jung [Thu, 16 Feb 2017 06:36:43 +0000 (15:36 +0900)]
block: Change mount state when mount operation is failed

Change-Id: I0adc236a27538d450f4bc95ec254e1201699796e
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agopower: fix the privilege of the reboot operation 53/111653/2
taeyoung [Mon, 23 Jan 2017 08:39:13 +0000 (17:39 +0900)]
power: fix the privilege of the reboot operation

Previously, the privilege of the reboot operation was
"http://tizen.org/privilege/power" since the method
is registered on the "org.tizen.system.deviced.power" interface.
But the device_power_reboot() document of capi-system-device
noticed that the operation requires "http://tizen.org/privilege/reboot"
privilege.

Now, the privilege of the reboot operation is changed
to "http://tizen.org/privilege/reboot" according to
the device_power_reboot(). For the change, the dbus method
interface is changed to "org.tizen.system.deviced.reboot".

Change-Id: I928fc35710f8713c74b84d0aa434fc60e084fc2c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: turn off the power when power key is released on TV profile 35/112635/3
taeyoung [Thu, 2 Feb 2017 04:33:28 +0000 (13:33 +0900)]
display: turn off the power when power key is released on TV profile

If LCD always on option is turned off,
 - the display is turned off when power key is pressed.
 - power off sequence is operated when power key is longpressed.

If LCD always on option is turned on,
 - power off sequence is operated when power key is pressed or longpressed.

Change-Id: I917a2f99bc39cae32d6e9e13a838f37d06eb9159
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoRevert "display: apply powerkey longpress concept for TV profile" 02/112602/2
taeyoung [Thu, 2 Feb 2017 02:30:30 +0000 (11:30 +0900)]
Revert "display: apply powerkey longpress concept for TV profile"

This reverts commit 7380e3edcdf564bbb721668999d0c25e17c6554c.

Change-Id: I436dd6a8b400457fdf1113a0320dd9daa3c503a7
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: fix memory leak issues 98/114498/2
taeyoung [Mon, 13 Feb 2017 12:35:01 +0000 (21:35 +0900)]
common: fix memory leak issues

Change-Id: I956e59695285e2ef9285008360c4393677dd54be
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agotzip: enable kernel cache 04/113904/1
Semun Lee [Thu, 9 Feb 2017 08:22:24 +0000 (17:22 +0900)]
tzip: enable kernel cache

Kernel supports page cache for fuse filesystems.
By enabling cache options, read performance of tzip
would be improved.

Change-Id: Ifc0ed458094838f6ebd226838e4dc6496f6eeac9
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
7 years agoblock: Check block device is already removed before deviced tries to remove block... 01/113401/4 accepted/tizen/3.0/common/20170209.113029 accepted/tizen/3.0/ivi/20170209.033446 accepted/tizen/3.0/mobile/20170209.033330 accepted/tizen/3.0/tv/20170209.033408 accepted/tizen/3.0/wearable/20170209.033430 submit/tizen_3.0/20170209.013140
pr.jung [Tue, 7 Feb 2017 09:49:56 +0000 (18:49 +0900)]
block: Check block device is already removed before deviced tries to remove block device

- Prevent to remove already removed block device

Change-Id: I32b9977fe8fcbcb4baed8c5d0d6d306acf24806c
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Create external appdata directory after sdcard is mounted 35/111935/1 tizen_3.0_tv accepted/tizen/3.0/common/20170126.092414 accepted/tizen/3.0/ivi/20170126.060421 accepted/tizen/3.0/mobile/20170126.060334 accepted/tizen/3.0/tv/20170126.060354 accepted/tizen/3.0/wearable/20170126.060404 submit/tizen_3.0/20170125.062656
pr.jung [Wed, 25 Jan 2017 04:46:15 +0000 (13:46 +0900)]
block: Create external appdata directory after sdcard is mounted

Change-Id: Idad207bfd5248e12a964c4bbc0f7b36bcc01253e
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Support compatibility with tizen 2.4 34/111934/1
pr.jung [Tue, 24 Jan 2017 05:00:16 +0000 (14:00 +0900)]
block: Support compatibility with tizen 2.4

- Need to migrate app external images which is created on tizen 2.4
- Call app2ext_migrate_legacy_all()

Change-Id: I719856571d8c227ea02a6feb6ba535dea4251c5d
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Check udev enumeration is done already 67/111767/3
pr.jung [Tue, 24 Jan 2017 02:05:25 +0000 (11:05 +0900)]
block: Check udev enumeration is done already

Change-Id: I0a71a53af3290a837ad6f0f2c0881f2cddd905bc
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agodisplay: apply powerkey longpress concept for TV profile 15/111615/1 accepted/tizen/common/20170123.182247 accepted/tizen/ivi/20170123.114400 accepted/tizen/mobile/20170123.114310 accepted/tizen/tv/20170123.114323 accepted/tizen/wearable/20170123.114340 submit/tizen/20170123.060840
taeyoung [Mon, 23 Jan 2017 05:56:42 +0000 (14:56 +0900)]
display: apply powerkey longpress concept for TV profile

Power key popup is launched if power key is longpressed.
The concept is applied not only Mobile and Wearable profile
but also TV profile. Thus longpress timeout is added.

Change-Id: Ifd23fb03b1cebe7123f86fe76e2d015ff5859b45
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge "usb: enable debug mode" into tizen
taeyoung [Fri, 20 Jan 2017 07:06:32 +0000 (23:06 -0800)]
Merge "usb: enable debug mode" into tizen

7 years agoMerge "low power: add low power mode" into tizen
taeyoung [Fri, 20 Jan 2017 04:53:48 +0000 (20:53 -0800)]
Merge "low power: add low power mode" into tizen

7 years agodisplay: set vconf key only if the value is changed 64/108964/2
taeyoung [Fri, 6 Jan 2017 09:36:02 +0000 (18:36 +0900)]
display: set vconf key only if the value is changed

Previously, the vconf key could be set with same value.
Thus the display state callback of the capi-system-device
could be called several times with same state.

Now, the vconf key is updated only if the value is changed.
Thus the callback of the api will be called once
for a certain display state.

Change-Id: I35a89dc6a882b58fb86c21a2b8a8b570231db97c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agobattery : fix a bug in active and event noti 48/111148/3 accepted/tizen/3.0/common/20170120.102425 accepted/tizen/3.0/ivi/20170120.073322 accepted/tizen/3.0/mobile/20170120.073236 accepted/tizen/3.0/tv/20170120.073250 accepted/tizen/3.0/wearable/20170120.073304 submit/tizen_3.0/20170120.023435
lokilee73 [Thu, 19 Jan 2017 15:03:34 +0000 (00:03 +0900)]
battery : fix a bug in active and event noti

current battery value should be shown in active noti.
but, it was applied to event noti.

Change-Id: Iafb62c6a309870a23599a6b7d87d0c4766860f91
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agodisplay: enable key input handlers for TV profile 51/110951/1 accepted/tizen/common/20170120.124932 accepted/tizen/ivi/20170120.081146 accepted/tizen/mobile/20170120.081057 accepted/tizen/tv/20170120.081115 accepted/tizen/wearable/20170120.081133 submit/tizen/20170120.010059
taeyoung [Thu, 19 Jan 2017 01:59:09 +0000 (10:59 +0900)]
display: enable key input handlers for TV profile

The Key input includes power key to turn off the device.

Change-Id: I64052e20ef1f02f0042d543e13c3280ff6e12338
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: exchage readdir_r to readdir 93/110693/2
taeyoung [Tue, 17 Jan 2017 11:46:39 +0000 (20:46 +0900)]
common: exchage readdir_r to readdir

readdir_r is deprecated. Thus it is exchanged to readdir.

https://lwn.net/Articles/696474/

Change-Id: If4751b742aa903688d8f0e52f54771ad66ecd697
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agobattery : add PROFILE_MOBILE to distinguish low battery noti between mobile and wearable 50/110350/2 accepted/tizen/3.0/common/20170117.075710 accepted/tizen/3.0/ivi/20170117.005554 accepted/tizen/3.0/mobile/20170117.005507 accepted/tizen/3.0/tv/20170117.005521 accepted/tizen/3.0/wearable/20170117.005537 submit/tizen_3.0/20170116.085702 submit/tizen_3.0/20170116.085712
lokilee73 [Mon, 16 Jan 2017 04:52:53 +0000 (13:52 +0900)]
battery : add PROFILE_MOBILE to distinguish low battery noti between mobile and wearable

active and event noti are sent for mobile and only active noti is sent for wearable.

Change-Id: Ia2ea7fcbba91de4603e1f4db542366284feb3722
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agousb: enable debug mode 60/110360/1
taeyoung [Mon, 16 Jan 2017 04:26:44 +0000 (13:26 +0900)]
usb: enable debug mode

Debug mode is enabled/disabled by vconf key.

Previously, the vconf key handler did not exist,
and thus debug mode option on the setting app
could not work.

Now, the vconf key handler is added, and thus
sdb can be enabled/disabled according to the
setting app menu(vconf key).

Change-Id: I9a4e28614eb5f0729286182c5315be8b15fe9194
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agobattery : change low battery default notification from event to active 16/110316/2
lokilee73 [Sun, 15 Jan 2017 07:16:46 +0000 (16:16 +0900)]
battery : change low battery default notification from event to active

Change-Id: I143968efa79f38798a0d1df6de9975c2bdb79216
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoblock: Modify mkdir mode option 06/110106/1
pr.jung [Fri, 13 Jan 2017 02:41:47 +0000 (11:41 +0900)]
block: Modify mkdir mode option

- 644 -> 0755

Change-Id: I90b1b910dfc56c8711730fe307cc18fd2ec51165
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agonotification : change add_notification to send a few parameters 97/109897/1 accepted/tizen/3.0/common/20170113.072401 accepted/tizen/3.0/ivi/20170113.001247 accepted/tizen/3.0/mobile/20170113.001204 accepted/tizen/3.0/tv/20170113.001217 accepted/tizen/3.0/wearable/20170113.001232 submit/tizen_3.0/20170112.092741
lokilee73 [Thu, 12 Jan 2017 07:05:06 +0000 (16:05 +0900)]
notification : change add_notification to send a few parameters

when notification is sent, we sometimes need to send a few parameters. for example, int, char, string and so on.
So, add_notification is modified to consider those cases.

Change-Id: Ie191e29bddcb39e0eada395a8c6542a53aae1468
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agothermal: add legacy signal for thermal state 48/109848/1
taeyoung [Thu, 12 Jan 2017 04:19:17 +0000 (13:19 +0900)]
thermal: add legacy signal for thermal state

Tizen 2.4 broadcasted a dbus signal for other apps
to know the thermal state. Thus the signal needs
to be applied to Tizen 3.0.

The signal is just for legacy uses, and tizen 3.0
needs to add new signal for new thermal module.

Change-Id: Ib1b947aabb30c434930ff88f45d41b6601183707
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: Remove useless code 01/109101/1
pr.jung [Mon, 9 Jan 2017 01:48:30 +0000 (10:48 +0900)]
block: Remove useless code

Change-Id: I0916ac0cc4450525ab7188da09dcf1e43ceb2288
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Remove useless code 60/108960/1
pr.jung [Fri, 6 Jan 2017 09:17:25 +0000 (18:17 +0900)]
block: Remove useless code

Change-Id: I80a2986f7ff19f8d33e78bef16080148d6d2e9a7
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agolow power: add low power mode 18/108518/1
taeyoung [Wed, 16 Nov 2016 05:01:38 +0000 (14:01 +0900)]
low power: add low power mode

low power mode needs to control alarm and network wakeup periods.
Currently, alarm wakeup period is adjusted by setting vconf key.

Change-Id: Ib5d176d0a5981ead27340947e9f70fdd83da373a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agokey-fileter: turn off by power key when display on 07/107807/1
Jeong Donghwan [Fri, 30 Dec 2016 04:27:41 +0000 (13:27 +0900)]
key-fileter: turn off by power key when display on

It need necessary check power key logic. The device should be
turn off by power key when display state was on.

Change-Id: I2ac36e752394404e3b069084b21015883b1e3772
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 05/107605/1 accepted/tizen/common/20161229.140126 accepted/tizen/ivi/20161229.233158 accepted/tizen/mobile/20161229.233051 accepted/tizen/tv/20161229.233119 accepted/tizen/wearable/20161229.233139 submit/tizen/20161229.040631
taeyoung [Thu, 29 Dec 2016 01:24:06 +0000 (10:24 +0900)]
Merge branch 'tizen_3.0' into tizen

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

7 years agoblock: Not support extended partition 59/107459/1
pr.jung [Wed, 28 Dec 2016 06:45:32 +0000 (15:45 +0900)]
block: Not support extended partition

Change-Id: I409ad0bffc7595f0c37a429db9a7c1b9c8ac5668
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: Remove mount_point when mount operation is failed 58/107458/1
pr.jung [Wed, 28 Dec 2016 06:44:29 +0000 (15:44 +0900)]
block: Remove mount_point when mount operation is failed

- ex. ntfs filesystem
- Modify /run/external-storage/id file.

Change-Id: I0e49f0fad81b91d142333734d9470cfbd7405ad2
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agodisplay: remove dpms get operation during dpms setting 57/107257/2 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.141623 accepted/tizen/3.0.m2/tv/20170104.142102 accepted/tizen/3.0.m2/wearable/20170104.142353 accepted/tizen/3.0/common/20161228.071713 accepted/tizen/3.0/ivi/20161228.022400 accepted/tizen/3.0/mobile/20161228.022309 accepted/tizen/3.0/tv/20161228.022324 accepted/tizen/3.0/wearable/20161228.022340 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161227.120351
taeyoung [Tue, 27 Dec 2016 08:45:38 +0000 (17:45 +0900)]
display: remove dpms get operation during dpms setting

dpms setting is async function. So, dpms get function
will return failure if is is called just after dpms setting.
Thus dpms get function is removed from the dpms setting operation.

Change-Id: I6930bcb1397c703c723b439fc75ed1e370b5626e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: apply display HAL for dpms related operations 40/106040/2
taeyoung [Tue, 20 Dec 2016 07:09:38 +0000 (16:09 +0900)]
display: apply display HAL for dpms related operations

Default dpms operations of wayland are handled by dbus methods.
But dbus methods take too much time, and thus they need to be
moved to HAL for product customizing.

Change-Id: Ifa813151b76b70b4c2a68490a2187ef978ff1b43
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agobattery: add feature for batterh temperature 47/107047/1 accepted/tizen/3.0/common/20161227.102103 accepted/tizen/3.0/ivi/20161227.010645 accepted/tizen/3.0/mobile/20161227.010548 accepted/tizen/3.0/tv/20161227.010605 accepted/tizen/3.0/wearable/20161227.010620 submit/tizen_3.0/20161226.083127
taeyoung [Mon, 26 Dec 2016 08:18:35 +0000 (17:18 +0900)]
battery: add feature for batterh temperature

The feature enables battery high/low temperature scenarios.

Change-Id: I6c69f802e3e9573564e6436f2a815ed59c9ea753
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge "display: remove unused variables" into tizen_3.0
taeyoung [Mon, 26 Dec 2016 06:52:56 +0000 (22:52 -0800)]
Merge "display: remove unused variables" into tizen_3.0

7 years agoMerge "battery: remove battery error popups if health is good" into tizen_3.0
taeyoung [Mon, 26 Dec 2016 06:52:49 +0000 (22:52 -0800)]
Merge "battery: remove battery error popups if health is good" into tizen_3.0

7 years agoMerge "prevent multiple lowbat or critical popup" into tizen_3.0
lokilee73 [Mon, 26 Dec 2016 06:49:56 +0000 (22:49 -0800)]
Merge "prevent multiple lowbat or critical popup" into tizen_3.0

7 years agoprevent multiple lowbat or critical popup 03/107003/4 submit/tizen_3.0/20161226.065129
lokilee73 [Mon, 26 Dec 2016 06:26:44 +0000 (15:26 +0900)]
prevent multiple lowbat or critical popup

Change-Id: I1ecd41d2f68e640d4ac283bdafac114d81acacf6
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agodisplay: remove unused variables 09/107009/2
taeyoung [Mon, 26 Dec 2016 06:31:45 +0000 (15:31 +0900)]
display: remove unused variables

They occurs build warnings

Change-Id: If689b7d5caaac39e200da79431fbb52648a20c6d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agobattery: remove battery error popups if health is good 04/107004/2
taeyoung [Mon, 26 Dec 2016 06:27:54 +0000 (15:27 +0900)]
battery: remove battery error popups if health is good

Change-Id: I0d6cf4ccd95fea6430c2d3dce2fcc3e6e7c27639
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: remove idle lock check routine 88/106988/2
taeyoung [Mon, 26 Dec 2016 05:15:05 +0000 (14:15 +0900)]
display: remove idle lock check routine

Idle Lock check routine is not necessary
during checking pm lock. Even if Idle lock
is on, pm state cannot be changed when
pm is locked.

Change-Id: If76ec51ba4f704ab81f6056375b4a006715b4fbb
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: change the parameter of device_notify to the address 69/106969/2
taeyoung [Mon, 26 Dec 2016 03:59:44 +0000 (12:59 +0900)]
power: change the parameter of device_notify to the address

The paramter of the device_notify is (void *). Thus
There can be a problem related witht the type if integer
value is delivered by casting to (void *).

Change-Id: I615249b97a7c08bd0f3e57456a23cb80c0ee8d9b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: remove unused variable 49/106949/1
taeyoung [Mon, 26 Dec 2016 01:51:59 +0000 (10:51 +0900)]
power: remove unused variable

the variable occurs the build warning

Change-Id: I868a39bc8ef93e6a5aeda6d28d89f32fb11e296f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: fix reboot param control logic 19/106619/3
Giyeol Ok [Thu, 22 Dec 2016 07:59:36 +0000 (16:59 +0900)]
power: fix reboot param control logic

param of reboot have several kinds variable factor
so we need change of reboot param control logic

Change-Id: I181f4d245e5eb6d4a43265d202539bf86316e03b
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
7 years agocommon: remove macro for emulator 78/106678/2 accepted/tizen/3.0/common/20161227.101328 accepted/tizen/3.0/ivi/20161226.025029 accepted/tizen/3.0/mobile/20161226.024936 accepted/tizen/3.0/tv/20161226.024951 accepted/tizen/3.0/wearable/20161226.025006 submit/tizen_3.0/20161222.072356
taeyoung [Thu, 22 Dec 2016 10:53:50 +0000 (19:53 +0900)]
common: remove macro for emulator

emulator macro is changed to is_emulator()

Change-Id: I1a225a22c4dd713233fb83f981402b2e8129b7cf
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: add 'const' for tzplatform_getenv() 98/106598/1
taeyoung [Thu, 22 Dec 2016 07:09:14 +0000 (16:09 +0900)]
block: add 'const' for tzplatform_getenv()

Change-Id: Ie6b49a7122ea73b0c34a951f727a2ecbbc433aa6
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: specfile has unused subpackage 87/106487/2 accepted/tizen/3.0/common/20161222.181654 accepted/tizen/3.0/ivi/20161222.093505 accepted/tizen/3.0/mobile/20161222.093417 accepted/tizen/3.0/tv/20161222.093429 accepted/tizen/3.0/wearable/20161222.093451 submit/tizen_3.0/20161222.053422
taeyoung [Thu, 22 Dec 2016 01:41:35 +0000 (10:41 +0900)]
common: specfile has unused subpackage

%package deviced in deviced.spec means
"deviced-deviced", which does not have %files entry,
which in turn, makes "deviced-deviced" not be created.
Because it is useless, it is removed
before further spec file modification.

Change-Id: I86ef4266776332f6bb65752487290d8405300842
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocpu: add cpu boosting operation. 75/105275/4
taeyoung [Fri, 16 Dec 2016 06:58:58 +0000 (15:58 +0900)]
cpu: add cpu boosting operation.

Currently the code is experimental. deviced requests
to TRM to boost cpu.

Change-Id: I8b7cf84ffda9ad57d3adacb350a5ec23999e3a49
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agohaptic: Modify haptic emulator to return unique handle value 13/106313/1 submit/tizen_3.0/20161222.035026
pr.jung [Wed, 21 Dec 2016 09:06:46 +0000 (18:06 +0900)]
haptic: Modify haptic emulator to return unique handle value

- Originally, emulator handle value is all same

Change-Id: Ib82124f50f2b5f836d2a778f819a0aba100984ea
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agopower: start shutdown animation earlier 44/101544/4 accepted/tizen/3.0/common/20161221.182236 accepted/tizen/3.0/ivi/20161221.105805 accepted/tizen/3.0/mobile/20161221.105713 accepted/tizen/3.0/tv/20161221.105728 accepted/tizen/3.0/wearable/20161221.105750 submit/tizen_3.0/20161221.074901
taeyoung [Thu, 1 Dec 2016 11:02:17 +0000 (20:02 +0900)]
power: start shutdown animation earlier

- If cgroup is unmounted, apps cannot be launched.
  Thus shutdown animation needs to be launched
  before cgroup is unmounted.

Change-Id: I3b7ab800010f824440313dccd6fe8dc36b1122c7
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: block inputs and requests by dbus methods during power off 93/105193/2
taeyoung [Fri, 16 Dec 2016 02:40:08 +0000 (11:40 +0900)]
display: block inputs and requests by dbus methods during power off

During power off, Users could handle the device or apps could
request to deviced to turn on/off display. Thus all inputs and
requests need to be blocked during power off.

Change-Id: I665d8947634231b715df1935fab02f7d0a17c194
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: notice to resourced about power off situation 32/105132/3
taeyoung [Thu, 15 Dec 2016 12:58:51 +0000 (21:58 +0900)]
power: notice to resourced about power off situation

- deviced lets resourced know the power off situation.
  Then, resourced thaws freezed apps and unmount cgroup.

Change-Id: I5c025cd30087cbe3614e804e388df304214d5b3a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: add operations related with reboot options 00/105000/6
taeyoung [Thu, 15 Dec 2016 11:58:16 +0000 (20:58 +0900)]
power: add operations related with reboot options

dbus method for reboot with option is newly added.
Thud method gets the option information and checks
whether or not the option is valid. After that,
deviced calls the reboot command with the option.

Change-Id: I3bcd2c7b3507dd67644b130b02d25d88b6b28f58
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: add power.conf to support reboot options 68/104868/5
taeyoung [Wed, 14 Dec 2016 12:18:24 +0000 (21:18 +0900)]
power: add power.conf to support reboot options

The poweroff and reboot options are handled by a list.
The list is from power.conf file. Vendors can add their
own reboot options by modifying the conf file.

Change-Id: I3f7d50c0f5e4e47374170730b94b6e799749cd21
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoservice: change type to notify 39/106139/2
taeyoung [Tue, 20 Dec 2016 12:13:44 +0000 (21:13 +0900)]
service: change type to notify

system session will be finished after deviced is prepared.

Change-Id: I4c8905b1f4fea72654f13e0d9ee238ccf5ad9cc8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge "thermal : add overheat 30 seconds timer for power off" into tizen_3.0
lokilee73 [Tue, 20 Dec 2016 10:55:34 +0000 (02:55 -0800)]
Merge "thermal : add overheat 30 seconds timer for power off" into tizen_3.0

7 years agothermal : add overheat 30 seconds timer for power off 48/105748/5 accepted/tizen/3.0/ivi/20161221.011227 accepted/tizen/3.0/mobile/20161221.011702 accepted/tizen/3.0/tv/20161221.010840 accepted/tizen/3.0/wearable/20161221.011312 submit/tizen_3.0/20161220.112821
lokilee73 [Mon, 19 Dec 2016 10:40:11 +0000 (19:40 +0900)]
thermal : add overheat 30 seconds timer for power off

Change-Id: Ia37636946104b3922a0abe7dda190fae1cac71f0
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoblock: Emulator only support one partition 99/105999/3 accepted/tizen/3.0/common/20161221.181134 accepted/tizen/3.0/ivi/20161221.010633 accepted/tizen/3.0/mobile/20161221.011039 accepted/tizen/3.0/tv/20161221.010508 accepted/tizen/3.0/wearable/20161221.010651 submit/tizen_3.0/20161220.072503
pr.jung [Tue, 20 Dec 2016 07:20:18 +0000 (16:20 +0900)]
block: Emulator only support one partition

Change-Id: I6638be9b57978469dc0ab63891db0edb27914fc0
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agocommon: fix build warning and coding rule issues 72/105572/3
taeyoung [Mon, 19 Dec 2016 04:57:27 +0000 (13:57 +0900)]
common: fix build warning and coding rule issues

Change-Id: I049f9e561596898d3df8c053d2b9ed086f6a94ec
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: Modify primary partition checking routine 19/105219/5
pr.jung [Fri, 16 Dec 2016 04:25:52 +0000 (13:25 +0900)]
block: Modify primary partition checking routine

- ntfs is not supported
- When multimount is not supported, deviced mount only primary partition

Change-Id: I9393e9a84cc20c2da00a692d20afd6d97202f719
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoblock: debug improvement for application using external storage 10/105210/3
Kunhoon Baik [Fri, 16 Dec 2016 04:17:07 +0000 (13:17 +0900)]
block: debug improvement for application using external storage

print information who uses the storage unmounting

Change-Id: I364e4cf8214b43d9b7c07d5d810ac967a7895574

7 years agothermal: fix a bug in overheat algorithm 89/105389/3
lokilee73 [Fri, 16 Dec 2016 10:21:39 +0000 (19:21 +0900)]
thermal: fix a bug in overheat algorithm

Change-Id: I3262672daac675445be0704b57d6de1e40c1633f
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agodisplay: lock display during booting time 86/104786/2 accepted/tizen/3.0/common/20161216.123035 accepted/tizen/3.0/ivi/20161216.014320 accepted/tizen/3.0/mobile/20161216.014211 accepted/tizen/3.0/tv/20161216.014226 accepted/tizen/3.0/wearable/20161216.014234 submit/tizen_3.0/20161215.012340
taeyoung [Wed, 14 Dec 2016 09:16:16 +0000 (18:16 +0900)]
display: lock display during booting time

If Booting time is increased, display timeout can be
expired and display can be turned off. Thus display
lock is required during booting time.

Change-Id: I34cd44092750bb90dd144194d509b47ba64da5cd
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: fix bug that booting done event handler is removed before booting done 84/104484/3
taeyoung [Tue, 13 Dec 2016 10:39:48 +0000 (19:39 +0900)]
display: fix bug that booting done event handler is removed before booting done

Previously, booting done event handler was removed when keykilter is enabled.
Thus the position to remove the handler is modified.

Change-Id: If26ca2ec191160a0b6600a0e8488b80ef8f9be44
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agothermal: remove unnecessary codes 67/104867/1
taeyoung [Wed, 14 Dec 2016 12:16:10 +0000 (21:16 +0900)]
thermal: remove unnecessary codes

Change-Id: I6724d93257d26b3fceb6f454a9fc64a19fd61a65
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: initialize the variables 66/104866/1
taeyoung [Wed, 14 Dec 2016 12:14:38 +0000 (21:14 +0900)]
display: initialize the variables

Change-Id: Ib7ce6e6903b171f0d3b1d4cfd2ee537378758451
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: do not deliver removed device information 43/104743/1
taeyoung [Wed, 14 Dec 2016 07:48:16 +0000 (16:48 +0900)]
block: do not deliver removed device information

Previously, removed flag was not checked when
a certian device info is delivered. Thus apps
got the removed device information. Now, removed
flag is checked and thus removed device information
is not delivered to app anymore.

Change-Id: I36ed129ae0f92f76e682de27b98c59f3ecdcd38d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agousb: broadcast legacy dbus signal if usb state is changed 85/104285/2
taeyoung [Tue, 13 Dec 2016 04:08:31 +0000 (13:08 +0900)]
usb: broadcast legacy dbus signal if usb state is changed

Change-Id: I6ab35faa7deace048026bfb45a1f5dc91e06f1e8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge "modify noti clear" into tizen_3.0
lokilee73 [Wed, 14 Dec 2016 07:19:21 +0000 (23:19 -0800)]
Merge "modify noti clear" into tizen_3.0