platform/core/system/deviced.git
4 years agoMove pm_old_state to display.c to remove global variable 79/238379/2
lokilee73 [Mon, 13 Jul 2020 07:02:17 +0000 (16:02 +0900)]
Move pm_old_state to display.c to remove global variable

Change-Id: Id366233f17a0ab7cee367775ce5758a8df21854d
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoMove pm_cur_state to display.c to remove global variable 68/238068/5
lokilee73 [Wed, 8 Jul 2020 06:06:42 +0000 (15:06 +0900)]
Move pm_cur_state to display.c to remove global variable

Change-Id: If9eb70c2b8fdeff1f4248983fa5d8b07bd6de86b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoChange global variable to static one 13/238013/3
lokilee73 [Tue, 7 Jul 2020 10:46:49 +0000 (19:46 +0900)]
Change global variable to static one

Change-Id: I371c2bb10dd31fd0080c6c87a62b27be9891a5fa
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoFix coverity issue 46/238046/2
Youngjae Cho [Wed, 8 Jul 2020 02:18:09 +0000 (11:18 +0900)]
Fix coverity issue

Change-Id: Ia09f20d916d8128c07aea903dca24a5afa5a562e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix coverity issue 07/238007/1
Youngjae Cho [Tue, 7 Jul 2020 09:17:32 +0000 (18:17 +0900)]
Fix coverity issue

Change-Id: Ia9a1a6aa32514a482ce64345088ad99be59e9634
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd vibration intensity control logic for bezel 01/238001/1
Youngjae Cho [Tue, 7 Jul 2020 08:16:19 +0000 (17:16 +0900)]
Add vibration intensity control logic for bezel

Change-Id: I1025c52aa25e549bd56b35d54a570fd5078813d7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit fd2915816cc1dd60ec856fea0afaa3649b5154bb)

4 years agoAdd brightness interaction 99/236799/7 accepted/tizen/unified/20200707.140919 submit/tizen/20200706.095902
Youngjae Cho [Tue, 16 Jun 2020 02:34:03 +0000 (11:34 +0900)]
Add brightness interaction

Add brightness interaction among
 - Set
 - Hold
 - HBM
 - LBM
 - LowbatteryDim
 - DimStay (Battery Abnormal Health)

The condition in display_dimstay_check() is deleted,
  if ((pm_status_flag & PWRSV_FLAG) && !(pm_status_flag & BRTCH_FLAG))
   return true;
as all the brightness controlled by HBM/LBM/Hold/Release/Set is allowed
to change even though in low battery dim situation.

Checking HBM state after LCDON is deleted, as now sensord always notify
deviced about the brightness state on receiving LCDOn signal.

Change-Id: I2fc2babde83656d0743f113b5547e6edea72768f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd auto-test for brightness 01/237901/1
Youngjae Cho [Mon, 6 Jul 2020 05:26:58 +0000 (14:26 +0900)]
Add auto-test for brightness

Usage: deviced-auto-test wearable brightness [tcname]

Change-Id: Ied1e76aa411e0d78e912ad7050de4e0077933728
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix not to defer processing lowbat on realoff 54/237854/1
Youngjae Cho [Mon, 6 Jul 2020 04:46:31 +0000 (13:46 +0900)]
Fix not to defer processing lowbat on realoff

If uevent continues to occur shorter than 1.5s on realoff state,
it defers processing lowbattery infinitely and makes poweroff sequence
unreachable. For that case, added exception to process lowbat
immediately when the battery state is realoff.

Change-Id: I90354fa261f73aa2e5b8451078576fcc070166a8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit c07e2dda8467cd2df6ccea80f3449e1a05993f31)

4 years agoChange order of checking HW/SW bezel 81/237381/1
Youngjae Cho [Tue, 30 Jun 2020 02:22:14 +0000 (11:22 +0900)]
Change order of checking HW/SW bezel

SW bezel can have both HW/SW bezel node, but HW bezel can only have
HW bezel node. So check SW bezel first, and after check HW bezel.

Change-Id: I437eabb66e64cd922636999c1d3b952fa03e096c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit 99d786411ab6361f2875a47876a478ccd04aaab3)

4 years agoAdd signal to broadcast key input values on iot profile 07/237307/1 accepted/tizen/unified/20200701.032258 submit/tizen/20200629.052809
lokilee73 [Mon, 29 Jun 2020 04:53:49 +0000 (13:53 +0900)]
Add signal to broadcast key input values on iot profile

Change-Id: I2c40a4f5d09533ad4551578edd65ffca7d3d16db
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoFix internal lock/unlock not to broadcast signal 93/237193/2
Youngjae Cho [Tue, 23 Jun 2020 03:52:27 +0000 (12:52 +0900)]
Fix internal lock/unlock not to broadcast signal

Change-Id: If45717a51fc6bca342e69dafb9c3d13aa6dc5400
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd varialbe for checking battery initialization 28/237128/2
Youngjae Cho [Tue, 23 Jun 2020 01:37:42 +0000 (10:37 +0900)]
Add varialbe for checking battery initialization

Change-Id: Ib3e325abdb0da182a86d07c56796db2366f2722e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRescale temperature value when there is no HAL 25/237225/4 accepted/tizen/unified/20200626.133353 submit/tizen/20200626.071257
lokilee73 [Fri, 26 Jun 2020 05:39:23 +0000 (14:39 +0900)]
Rescale temperature value when there is no HAL

