platform/core/system/deviced.git
6 years agousb-host-test: Fixed Resource leak . 48/141448/4
“JIBAN [Mon, 31 Jul 2017 11:53:34 +0000 (17:23 +0530)]
usb-host-test: Fixed Resource leak .

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] NA
[Request] NA
[Occurrence Version] NA

[Problem] file was not closed for failure case
[Cause & Measure] close the file.
[Checking Method] NA

[Team] system framework
[Developer] Jiban Prakash
[Solution company] Samsung
[Change Type] Change

Change-Id: I7b00e9f53f18944a8e9f562d6aa41bcdbc3f2e33
Signed-off-by: “JIBAN <p.jiban@samsung.com>
6 years agoremove build warning 58/148858/3
INSUN PYO [Mon, 11 Sep 2017 05:11:22 +0000 (14:11 +0900)]
remove build warning

get_extcon_init_state is called in two places in deviced.

1. When deviced is initialized
======================================================================================
get_extcon_init_state is called the begining of the boot with the call stack below.
So, the extcon_init is never called at the same time in multi-thread.

0  extcon_init
1  0x2a00b02c in devices_init (data=0x0) at /usr/src/debug/deviced-2.0.0/src/core/devices.c:102
2  0x2a00e424 in deviced_main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/deviced-2.0.0/src/core/main.c:93
3  0x2a0078f4 in main (argc=1, argv=0xbefffe64) at /usr/src/debug/deviced-2.0.0/src/core/main.c:123

2. Handler of DEVICE_NOTIFIER_EVENT_HANDLER
======================================================================================
Deviced handles event processing in the main loop.
So event handlers are thread safe.

Therefore, we can use safely readdir in deviced.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I11c33d842e720d4f0ef2d1c94e76e8ba1359bd55
(cherry picked from commit 7733448288128bfe773f6f72890b19a07eeb4225)

6 years agoCommon: Remove build warning 04/149004/1
INSUN PYO [Fri, 8 Sep 2017 05:34:46 +0000 (14:34 +0900)]
Common: Remove build warning

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I6d001bb6826c3658023d705212ea9398f8e1f145
(cherry picked from commit 3af91d78d5691b3f89b3f2ce6f2594c17877eef1)

6 years agoBattery: fix a bug that battery is full without fully charged signal 93/146693/1
lokilee73 [Wed, 30 Aug 2017 05:33:07 +0000 (14:33 +0900)]
Battery: fix a bug that battery is full without fully charged signal

When the battery is full, it should be set to BAT LEVEL FULL.

Change-Id: I64855d5c2fbf353550b9ca6efc7c083acad9e005
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoBattery : fix to make it possible to set VCONFKEY_SYSMAN_BAT_LEVEL_FULL 00/145100/1 accepted/tizen/4.0/unified/20170829.020459 accepted/tizen/unified/20170823.165903 submit/tizen/20170822.051620 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
lokilee73 [Mon, 21 Aug 2017 08:44:24 +0000 (17:44 +0900)]
Battery : fix to make it possible to set VCONFKEY_SYSMAN_BAT_LEVEL_FULL

Change-Id: I4b0f3117c8d542c1206d9096a9d7cb11064e32d2
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agousbhost : move 99-usbhost.rules file to libusb to fix mtp-initiator issue in iot... 05/139705/1 accepted/tizen/4.0/unified/20170816.012011 accepted/tizen/4.0/unified/20170816.015034 accepted/tizen/unified/20170721.024554 submit/tizen/20170720.100428 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
lokilee73 [Thu, 20 Jul 2017 07:11:15 +0000 (16:11 +0900)]
usbhost : move 99-usbhost.rules file to libusb to fix mtp-initiator issue in iot headless

There was mtp-initiator issue because deviced was not included in iot headless image.
99-usbhost.rules file was needed by mtp-initiator and it belongs to deviced.
So, move it from deviced to libusb. since libusb is necessarily included to use usb function.

Change-Id: I8705b55e078259954afd59d0ec2fc0757a8cf60d
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoTzip : add protection code to prevent segment fault during powering off 93/136693/6 accepted/tizen/unified/20170706.193707 submit/tizen/20170705.132525
lokilee73 [Mon, 3 Jul 2017 01:51:06 +0000 (10:51 +0900)]
Tzip : add protection code to prevent segment fault during powering off