Currently, temperature is updated with 3 digits.
So, it has to be rescaled to proper Celsius value.
ex) 280 -> 28

There are 2 ways to get temperature.
1. From HAL
   - uevent_delivered : get it via uevent
   - battery_get_current : read it directly from node
     ex) /sys/class/power_supply/battery/status, health, present...
2. No HAL
   - uevent_power_handler : get it via uevent
   - load_uevent : read it directly from uevent node
     ex) /sys/class/power_supply/battery/uevent

Change-Id: I07e123a5bfd0f66900037eac466d07a9e8e90922
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agopackaging: Fix removal of systemd-shutdown alternative 55/237055/1
Karol Lewandowski [Wed, 24 Jun 2020 11:48:48 +0000 (13:48 +0200)]
packaging: Fix removal of systemd-shutdown alternative

Change-Id: Id10034c710c3ae2b950dd173868572f7ae895a52

4 years agoChange systemd-shutdown installation directory 53/237053/1
INSUN PYO [Wed, 24 Jun 2020 11:24:40 +0000 (20:24 +0900)]
Change systemd-shutdown installation directory

On 64bit machine, "%{_libdir}" is /usr/lib64.
systemd uses fixed /usr/lib/systemd/systemd-shutdown

Change-Id: I2d196f61b47c9db992152d45bf7a14becc427f06

4 years agoFix to use usual dlog for initializing bezel 83/236783/1
Youngjae Cho [Mon, 22 Jun 2020 05:26:28 +0000 (14:26 +0900)]
Fix to use usual dlog for initializing bezel

Replace critical_log to _I, _E

Change-Id: I55602d6c91489e2f57e771220ad175ef70b31edd
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit a93e912d1f58d0830dca60b6da21df60ce3e731c)

4 years agoFix how to determine HW/SW bezel 77/236777/1
Youngjae Cho [Mon, 22 Jun 2020 02:12:32 +0000 (11:12 +0900)]
Fix how to determine HW/SW bezel

HW/SW bezel cannot be distinguished each other by checking existance
of get_state/get_sw_state function, as those are defined for all target.
Fixed it to call the function and check the return value.

Change-Id: I1a296c9682e5dcf3e0393f804f532283406a7007
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit dedebfceef94e0cac2ffe9998c4744e78bde9176)

4 years agoChange battery units in auto test 05/236205/12
lokilee73 [Mon, 15 Jun 2020 12:17:32 +0000 (21:17 +0900)]
Change battery units in auto test

1. Add power_source, voltage, current and temperature
   in battery power_supply_type
   ex) power_source, voltage, current and temperature are
       updated by uevent. BUt they are not tested.
2. Add compare_power_supply to check set and get values.
   ex) pass and fail is only decided by returned value
       Add compare_power_supply to improve it.
3. Add vconf test
   ex) Add vconf test function to check it
4. Send battery parameters to battery_changed
   ex) Currently, battery parameters set by auto test are
       not delievered to battery_changed.
       So, battery related parameters and vconf values are
       not updated properly

Change-Id: I90a98cccfc6f0421bf5762ef6b766876cf6b1e56
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoFix indentation 17/236517/2
INSUN PYO [Wed, 17 Jun 2020 23:57:21 +0000 (08:57 +0900)]
Fix indentation

Change-Id: I747371c7fca1f3ad0d0df37160180af68f9fd3ff

4 years agoChange to print led logs when pid is different 26/236526/1
lokilee73 [Thu, 18 Jun 2020 01:31:20 +0000 (10:31 +0900)]
Change to print led logs when pid is different

Change-Id: I832fbd8da3e9d5602f8444e90f97fb289bd928fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoMerge "Add voltage_now and voltage_average in battery_changed" into tizen accepted/tizen/unified/20200616.171038 submit/tizen/20200612.064035
Hyotaek Shim [Fri, 12 Jun 2020 01:12:37 +0000 (01:12 +0000)]
Merge "Add voltage_now and voltage_average in battery_changed" into tizen

4 years agoApply http://tizen.org/privilege/internal/default/platform to PmQos 73/235973/2
Hyotaek Shim [Thu, 11 Jun 2020 11:23:27 +0000 (20:23 +0900)]
Apply tizen.org/privilege/internal/default/platform to PmQos

Change-Id: I6a166c5817491f4e7598078346ac92590470b2aa
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoAdd voltage_now and voltage_average in battery_changed 50/235950/1
lokilee73 [Thu, 11 Jun 2020 08:43:30 +0000 (17:43 +0900)]
Add voltage_now and voltage_average in battery_changed

voltage_now and voltage_average are updated via battery_changed.
So add them in it.

Change-Id: Iaa4a6d483dbbb6bdca1b3f5c3b7362cfca533f91
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoChange code to control multi led 49/235849/5 accepted/tizen/unified/20200612.144957 submit/tizen/20200611.052854 submit/tizen/20200611.055134
lokilee73 [Wed, 10 Jun 2020 08:25:18 +0000 (17:25 +0900)]
Change code to control multi led

Change-Id: If6ff3cfa37c3c15369e09640a86bb1a8736e41db
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoAdd BixbyWakeup to pmqos 11/235711/1
Hyotaek Shim [Tue, 9 Jun 2020 05:54:36 +0000 (14:54 +0900)]
Add BixbyWakeup to pmqos

Change-Id: Ib80d1338b6a9bc98678d8bd16af05b4d6507e0a7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoAdd PATH=/bin:/usr/bin:/sbin:/usr/sbin to rndis.sh 97/235697/1 accepted/tizen/unified/20200609.153453 submit/tizen/20200609.042709
Hyotaek Shim [Tue, 9 Jun 2020 04:23:55 +0000 (13:23 +0900)]
Add PATH=/bin:/usr/bin:/sbin:/usr/sbin to rndis.sh

Change-Id: I50c9078262d1caf30d8ceef16b03da9990e98719
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoRevert "tzip: enable kernel cache" 44/235344/3 accepted/tizen/unified/20200609.153539 submit/tizen/20200608.114627
Sangyoon Jang [Thu, 4 Jun 2020 04:18:41 +0000 (13:18 +0900)]
Revert "tzip: enable kernel cache"

This reverts commit 943f83448abdbd96607ffce72587663ca75bebfb.

These cache option cause a problem in some cases such as mount
install. The older version of zip file is mounted even if the newer version
is installed.

Change-Id: Ia5f6e1fb94d738400b3d28662db25ea84cd3d596

4 years agoFilter pid -1 by dbus_connection_get_sender_pid() 38/235038/8
Youngjae Cho [Tue, 2 Jun 2020 02:01:07 +0000 (11:01 +0900)]
Filter pid -1 by dbus_connection_get_sender_pid()

When dbus_connection_get_sender_pid() returns -1 as pid, regards it
as the sender has been dead.

Change-Id: Iecaa3f946b9da6533583fe2f4bfc4f2af4842931
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd battery plugin for wearable and mobile 50/235150/10
lokilee73 [Tue, 2 Jun 2020 05:35:10 +0000 (14:35 +0900)]
Add battery plugin for wearable and mobile

Wearable plugin
 - check_power_supply_noti
 - update_ovp
 - display_changed: relaunch health popup on LCDON

Mobile plugin
 - check_power_supply_noti
 - update_ovp
 - display_changed
 - added dbus signal handler: abnormal_popup_dbus_signal_handler

Change-Id: I86a08e0f8d61e997fa0fc424e32d6d8c1de5cf96
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix svace warning 97/235397/1
lokilee73 [Thu, 4 Jun 2020 07:29:34 +0000 (16:29 +0900)]
Fix svace warning

Change-Id: I8b55e5fe02d4f03c9df0f81f87dc3ca4a0d20e7c
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
(cherry picked from commit 87865b414580b2b274e05e32f37c5bedd5b0d17e)

4 years agoFix lcd_on_direct() not to update old state 51/235251/5
Youngjae Cho [Wed, 3 Jun 2020 04:59:58 +0000 (13:59 +0900)]
Fix lcd_on_direct() not to update old state

As updating old state within lcd_on_direct() causes several problems,
this patch reverts the parts related to state update of lcd_on_direct()
from the following patches.
 - 613ecd25da136c6cf210e00a15a21783f7ecdf5b
 - 32a6e47d137a00c2a8b037b23ef4387f2ebecb23
 - 6e04a05360c0a77a1e4d0275d967acb89719d3e1

In general, lcd_on_direct() is followed by
default_proc_change_state_action(), and the subroutine is like below.
 - lcd_on_direct() : update old state
   -> ... (do something)
   -> default_proc_change_state_action() : update old state once more
   -> default_action()
So for the default_action(), if it is called through lcd_on_direct(),
pm_old_state and pm_cur_state is always same because old state is
updated twice. This makes below code in default_action() unreachable.

 device_notify(DEVICE_NOTIFIER_LCD, (void *)&pm_cur_state);

As a result, lcd_on_direct() should not update the pm_old_state.

Change-Id: Iefe46720100c9adc858f86ba54b06361946e3b88
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd udev related code in auto test for battery tests 70/235370/1
lokilee73 [Wed, 3 Jun 2020 04:50:45 +0000 (13:50 +0900)]
Add udev related code in auto test for battery tests

udev events should not be delivered for battery tests.
So, add udev related code to start and stop it.
In addition, add battery full and temperature test functions.

Change-Id: I3624b2c8238b08b36a89eacc9c6674458ffab452
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
(cherry picked from commit fa309a75edd44811da1bc1cbc9ec4f2a6daa1680)

4 years agoFix linking error detected by ASAN 25/233925/2
lokilee73 [Wed, 20 May 2020 09:36:49 +0000 (18:36 +0900)]
Fix linking error detected by ASAN

global variable battery_plgn is multiply defined in plugin.c and power-supply.c

error log:
[  283s] /usr/lib/gcc/armv7l-tizen-linux-gnueabi/9.2.0/../../../../armv7l-tizen-linux-gnueabi/bin/ld:
../../../src/shared/libshared.a(plugin.c.o):(.bss+0x40): multiple definition of `battery_plgn';
CMakeFiles/mobile-battery.dir/__/__/__/src/battery/power-supply.c.o:(.bss+0x5a0): first defined here
[  283s] /usr/lib/gcc/armv7l-tizen-linux-gnueabi/9.2.0/../../../../armv7l-tizen-linux-gnueabi/bin/ld:
../../../src/shared/libshared.a(plugin.c.o):(.bss+0xc1): multiple definition of `__odr_asan.battery_plgn';
CMakeFiles/mobile-battery.dir/__/__/__/src/battery/power-supply.c.o:(.bss+0x7a0): first defined here