Segment fault happend by fuse_handle. tzip_server_exit resets it during power off.
But it was being used by fuse_session_loop_mt at the time. So, applied below changes.
1. removed fuse_destroy and reset of fuse_handle in tzip_server_exit to do
   those actions in tzip_thread.
2. added pthread_jon to clean up used resources in tzip_thread

Change-Id: I81dfc74baf1bc8f86136ce0cf604b8915dcd62fe
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoauto-test: support sysnoti dbus test 49/136549/1
Yunmi Ha [Fri, 30 Jun 2017 07:18:03 +0000 (16:18 +0900)]
auto-test: support sysnoti dbus test

Change-Id: I3cd58ce37fc159f3a30c23c4329ab56eb0934724
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoauto-test: support ir dbus test 06/136506/5
Yunmi Ha [Fri, 30 Jun 2017 04:59:12 +0000 (13:59 +0900)]
auto-test: support ir dbus test

Change-Id: I73dd2d414cbc046cb0c8ab26a4819a46fda4ed09
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoauto-test: support extcon dbus test 06/136406/1
Yunmi Ha [Thu, 29 Jun 2017 09:45:32 +0000 (18:45 +0900)]
auto-test: support extcon dbus test

Change-Id: I33885c7a81b10367f2364f4c5f0e8fdca1464da5
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoauto-test: support proc dbus test 24/136124/1
Yunmi Ha [Wed, 28 Jun 2017 06:44:48 +0000 (15:44 +0900)]
auto-test: support proc dbus test

Change-Id: I79a4108db5353b14cec7565d7b8724c5045b9aff
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoauto-test: support lowpower dbus test 15/135915/3
Yunmi Ha [Tue, 27 Jun 2017 09:24:40 +0000 (18:24 +0900)]
auto-test: support lowpower dbus test

Change-Id: Ia6b74de6ad5507c5eefa9c70e7be09ba498712aa
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoauto-test: support reboot dbus test 27/135827/1
Yunmi Ha [Tue, 27 Jun 2017 02:09:44 +0000 (11:09 +0900)]
auto-test: support reboot dbus test

Change-Id: Ie2e12eb5d7e2188115b5f8a21c8a56561c0e275d
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agoauto-test: support led dbus test 52/135552/3
Yunmi Ha [Fri, 23 Jun 2017 05:18:36 +0000 (14:18 +0900)]
auto-test: support led dbus test

Change-Id: I6ce61c35e007ec453e192a47a1177d024b5ab749
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
7 years agousb-host-test: Add missing license information 32/135432/2
Paweł Szewczyk [Thu, 22 Jun 2017 08:49:56 +0000 (10:49 +0200)]
usb-host-test: Add missing license information

Change-Id: I652ddf5d17cc82133ed7244978ed6c5d6b405c92
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agooverheat popup : add remove_overheat_popups before powering off 70/134570/2
lokilee73 [Mon, 19 Jun 2017 08:25:37 +0000 (17:25 +0900)]
overheat popup : add remove_overheat_popups before powering off

Change-Id: I2884753104d18d9eb66b22189a82be82283a0026
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agotemperature : change interface from device-manager-plugin-xxx to pass 96/134196/7
lokilee73 [Thu, 15 Jun 2017 07:29:48 +0000 (16:29 +0900)]
temperature : change interface from device-manager-plugin-xxx to pass

When pass is enabled, the structure for thermal status has to be changed.
Because temp data will be delivered from pass.
It will be updated, when temp status is changed.

Change-Id: I0b940b00d650198cdfcf333d622a360f227fb9f8
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoMerge "auto-test: support display dbus test" into tizen
Woo Chang Kim [Thu, 15 Jun 2017 00:29:32 +0000 (00:29 +0000)]
Merge "auto-test: support display dbus test" into tizen

7 years agoLow battery : fix an issue that SYS_EVENT_BATTERY_LEVEL_STATUS is not updated 03/134103/1 accepted/tizen/unified/20170615.020744 submit/tizen/20170615.002221
lokilee73 [Wed, 14 Jun 2017 14:01:28 +0000 (23:01 +0900)]
Low battery : fix an issue that SYS_EVENT_BATTERY_LEVEL_STATUS is not updated

Change-Id: I9d6ee7ae078082d633973507e4edf947a63f428b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
7 years agoauto-test: support display dbus test 50/134050/3
Yunmi Ha [Wed, 14 Jun 2017 09:50:56 +0000 (18:50 +0900)]
auto-test: support display dbus test

Change-Id: I5cb314c3127151ee1b338e0bdcfe990dbc10c89f
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
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>