Change-Id: I76d354f7a7d3532c8c5a933090fcc88a57c2e76e
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoFix not to reset timer by 7 seconds by custom_lcdon() during tutorial 17/234617/1 accepted/tizen/unified/20200529.124133 submit/tizen/20200527.060137 submit/tizen/20200528.070254 submit/tizen/20200528.103513
lokilee73 [Wed, 27 May 2020 10:46:25 +0000 (19:46 +0900)]
Fix not to reset timer by 7 seconds by custom_lcdon() during tutorial

custom_lcdon() resets normal timeout by 7 seconds.
This method is called when, for example, wrist-up or notification occurs.
But during tutorial, fixed it not to reset timeout timer by fixed 7 seconds,
but to reset the value of setting timeout.

Change-Id: I9b3dda9c057ca8e7f0d895455573db47ebed39da
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoReset timer on switch_lcd_on 15/234615/1
lokilee73 [Wed, 27 May 2020 10:42:31 +0000 (19:42 +0900)]
Reset timer on switch_lcd_on

switch_lcd_on turns on lcd and change internal state to LCD_NORMAL.
But it doesn't reset timer.
It will be done in subroutine, default_action().
But some cases, default_action() cannot be reached.
For that case, switch_lcd_on() has to reset timer once more.

Change-Id: I3709195337de05509d7b32af60f698d27022d938
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoRemove unused cpu conf related code 36/234536/2
lokilee73 [Wed, 27 May 2020 04:51:48 +0000 (13:51 +0900)]
Remove unused cpu conf related code

Change-Id: I2697f58ef58e91048281c14c7d848b6cfe1e2e20
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
(cherry picked from commit 30324e833214e2beb02b28f73c6669a77ad457c9)

4 years agoFix pmqos 10/234510/3
Youngjae Cho [Tue, 26 May 2020 11:18:06 +0000 (20:18 +0900)]
Fix pmqos

Now for each pmqos_cpu manages timer itself by name. So it is
possible that multiple timer exist and run at the same time.

On receiving new pmqos request for starting boost,
 1. If there is no timer managed by that pmqos name, starts boost and
    create a timer.
 2. If there is a running timer and the new timeout is later than the
    previous timeout, delete the existing timer and create a new one.
    At this time, the important thing is that the cpu boost is already
    started, so the cpu boost is not performed.
 3. If there is a running timer and the new timeout is earlier than the
    previous timeout, do nothing because the previous timer includes
    current request.

Change-Id: Id3956a949aee85070896ff5cb64d93484f5e3427
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit 5bec2b03d472c9e3737714e948029a0ef5a19bde)
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoDeduplicate display plugin source code: Display Lock 73/234573/1
Youngjae Cho [Mon, 18 May 2020 08:08:59 +0000 (17:08 +0900)]
Deduplicate display plugin source code: Display Lock

Change-Id: Ia0e44856f304f345543e50744dd8a459006fcd2d
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd PACKAGE_UNPACK_PATH 72/234572/1
lokilee73 [Fri, 15 May 2020 07:57:08 +0000 (16:57 +0900)]
Add PACKAGE_UNPACK_PATH

Change-Id: I479937e2e8af68af53c0e158883601e6b79f8c47
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix battery noti depending on profiles 71/234571/1
Youngjae Cho [Fri, 15 May 2020 07:46:36 +0000 (16:46 +0900)]
Fix battery noti depending on profiles

Only mobile profile sends noti
 - remove_health_popup()
 - changed_battery_cf()

Change-Id: Ib1e2a5b1979acf477a8b7f533d4ab7f98d9d6ddd
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRemove declared but not implemented functions 70/234570/1
lokilee73 [Fri, 15 May 2020 08:16:40 +0000 (17:16 +0900)]
Remove declared but not implemented functions

- deviced_mmc_control
- deviced_usb_control
- deviced_get_usb_control

Change-Id: If237e8bfa9c54265f785a3bb89820511f7928f7a
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRevert "Comment out code that doesn't work" 69/234569/1
Chang Joo Lee [Wed, 13 May 2020 08:36:17 +0000 (08:36 +0000)]
Revert "Comment out code that doesn't work"

This reverts commit 80d2fd610915beec36aa0a7ff6aad97df732c671.

Change-Id: Ib89eef05f2bab376f0e9e52f612bebbf73babf1f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoSeparate the lock of USB and USB-HOST 68/234568/1
Youngjae Cho [Wed, 13 May 2020 07:40:33 +0000 (16:40 +0900)]
Separate the lock of USB and USB-HOST

USB-HOST now uses INTERNAL_LOCK_USB_HOST.

Using the same lock, INTERNAL_LOCK_USB, by USB and USB-HOST could cause
problem. Below is an example.
 1. USB connected -> grab INTERNAL_LOCK_USB to lcdoff
 2. USB-HOST connected -> grab INTERNAL_LOCK_USB to lcdoff
 3. USB-HOST disconnected -> release INTERNAL_LOCK_USB
The step 3 is problem: USB-HOST release INTERNAL_LOCK_USB which had been
acquired by USB.

Change-Id: I1f0492e0e49effe98394a617ae5600f73ca52497
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoUse aw_register 67/234567/1
Youngjae Cho [Wed, 13 May 2020 03:32:22 +0000 (12:32 +0900)]
Use aw_register

Change-Id: Ide9dfadc39d11e9ff0bfe6ebb318e11e0ffcd654
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit c1430cc2daf19ac5908f2666f7b03a2c7843a4e9)

4 years agoUse argos watchdog 64/234564/1
Youngjae Cho [Wed, 13 May 2020 02:58:08 +0000 (11:58 +0900)]
Use argos watchdog

Change-Id: Ibee53e1557cb241fab1f97c10b2951835a661359
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoDeduplicate display plugin source code: Broadcast 63/234563/1
Youngjae Cho [Tue, 12 May 2020 05:19:16 +0000 (14:19 +0900)]
Deduplicate display plugin source code: Broadcast

Functions below are moved to display-signal.c
 - broadcast_pm_suspend
 - broadcast_pm_wakeup
 - broadcast_lcd_on
 - broadcast_lcd_off
 - broadcast_lcd_off_late
 - clock_gettime_to_long
And related enum, macros are also moved to display-signal.h

Change-Id: I6fb90b3e2577d9d209b99564dc693350be01d1c1
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoChange lcd off time from 500ms to 300ms for current issue 62/234562/1
lokilee73 [Tue, 12 May 2020 07:20:25 +0000 (16:20 +0900)]
Change lcd off time from 500ms to 300ms for current issue

Change-Id: Ided3765ac1405e1eedc72c7ef5d0ca45bae62a97
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoChange AOD transit brightness value 61/234561/1
Youngjae Cho [Fri, 8 May 2020 04:27:05 +0000 (13:27 +0900)]
Change AOD transit brightness value

If current brightness is equal to threshold, AOD brightness will be
that threshold, not the lower threshold.

Change-Id: Ic78eb7ddfc9864243f5e2ea5f8f1be9639e42c29
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFixed to emit signal immediately 60/234560/1
sanghyeok.oh [Thu, 7 May 2020 03:55:51 +0000 (12:55 +0900)]
Fixed to emit signal immediately

Change-Id: Ibc6d51ce466acd740d83b2fc91e6dc2e6d60ab99
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix board get num/serial function 59/234559/1
Youngjae Cho [Thu, 7 May 2020 03:45:04 +0000 (12:45 +0900)]
Fix board get num/serial function

Function GetNum has been swapped with GetSerial.

Change-Id: I2269f41599a74994926256e5088dcc0604d09602
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix deviced hang problem when changing usb debug menu quickly 58/234558/1
INSUN PYO [Wed, 6 May 2020 10:21:47 +0000 (19:21 +0900)]
Fix deviced hang problem when changing usb debug menu quickly

If you change the usb debug menu quickly,
a new vconf request comes in the middle of the vconf change and the state is twisted.
As a result, deviced process the vconf handler indefinitely.

If you change the usb debug menu slowly, deviced process vconfs in order, so there is no problem.

Solution: when changing the usb mode through the usb debug menu, do not change the usb debug vconf.

Change-Id: Ie274844fc306c2bf7c3b873a66c338d635d9b760
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd code to fix a bug in battery_get_info() 54/234554/1
lokilee73 [Wed, 29 Apr 2020 07:38:17 +0000 (16:38 +0900)]
Add code to fix a bug in battery_get_info()

Below values are updated to zero because of battery_get_info().
ex) temperature, voltage_now, voltage_avg, temperature, freq_strength
When battery_get_info() is called by dbus call, GetBatteryInfo,
those values are updated to zero.
Becasue those are not saved to bat.

Change-Id: I958cf5b8b284f26af1e691ea2d6c548a3d0fea08
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoudev: Fix SIGABRT when receiving EventStop dbus call 53/234553/1
sanghyeok.oh [Fri, 24 Apr 2020 06:16:54 +0000 (15:16 +0900)]
udev: Fix SIGABRT when receiving EventStop dbus call

fd from udev monitor has closed by deviced,
after that, udev_monitor_unref() tries to close it once more.

Change-Id: If18b828943961053ed2c2c463f4b66e848ba394f
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRemove ineffective function call 52/234552/1
sanghyeok.oh [Thu, 23 Apr 2020 11:44:19 +0000 (20:44 +0900)]
Remove ineffective function call

static const char *prev; maybe initialized with NULL value.
clean_lowbat_noti() at lowbat-notification.c just return with error log
if prev is NULL.

Change-Id: I6184fce01554c0cf404ba72d8879d4df6b3409a6
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix to apply transit effect only for actual AOD 50/234550/1
Youngjae Cho [Fri, 24 Apr 2020 01:21:50 +0000 (10:21 +0900)]
Fix to apply transit effect only for actual AOD

AOD screen might have been turned off by clock-viewer even though
ambient mode is enabled. (e.g. AOD screen is on while charging ->
battery state changes to full -> clock-viewer turns off AOD screen)
So apply brightness transit effect on LCDON only when AOD screen is
actually displayed.

Change-Id: Ib2e1f54c6caee3e23df23e5df1ee98a7da7e9aaa
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRevert lcd off flag setting for ambient mode 49/234549/1
Youngjae Cho [Fri, 24 Apr 2020 05:14:00 +0000 (14:14 +0900)]
Revert lcd off flag setting for ambient mode

Change-Id: I6ce0209fdaf1bd08dad0492a660fc97aca16b38a
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd charging threshold for aod brightness 48/234548/1
Youngjae Cho [Wed, 22 Apr 2020 06:43:01 +0000 (15:43 +0900)]
Add charging threshold for aod brightness

Change-Id: I53ce24e65bb67bf7bf6dc7690748bcc7c6a5bf88
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoHandle duplicate request for autobrightnesschanged 45/234545/1
Youngjae Cho [Wed, 22 Apr 2020 03:42:13 +0000 (12:42 +0900)]
Handle duplicate request for autobrightnesschanged

Change-Id: Iea05470d925c3bb4cad6be355c914714056ea33e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd missing condition 21/234421/1
Youngjae Cho [Tue, 26 May 2020 08:30:47 +0000 (17:30 +0900)]
Add missing condition

Change-Id: I13991f6a8ef4aad88f4805e2e4069e943ad7433e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd lcddim in dbus_unlockstate 97/233897/2 accepted/tizen/unified/20200520.111306 submit/tizen/20200520.075723
lokilee73 [Wed, 20 May 2020 07:09:19 +0000 (16:09 +0900)]
Add lcddim in dbus_unlockstate

lcddim has to be added for mobile profile

Change-Id: I9b9a46abf233bfb33248d02ff8e3f9d2165924e5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoComment out code that doesn't work 27/231227/3 accepted/tizen/unified/20200422.123155 submit/tizen/20200421.052338
lokilee73 [Mon, 20 Apr 2020 08:19:26 +0000 (17:19 +0900)]
Comment out code that doesn't work

battery.status_s is updated by uevent, POWER_SUPPLY_STATUS.
And it's always "Full" after target is fully charged,
Even though the target internally repeats charging and discharging.
So, to compare old_battery.status_s and battery.status_s is meaningless.

Change-Id: I5e8db11553c07be05b8dd9d0451b77c27e39745a
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoSupport silent boot (Only for mobile) 23/230923/7
Youngjae Cho [Thu, 16 Apr 2020 04:15:43 +0000 (13:15 +0900)]
Support silent boot (Only for mobile)

Silent boot mode:
 1. Prevent LCDON until booting done.
 2. Prevent touchscreen to be enabled until booting done.

Silent boot condition is provided by device api, device_get_reboot_mode().

1. prevent LCDON
  Reuse is_display_detached() to prevent lcdon in silent boot mode.
  This function is originally intended to check lcd detachment not to
  turn on lcd during it is detached.

  Rename: is_display_detached() -> is_lcdon_blocked()
  Now this function checks the additional condition - silent boot mode.

2. prevent enabling touchscreen
  Do not enable touchscreen in touchscreen_start when silent boot mode
  until booting done.

Change-Id: I2b46fd7f5d266f653e918f30f12a723c6b2acae7
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoModify auto test related code to fix below issues. 12/230212/11 accepted/tizen/unified/20200414.135750 submit/tizen/20200414.050315
lokilee73 [Wed, 8 Apr 2020 12:34:52 +0000 (21:34 +0900)]
Modify auto test related code to fix below issues.

1. Misc was not tested. So, add misc to test lists.
2. Add battery-monitor to all profile.
3. Add 's' to fix unmatched signature problem for power_supply
4. Change definition of PM_STATE_LOG_FILE to /var/log/pm_state.log.
5. Remove profile ivi from conf file. because it's not supported.
6. Change DD_LIST_FOREACH to DD_LIST_FOREACH_SAFE for safety.
7. Block not supported function, set_display_refreshrate.
8. Change test_battery_monitor_generate_many_sessions to fix corner case.

Change-Id: I356eca0042db8ef15bcd818a4ad5ceeb13edaf6e
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoMake notify BOOTING_DONE only once 36/230336/1
Youngjae Cho [Thu, 9 Apr 2020 09:42:09 +0000 (18:42 +0900)]
Make notify BOOTING_DONE only once

Change-Id: I63e2c2536cc99b9399d6ad5432cb0ce6641e78ef
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoSeparate lowbat noti into battery plugin 34/229734/9
Youngjae Cho [Fri, 3 Apr 2020 04:55:35 +0000 (13:55 +0900)]
Separate lowbat noti into battery plugin

Lowbattery notification is used only for mobile. Separate this into
mobile battery plugin.

Change-Id: Iadbcc0beb986e13289719d4e43373551278fad2e
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix memory leak 01/229901/1
INSUN PYO [Mon, 6 Apr 2020 09:59:14 +0000 (18:59 +0900)]
Fix memory leak

Change-Id: Ie6867273e859f2b8bf107d39afa62fad2cc19097

4 years agochange g_variant_get() to dh_get_param_from_var() 59/229659/11
lokilee73 [Thu, 2 Apr 2020 12:48:18 +0000 (21:48 +0900)]
change g_variant_get() to  dh_get_param_from_var()
to check data verification for below cases.

1. Returned value after dbus method sync
2. Received data via dbus signal

Change-Id: Ie6460d10567220a121fa532f3f294305dd9c0443
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoFix build warning 30/229830/1
Youngjae Cho [Mon, 6 Apr 2020 01:47:00 +0000 (10:47 +0900)]
Fix build warning

Change-Id: Ie4bc28cc357ce5cc549dcf28708e2c2aed615896
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRemove duplicaded code 16/229816/3
INSUN PYO [Sun, 5 Apr 2020 23:57:21 +0000 (08:57 +0900)]
Remove duplicaded code

Change-Id: I44e78fdbe0c033ce2972787a52392a48ba6fb91c
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoLocate right place for the DEVICE_NOTIFIER_LCD_OFF_COMPLETE 14/229714/2
Youngjae Cho [Fri, 3 Apr 2020 04:23:18 +0000 (13:23 +0900)]
Locate right place for the DEVICE_NOTIFIER_LCD_OFF_COMPLETE

Change-Id: Iac31485f0cad441902dc05424b0d4bc8e234e5bd
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix condition of battery charging noti 62/229462/5
Youngjae Cho [Wed, 1 Apr 2020 06:20:38 +0000 (15:20 +0900)]
Fix condition of battery charging noti

On battery changed, always call power_supply_noti depends on
changed charge_status. Repeated same power_supply_noti() call will
be ignored by power_supply_noti() itself. As a reusult, it works
only for the battery_status changing.

Change-Id: Ic49979cafe1f33a36f91f4831edcdcbb8f5ed839
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoIgnore lowbat_process before battery initializtion 24/229624/1 accepted/tizen/unified/20200406.133211 submit/tizen/20200402.112144
Youngjae Cho [Thu, 2 Apr 2020 09:03:28 +0000 (18:03 +0900)]
Ignore lowbat_process before battery initializtion

Change battery.capacity initialization from -1 to 0 makes lowbat_process
unable to filter uninitialized battery state.
(refer: a8338b3892e68e7ef046b76b7486cd9a329575ba)

Uninitialized state can be checked using
battery.online == POWER_SUPPLY_TYPE_UNKNOWN

Change-Id: I78a5843c1b615aeeabbe6f168c4fc036d885d720
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix build errors with new linux-glibc-devel 99/229499/2
Hyotaek Shim [Wed, 1 Apr 2020 10:30:01 +0000 (19:30 +0900)]
Fix build errors with new linux-glibc-devel

Change-Id: Iff40ebb4e8e6b1dd3c1597a74dd80adc25682305
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoUse format specifier %#x for hexadecimal value 20/229420/1
Youngjae Cho [Wed, 1 Apr 2020 04:07:03 +0000 (13:07 +0900)]
Use format specifier %#x for hexadecimal value

%#x automatically prefixes '0x' to a hexadecimal value

Change-Id: If9b8a872008dce81f3a18dd03cc250f889ea21f2
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd '0x' prefix to hexadecimal log 16/229416/2
Youngjae Cho [Wed, 1 Apr 2020 03:25:54 +0000 (12:25 +0900)]
Add '0x' prefix to hexadecimal log

Change-Id: Iff3032390ea5e9d58a693852764091084b2c627d
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoMove homescreen signal handler 92/229392/1
Youngjae Cho [Wed, 1 Apr 2020 00:52:57 +0000 (09:52 +0900)]
Move homescreen signal handler

display-dbus.c -> ambient-mode.c

Change-Id: I297a17cbe7fcdd44ea36f5051603304bdfe69eb5
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoBattery level vconf should be updated regardless of capacity 49/229349/1
Youngjae Cho [Tue, 31 Mar 2020 08:21:32 +0000 (17:21 +0900)]
Battery level vconf should be updated regardless of capacity

Change-Id: I71bdbd4423d87d7bc3277d7761c6f08f294ab477
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd shutdown scenario for lowbat during charging 42/229342/1 submit/tizen/20200331.081929
Youngjae Cho [Tue, 31 Mar 2020 07:48:22 +0000 (16:48 +0900)]
Add shutdown scenario for lowbat during charging

If the battery continues to run out even though it is being charged for
a certain period of time, turn off the device.

Change-Id: Ieebd03bf43202201d3f1e619f553ec77d3928332
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix abnormal battery popup to be started every 1 min 95/229195/9
Youngjae Cho [Mon, 30 Mar 2020 07:46:08 +0000 (16:46 +0900)]
Fix abnormal battery popup to be started every 1 min

Change-Id: Ie654d19b921d3e3dc1f4536b418046498961ee21
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoTurn on display on changing Battery state Full->Charging 34/229034/2
Youngjae Cho [Fri, 27 Mar 2020 07:16:25 +0000 (16:16 +0900)]
Turn on display on changing Battery state Full->Charging

AOD should be turned on when charging. To turn on AOD, turning on
display must be preceded.

Change-Id: I15daafd02892be97a8d2403dbf0deb83ee68a4ac
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix PMQOS dbus initialization error 10/229210/2
Youngjae Cho [Mon, 30 Mar 2020 09:18:03 +0000 (18:18 +0900)]
Fix PMQOS dbus initialization error

Move dbus_handle_add_dbus_object() from booting_done() to pmqos_init().
As booting_done is called twice, dbus_handle_add_dbus_object() is called
twice too, and it causes error.
E/DEVICED (  336): pmqos.c: booting_done(471) > Failed to init dbus method: -1

Change-Id: I5c91a5b1e8725d79f7bcec6d23b23013f8184687
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix late_booting_done timer: milisecond->second 76/229276/2
Youngjae Cho [Tue, 31 Mar 2020 02:00:54 +0000 (11:00 +0900)]
Fix late_booting_done timer: milisecond->second

Change-Id: I735148a5cf1cfdbcfc581f893dbd6ccad0996b88
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd devicectl command to set lcd on/off for internal purpose 43/229143/3
lokilee73 [Mon, 30 Mar 2020 05:06:47 +0000 (14:06 +0900)]
Add devicectl command to set lcd on/off for internal purpose

ex) devicectl display state lcdon/lcdoff

Change-Id: I6f2acfeb48c30650245dbebf53433efe2aedf5fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
4 years agoRemove lowbat scenario: critical -> warning 90/229190/2
Youngjae Cho [Mon, 30 Mar 2020 07:21:02 +0000 (16:21 +0900)]
Remove lowbat scenario: critical -> warning

When battery capacity increases from 5% to 6%, lowbat scenario launches
lowbat warning popup. This is somewhat weird as this popup occurs while
charging state. So remove this scenario.

Change-Id: I31b6b1040c8274f6b9fb907e605a6cc32e08e493
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix DUMP_MODE_WAITING_TIME 66/228866/1
Youngjae Cho [Thu, 26 Mar 2020 05:52:06 +0000 (14:52 +0900)]
Fix DUMP_MODE_WAITING_TIME

Change-Id: I3afe10aca08030bc2ca20f37d98a8e7f641d51de
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix timeout unit to match up with timer function 57/228857/1
Youngjae Cho [Thu, 26 Mar 2020 05:26:56 +0000 (14:26 +0900)]
Fix timeout unit to match up with timer function

Change-Id: I7e99c58a8c09f196b86c818729307198aef39616
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix g_timeout_add_seconds with double type timeout 27/228827/1
Youngjae Cho [Thu, 26 Mar 2020 03:30:55 +0000 (12:30 +0900)]
Fix g_timeout_add_seconds with double type timeout

Use g_timeout_add instead with milisecond scale.

Change-Id: I60630308cf2e1588d2ec7b0c78202d483f8d96b8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoAdd vconf set for charger type 11/228811/2
Youngjae Cho [Thu, 26 Mar 2020 01:21:46 +0000 (10:21 +0900)]
Add vconf set for charger type

Change-Id: I83a35de22a2e5df90b2921be6077d49033ff1ddc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoRemove unused sources 95/228395/3
INSUN PYO [Sun, 22 Mar 2020 23:30:36 +0000 (08:30 +0900)]
Remove unused sources

It has been moved to libsyscommon.

Change-Id: I8f9241b359905ae71caf935803f083f040f21a3c

4 years agoDo not apply GrayScale during UltraPowerSaving 28/228728/2
Hyotaek Shim [Wed, 25 Mar 2020 06:15:12 +0000 (15:15 +0900)]
Do not apply GrayScale during UltraPowerSaving

Change-Id: Icc2c412cfeed9c5afd7688ff10cbd790c21c4305
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoFix AutoBrightnessChanged considering interaction with AOD 22/228722/1
Youngjae Cho [Wed, 25 Mar 2020 05:23:47 +0000 (14:23 +0900)]
Fix AutoBrightnessChanged considering interaction with AOD

Change-Id: I5fb69c70dc75b28b83e438fb37f5d781089c6d2a
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix build warning 96/228596/2
INSUN PYO [Tue, 24 Mar 2020 05:42:16 +0000 (14:42 +0900)]
Fix build warning

Change-Id: I0bd73a9473bd4fd6763a8f16b24d0995707a0d7b

4 years agoAdd signal broadcast on display detach 06/228606/2
Youngjae Cho [Tue, 24 Mar 2020 06:10:52 +0000 (15:10 +0900)]
Add signal broadcast on display detach

Path        : /Org/Tizen/System/DeviceD/Display
Interface   : org.tizen.system.deviced.display
Signal name : display_detach

Change-Id: I31b38b6c389565ccd0df27d26578c28971c5d5eb
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix build warning 23/228423/2
INSUN PYO [Mon, 23 Mar 2020 04:12:13 +0000 (13:12 +0900)]
Fix build warning

Change-Id: Ib52902400185d7ea9ed6c7b2094e9c8eee441f13

4 years agoauto-test: init test for battery-monitor 32/219632/15
sanghyeok.oh [Fri, 6 Dec 2019 13:02:19 +0000 (22:02 +0900)]
auto-test: init test for battery-monitor

Change-Id: I273cfb7c15da79b82ee60cb81df83aff49c4a66c
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
4 years agoMerge "Apply dbus sync call to devicectl (Dumpmode, SaveLog)" into tizen
Hyotaek Shim [Fri, 20 Mar 2020 08:21:33 +0000 (08:21 +0000)]
Merge "Apply dbus sync call to devicectl (Dumpmode, SaveLog)" into tizen

4 years agoInitialize battery.capacity to 0 24/228224/2
Youngjae Cho [Fri, 20 Mar 2020 01:26:16 +0000 (10:26 +0900)]
Initialize battery.capacity to 0

Change-Id: If36d9691a98be9e32907602cce26ffaca77baffa
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoApply dbus sync call to devicectl (Dumpmode, SaveLog) 54/228254/2
Hyotaek Shim [Fri, 20 Mar 2020 04:04:11 +0000 (13:04 +0900)]
Apply dbus sync call to devicectl (Dumpmode, SaveLog)

Change-Id: Id13ffd344c7600068da351fb0d9b0c09303b37f8
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoChange log priority 48/228248/1
Youngjae Cho [Fri, 20 Mar 2020 03:37:04 +0000 (12:37 +0900)]
Change log priority

Change-Id: I769f74865d18961d2806426b940e2760e2bdae5a
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>