platform/core/system/deviced.git
7 years agodisplay: ignore touch event occurred during turnig off the display 42/91442/1 accepted/tizen/common/20161007.173324 accepted/tizen/ivi/20161010.082707 accepted/tizen/mobile/20161010.082614 accepted/tizen/tv/20161010.082633 accepted/tizen/wearable/20161010.082647 submit/tizen/20161007.120252
taeyoung [Fri, 7 Oct 2016 11:22:51 +0000 (20:22 +0900)]
display: ignore touch event occurred during turnig off the display

- Previously, touchscreen was disabled after turning off the display.
  Thus the touch events occurred at the moment between turning off
  the display and disabling the touchscreen tried to turn on the
  display again. The events were queued for the main loop, and thus
  they could not be avoided.

- Now, a flag touch_event_blocked is set before turning off the display.
  Thus the touch events can be ignored according to the value of the flag.

Change-Id: Ic49fba662376e4e122a5785854f1adc82ffe4ec0
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoFix minor issues 57/91357/5 accepted/tizen/common/20161007.173210 accepted/tizen/ivi/20161007.103945 accepted/tizen/mobile/20161007.104004 accepted/tizen/tv/20161007.103952 accepted/tizen/wearable/20161007.103958 submit/tizen/20161007.081211
pr.jung [Fri, 7 Oct 2016 06:42:19 +0000 (15:42 +0900)]
Fix minor issues

- Check unit_len
- Check whether size has negative value
- Fix for sscanf beffer overflow

Change-Id: I5ba7215e3c6f3ae3544a57fefc4693c4cc768249
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoFix get_mmc_primary_id to get id not flags 15/91315/2
pr.jung [Fri, 7 Oct 2016 02:24:44 +0000 (11:24 +0900)]
Fix get_mmc_primary_id to get id not flags

Change-Id: I92a80184938ad62cf84c0f3ae3a0f7d6b54c2ca6
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agousb: disable usb mode according to the current mode 19/91019/2 accepted/tizen/3.0/ivi/20161011.043840 accepted/tizen/3.0/mobile/20161015.032757 accepted/tizen/3.0/tv/20161016.004031 accepted/tizen/3.0/wearable/20161015.081948 accepted/tizen/common/20161005.165637 accepted/tizen/ivi/20161005.232241 accepted/tizen/mobile/20161005.232152 accepted/tizen/tv/20161005.232206 accepted/tizen/wearable/20161005.232221 submit/tizen/20161005.104253 submit/tizen/20161005.114937 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
taeyoung [Wed, 5 Oct 2016 09:57:46 +0000 (18:57 +0900)]
usb: disable usb mode according to the current mode

- Previously, usb mode is disabled according to the selected mode.
  Selected mode means that User selected the mode as the next mode.
  However Selected mode can be different with current mode since
  usb mode setting can be failed or there is no mode if usb cable
  is not connected. Thus usb mode should be disabled according to
  the current mode.

Change-Id: If3b825910aa1360cf92ccab68442f4931b5f2ec6
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agotzip: add NULL check routine 50/90750/1
taeyoung [Tue, 4 Oct 2016 06:54:33 +0000 (15:54 +0900)]
tzip: add NULL check routine

tzplatform_getenv() can return NULL. If the result is NULL,
Crash will be occurred. Thus NULL check routine is required.

Change-Id: I5a3c4aa90d3d7e387c4295371d25379897175277
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agotzip: fix string compare bug 35/90435/1 accepted/tizen/ivi/20160930.232941 accepted/tizen/mobile/20160930.232854 accepted/tizen/tv/20160930.232910 accepted/tizen/wearable/20160930.232922 submit/tizen/20160930.050513
taeyoung [Fri, 30 Sep 2016 04:57:33 +0000 (13:57 +0900)]
tzip: fix string compare bug

- tzip checks if the mountpath is on TZ_SYS_HOME or TZ_SYS_RW_APP.
  Thus the length of the comparation needs to be from TZ_SYS_HOME
  or TZ_SYS_RW_APP, not the mountpath.

Change-Id: I8ace95651d6101ad1cf7ab85526ee03a4ebb966b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agotzip: fix privilege issue 72/90272/4 accepted/tizen/common/20160930.174616 accepted/tizen/ivi/20160929.234350 accepted/tizen/mobile/20160929.234409 accepted/tizen/tv/20160929.234258 accepted/tizen/wearable/20160929.234307 submit/tizen/20160929.102549
taeyoung [Thu, 29 Sep 2016 08:19:43 +0000 (17:19 +0900)]
tzip: fix privilege issue

- Just apps who have "System" smack label are permitted
  to use TZIP
- Just TZ_SYS_HOME and TZ_SYS_RW_APP are permitted
  to mount TZIP

Change-Id: I4531577b423a478243038c86571fcc0b4d4c7331
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoFix fd leak 41/89641/2 accepted/tizen/ivi/20160929.001649 accepted/tizen/mobile/20160929.001505 accepted/tizen/tv/20160929.001703 accepted/tizen/wearable/20160929.001621 submit/tizen/20160927.110043
Kunhoon Baik [Mon, 26 Sep 2016 07:37:12 +0000 (16:37 +0900)]
Fix fd leak

The fd will be allocated for the target process by kernel.
Thus, already-passed(allocated by kernel) fd should be freed in daemon.

Change-Id: I45258b147d921ae96b407f86bf0b4c54f4672537

7 years agoRemove NOTICE file 77/89677/2
pr.jung [Mon, 26 Sep 2016 09:51:55 +0000 (18:51 +0900)]
Remove NOTICE file

Change-Id: Id2c592640399d8e146b316ecdf69448bd0c5d70a
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoMerge "Use USB gadget and USB config HAL instead of direct manipulation" into tizen
Karol Lewandowski [Thu, 22 Sep 2016 14:50:22 +0000 (07:50 -0700)]
Merge "Use USB gadget and USB config HAL instead of direct manipulation" into tizen

7 years agocommon: fix minor issues 60/88860/3 accepted/tizen/common/20160921.162506 accepted/tizen/ivi/20160921.232950 accepted/tizen/mobile/20160921.232939 accepted/tizen/tv/20160921.232944 accepted/tizen/wearable/20160921.232934 submit/tizen/20160921.044915
taeyoung [Wed, 21 Sep 2016 03:42:58 +0000 (12:42 +0900)]
common: fix minor issues

- memory leak
- uninitialized variable
- memory release sequence

Change-Id: I9a4271bf4a83029e5ce4dd9f38be1cdb2fa7682f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoRemove unreachable code 74/88874/1
pr.jung [Wed, 21 Sep 2016 04:38:31 +0000 (13:38 +0900)]
Remove unreachable code

Change-Id: Ia36aa01b963d449de57bc8b590367fd2a8eb1952
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoFix sscanf issue 50/88850/1 accepted/tizen/ivi/20160921.081240 accepted/tizen/mobile/20160921.081313 accepted/tizen/tv/20160921.081230 accepted/tizen/wearable/20160921.081300 submit/tizen/20160921.024211
pr.jung [Wed, 21 Sep 2016 02:20:31 +0000 (11:20 +0900)]
Fix sscanf issue

Change-Id: I193ad313c1e710d753c05a761af45e2297992d61
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoNot mount internal mmc device 98/88098/7 submit/tizen/20160920.084444
pr.jung [Tue, 13 Sep 2016 09:13:42 +0000 (18:13 +0900)]
Not mount internal mmc device

Change-Id: I345998e526e6b57e0d784592fa6c605906e810d1
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agousbhost: enable usb-host test module only for Mobile profile 90/88590/2 accepted/tizen/common/20160920.132049 accepted/tizen/ivi/20160920.231841 accepted/tizen/mobile/20160920.231757 accepted/tizen/tv/20160920.231816 accepted/tizen/wearable/20160920.231826 submit/tizen/20160920.044232
taeyoung [Tue, 20 Sep 2016 02:01:16 +0000 (11:01 +0900)]
usbhost: enable usb-host test module only for Mobile profile

usb-host api is enabled only for Mobile profile. Thus
the test module for the usb-host api needs to be enalbed
only for Mobile profile too.

Change-Id: I09d9877c6ebd734f9c2b29bbe491c0ddc3e0e67d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agousb-host-test: Fix stopping testing service on legacy mode 28/88528/2
Paweł Szewczyk [Mon, 19 Sep 2016 12:36:05 +0000 (14:36 +0200)]
usb-host-test: Fix stopping testing service on legacy mode

Cleaning usbg context on legacy mode caused deviced crash on
stopping test mode. This commit fixes that.

Change-Id: I3d8c16fdda37090cdbda6dfb95ba72cd3f815733
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agousbhost: Use system-popup 69/86969/7
Karol Lewandowski [Fri, 16 Sep 2016 15:52:12 +0000 (17:52 +0200)]
usbhost: Use system-popup

Fixed usb popup object path to match system-popup

Change-Id: Ib4fbf7e5bf5e0b39bcd83cb6ea68848581fc7bc0
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
7 years agousbhost: udev: Allow direct access for virtual USB device 05/88105/1
Karol Lewandowski [Tue, 13 Sep 2016 10:09:55 +0000 (12:09 +0200)]
usbhost: udev: Allow direct access for virtual USB device

Virtual USB device (dummy-hcd) is used for non-interactive testing only
(iTCT).  Without appropriate permission GUI popup will be shown requesting
user for access confirmation.

This commit makes dummy-hcd accessible to everyone - so that tests
can execute non-interactively.

Change-Id: I0054a27efec1d606286d1b36034318bca6f6b980

7 years agoUse tizen specific g_ffs module params to enforce device identity 38/88038/2
Krzysztof Opasiak [Tue, 13 Sep 2016 08:13:02 +0000 (10:13 +0200)]
Use tizen specific g_ffs module params to enforce device identity

usb host tests expect a defined value in both configuration
string and bmAttributes. Let's use tizen specific g_ffs module
params to enforce those values.

Change-Id: I466e86230fe119477bf2c5148bf73dd3e5c96321
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
7 years agoUse module options to enforce expected device attributes 37/88037/2
Krzysztof Opasiak [Mon, 12 Sep 2016 19:26:25 +0000 (21:26 +0200)]
Use module options to enforce expected device attributes

g_ffs provides a set of standard module parameters which
allows to set device indentity. As usb host tests expects
a predefined identity of test device let's use those module
params to set it.

Change-Id: I32782d61f756e6cd4fb13cbcccc2b5ef3bd0a91e
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
7 years agoAdd usb test setup also for 3.10 kernel 71/86971/6 accepted/tizen/common/20160912.180749 accepted/tizen/ivi/20160912.053800 accepted/tizen/mobile/20160912.053711 accepted/tizen/tv/20160912.053727 accepted/tizen/wearable/20160912.053744 submit/tizen/20160912.010213
Paweł Szewczyk [Tue, 6 Sep 2016 14:29:36 +0000 (16:29 +0200)]
Add usb test setup also for 3.10 kernel

Change-Id: I02eab869e55837851c463c1eaa35ec749cb5223e
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agoAdd usb-host testing environment setup 36/81536/8
Paweł Szewczyk [Wed, 27 Jul 2016 09:29:20 +0000 (11:29 +0200)]
Add usb-host testing environment setup

Change-Id: Icc0ce7f323a8307f2f80a17b0f6f66165018e7a1
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agosystemd: check mounting before sending booting-done signal 42/87042/3
Kichan Kwon [Tue, 6 Sep 2016 04:43:57 +0000 (13:43 +0900)]
systemd: check mounting before sending booting-done signal

- In current, lazy mount is applied at the mobile profile
- To check whether /opt/usr is mounted, we use specific file made by lazy_mount

Change-Id: Icf9e575607886e824e37deadf44d53bf944968c2
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoChange uid and gid for deviced-vibrator 39/87239/1
pr.jung [Wed, 7 Sep 2016 06:20:06 +0000 (15:20 +0900)]
Change uid and gid for deviced-vibrator

Change-Id: I9b1cd9e1d51a9513c333e47e98c25305720f7fb7
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agomacro: add prefix "TIZEN_FEATURE_" to the local build macros 55/86655/2
taeyoung [Mon, 5 Sep 2016 10:42:39 +0000 (19:42 +0900)]
macro: add prefix "TIZEN_FEATURE_" to the local build macros

Change-Id: Iea4529dab2f34d113957632c06da17c3a36cff1f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: Add information for DeviceBlocked signal 26/80826/4 accepted/tizen/ivi/20160905.065612 accepted/tizen/mobile/20160905.065515 accepted/tizen/tv/20160905.065535 accepted/tizen/wearable/20160905.065554 submit/tizen/20160902.065241 submit/tizen/20160904.234158 submit/tizen/20160905.095524
pr.jung [Wed, 20 Jul 2016 10:40:39 +0000 (19:40 +0900)]
block: Add information for DeviceBlocked signal

Change-Id: I7f01acddd0c29ee577feba92b0c7d570f85baf09
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoMerge "systemd: remove deviced-pre.service" into tizen
taeyoung [Wed, 31 Aug 2016 23:54:56 +0000 (16:54 -0700)]
Merge "systemd: remove deviced-pre.service" into tizen

7 years agousbhost: Introduce temporary policy 06/60506/6
Paweł Szewczyk [Fri, 26 Feb 2016 14:46:53 +0000 (15:46 +0100)]
usbhost: Introduce temporary policy

Temporary access is limited to single device connection. When device is
disconnected, temporary policy entries related to it are removed. These
entries are never saved.

Change-Id: I158126450dd06ca483f4ee2b5788e8caffcb3f86
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agosystemd: remove deviced-pre.service 61/85961/1
taeyoung [Tue, 30 Aug 2016 02:05:40 +0000 (11:05 +0900)]
systemd: remove deviced-pre.service

- device-pre.service is not used anymore.
  Thus it needs to be removed

Change-Id: I566ca70d8074357482a27de495c83363be1b6606
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoUse USB gadget and USB config HAL instead of direct manipulation 13/83913/2
Krzysztof Opasiak [Sat, 13 Aug 2016 15:55:31 +0000 (17:55 +0200)]
Use USB gadget and USB config HAL instead of direct manipulation

Thanks to new HALs provided for each Tizen device most of USB
specific code can be droped from deviced. Instead of it, deviced
now uses both HALs to get and apply USB configuration to USB
gadget subsystem.

Strongly based on initial work by:
Taeyoung Kim <ty317.kim@samsung.com>

Change-Id: I396c29a2e6d81feda6dbbc24f9d03022afb00697
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
7 years agoMerge "systemd: add user and group information of the systemd service files" into...
taeyoung [Mon, 22 Aug 2016 00:21:48 +0000 (17:21 -0700)]
Merge "systemd: add user and group information of the systemd service files" into tizen

7 years agosystemd: add user and group information of the systemd service files 22/83122/3
taeyoung [Tue, 9 Aug 2016 08:10:38 +0000 (17:10 +0900)]
systemd: add user and group information of the systemd service files

- deviced-pre.service: User and group are system_fw
     since the file is used just for the deviced.
- zbooting-done.service: user and group are system_share
     since the signal is used at several other modules.
- sdb-prestart.service: user and group are root
     since it needs to change the information of sysfs.
     The service file is changed not to be installed
     with normal images because the file is just used
     for debugging purposes.

Change-Id: I1abf3cdc455b6fff5108e62377370d1df7419cc8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoRefactoring Standard Vibrate Engine 11/83911/1 accepted/tizen/common/20160819.131219 submit/tizen/20160819.051154
Kunhoon Baik [Sat, 13 Aug 2016 01:04:25 +0000 (10:04 +0900)]
Refactoring Standard Vibrate Engine

Circle and Forced Feedback Standard Engine use standard Core Engine.
Thus, Standard Core Engine was seperated.

Change-Id: I058f98b94a3a6c9ff9b4e2b9e2e95b99d91dbe71

7 years agohaptic: Seperate haptic operation for wearable-circle from haptic.c 64/83464/3
pr.jung [Wed, 6 Jul 2016 10:22:21 +0000 (19:22 +0900)]
haptic: Seperate haptic operation for wearable-circle from haptic.c

Change-Id: I3c81b10bbe1909abe1bcb74e8ad6ee8c78401177
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agousb: add dbus methods and signals of Tizen 2.4 32/83332/4
taeyoung [Wed, 10 Aug 2016 07:15:07 +0000 (16:15 +0900)]
usb: add dbus methods and signals of Tizen 2.4

- dbus methods and signals supported in Tizen 2.4 is added.

Change-Id: Iea351d8038a8043d751cd10166b407d181c7678e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: apply Tizen coding rules 78/83578/1
taeyoung [Thu, 11 Aug 2016 23:51:53 +0000 (08:51 +0900)]
common: apply Tizen coding rules

- Space is required before ":" and "("

Change-Id: I8bf8b8b3d747a54cf69818db24ec0d244eefa68e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agopower: unmount cgroup after closing other apps 80/83480/1
taeyoung [Thu, 11 Aug 2016 07:10:44 +0000 (16:10 +0900)]
power: unmount cgroup after closing other apps

- Previously, cgroup is unmounted when poweroff popup is launched.
  This is a critical bug and it should be fixed.
- Now, cgroup is unmounted just before turning off power.

Change-Id: Iafe16348a77aee6875e47e19b87cf755b85e8200
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agocommon: change fuser path 78/83478/1
taeyoung [Thu, 11 Aug 2016 06:57:04 +0000 (15:57 +0900)]
common: change fuser path

- The path of the fuser path is changed
  from /sbin/fuser to /usr/bin/fuser by
  upgrading psmisc package.

Change-Id: Iea29bdad6a8438fe5802618adf0fd8a74d1bd11d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: Remove build warning 54/83454/1
pr.jung [Thu, 11 Aug 2016 05:14:05 +0000 (14:14 +0900)]
block: Remove build warning

Change-Id: Ieb9b550178d92089e74d21486bfe5487bb63e908
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agoMerge "block: Modify block module" into tizen accepted/tizen/common/20160811.145518 accepted/tizen/ivi/20160811.002532 accepted/tizen/mobile/20160811.002441 accepted/tizen/tv/20160811.002513 accepted/tizen/wearable/20160811.002928 submit/tizen/20160810.070210
pr.jung [Wed, 10 Aug 2016 07:00:57 +0000 (00:00 -0700)]
Merge "block: Modify block module" into tizen

7 years agodevicectl: fix invalid parameter type 10/82710/1
taeyoung [Fri, 5 Aug 2016 07:34:49 +0000 (16:34 +0900)]
devicectl: fix invalid parameter type

Change-Id: I8979e3e6a55896ffb319e708ee26841e2733dcd3
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: Modify block module 91/80991/2
pr.jung [Thu, 21 Jul 2016 07:52:50 +0000 (16:52 +0900)]
block: Modify block module

1. Merge Block interface to BlockManager
- Before, deviced creates new object for every device node,
sends signal and receives dbus methods requests using Block interface.
It cause some timing issues.
- Now, block module will not creates new object for each node,
and only have BlockManager interface.

2. Check queue has unmount operation before mount
- If operation queue has unmount operation, then deviced doesn't need to mount device.
So, deviced dequeue operations before unmount operation.

3. Check operation is already done
- If operation is already done, deviced doesn't need to do it again.

4. Use specific number of thread
- Maximum number of thread is 5.
- If new block_device which use same devnode is inserted,
same thread which used before dealt with the new block_device.
- Each thread processes operation in the order of block_device is added to block_dev_list.
- After operation queue is empty from one block_device, thread processes operation for next block_device.

5. Add thread mutex and thread wait condition
- Add thread mutex for operation queue and op_len
- Remove block_device mutex (which was for operation queue)
- Wait when all operation queue of thread is empty (op_len == 0)
- Wakeup when first operation is added (op_len is changed to 1)

6. Make block_dev_list for each thread
- Use thread mutex for each block_dev_list of thread
- Dbus method calls should not get information about physically removed block device

7. Same device is dealt with the same thread
- All partitions from same device is dealt with the same thread

8. Remove BLOCK_DEV_DEQUEUE pipe command

Change-Id: Ia4064de11afafdcbeb9811cf4884978f22f27b25
Signed-off-by: pr.jung <pr.jung@samsung.com>
7 years agodevicectl: add power off/reboot comand 04/82404/1
taeyoung [Wed, 3 Aug 2016 06:52:24 +0000 (15:52 +0900)]
devicectl: add power off/reboot comand

- Power off command
   $ devicectl power off

- Reboot command
   $ devicectl power reboot

Change-Id: I32abdd6c7cbb01ecd7b111ee5e8b25e6b3d33a2b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoMerge "libdeviced: remove unused apis" into tizen accepted/tizen/common/20160804.174402 accepted/tizen/ivi/20160804.081134 accepted/tizen/mobile/20160804.081205 accepted/tizen/tv/20160804.081052 accepted/tizen/wearable/20160804.081118 submit/tizen/20160803.081834
taeyoung [Wed, 3 Aug 2016 05:26:49 +0000 (22:26 -0700)]
Merge "libdeviced: remove unused apis" into tizen

7 years agousbhost: Add API for handling device attach/detach 21/59221/8
Paweł Szewczyk [Wed, 10 Feb 2016 12:32:13 +0000 (13:32 +0100)]
usbhost: Add API for handling device attach/detach

Change-Id: Ie333f7b403721f7b0611c57d172a930d1b1fc456
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agoMerge "display: change get/set brightness operation to use max brightness" into tizen
taeyoung [Wed, 3 Aug 2016 05:15:14 +0000 (22:15 -0700)]
Merge "display: change get/set brightness operation to use max brightness" into tizen

7 years agolibdeviced: remove unused apis 04/81604/2
taeyoung [Wed, 27 Jul 2016 08:24:48 +0000 (17:24 +0900)]
libdeviced: remove unused apis

Change-Id: I4c3e34e0bc2d530c52c68fa2ce37518b09eff3af
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoRemoves hidden dependency 56/42056/4
José Bollo [Mon, 22 Jun 2015 13:32:42 +0000 (15:32 +0200)]
Removes hidden dependency

The depedency to the project platform/adaptation/system-plugin
that provides tizen-system-env.service is missing.

This removes the hidden dependency. This is a hack.
Please either explicit the dependency in spec file or keep that removal.

Change-Id: Id480a018a036ecbc3a76b15d2424e94c23cc4546
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoblock: remove unused variables 87/81287/1
taeyoung [Mon, 25 Jul 2016 08:27:10 +0000 (17:27 +0900)]
block: remove unused variables

Change-Id: Icbe575f938a7ddcc2c84e34a2c7325c398d2655d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agodisplay: build fix for -fno-common 15/70715/2
Slava Barinov [Fri, 20 May 2016 07:52:40 +0000 (10:52 +0300)]
display: build fix for -fno-common

Fix linkage issues for build for '-fno-common' option which is used with
Address Sanitizer tool

Change-Id: Ie6d31a7782da61d326ce52b43622d73ff7e2128a
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agousbhost: Store policy in file 11/58911/6
Paweł Szewczyk [Tue, 2 Feb 2016 17:53:54 +0000 (18:53 +0100)]
usbhost: Store policy in file

Policy is stored in one file at deviced shutdown and read from it at
startup

Change-Id: I8a5ef1da3c44d7b4757ac4e16a07f86863e09c3a
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agousbhost: Add access list 10/58910/5
Paweł Szewczyk [Tue, 2 Feb 2016 16:20:31 +0000 (17:20 +0100)]
usbhost: Add access list

All policy entries are stored on list. For now we assume 'allow always'
for every request which was not found on access list.

Change-Id: I6b294e14e0a2c06bc9c79a063f2cd181436447b3
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
7 years agoMerge "usb-host: Add introspection of requested device and caller" into tizen
Taeyoung Kim [Mon, 25 Jul 2016 00:58:13 +0000 (17:58 -0700)]
Merge "usb-host: Add introspection of requested device and caller" into tizen

7 years agoMerge "usbhost: Add API for opening device" into tizen
Karol Lewandowski [Thu, 21 Jul 2016 16:18:16 +0000 (09:18 -0700)]
Merge "usbhost: Add API for opening device" into tizen

7 years agotelephony: remove telephony module 94/80994/1 accepted/tizen/common/20160721.180507 accepted/tizen/ivi/20160721.093011 accepted/tizen/mobile/20160721.092428 accepted/tizen/tv/20160721.091705 accepted/tizen/wearable/20160721.092014 submit/tizen/20160721.044359
taeyoung [Thu, 21 Jul 2016 08:22:26 +0000 (17:22 +0900)]
telephony: remove telephony module

- Telephony module is not used currently.
  Thus it is removed

Change-Id: I066f096e746b464a38983d64dcfb5fb26adce6a8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agorestart: remove restart module 28/80928/2
taeyoung [Thu, 21 Jul 2016 02:45:25 +0000 (11:45 +0900)]
restart: remove restart module

- restart module is not used. Thus it is removed

Change-Id: I0366d36cc57f4ec0416000550078274d73ad77e5
Signed-off-by: taeyoung <ty317.kim@samsung.com>
7 years agoSet SmackProcessLabel in service files 45/80845/1 accepted/tizen/common/20160721.175800 accepted/tizen/ivi/20160721.090747 accepted/tizen/mobile/20160721.090454 accepted/tizen/tv/20160721.091311 accepted/tizen/wearable/20160721.091020 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 11:12:32 +0000 (20:12 +0900)]
Set SmackProcessLabel in service files

Change-Id: I6ce9ea92b78701727fe4f5997bb406bd9e1ac013
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agopower: send poweroff notifications before the poweroff operations 33/80733/1
taeyoung [Wed, 20 Jul 2016 02:27:08 +0000 (11:27 +0900)]
power: send poweroff notifications before the poweroff operations

- Power off operations contain unloading devices and
  disabling journald and cgroup. Thus poweroff notifications
  need to be delivered to the user space before the poweroff
  operations.

Change-Id: I7b4ed05c571fc6bfe2110527a3281ce5f3910a2c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agodisplay: add .wm_ready check routine 41/80241/2 accepted/tizen/common/20160715.175720 accepted/tizen/ivi/20160717.035134 accepted/tizen/mobile/20160717.035119 accepted/tizen/tv/20160717.034957 accepted/tizen/wearable/20160717.035004 submit/tizen/20160715.121938
taeyoung [Fri, 15 Jul 2016 10:37:30 +0000 (19:37 +0900)]
display: add .wm_ready check routine

- Display cannot be turned on during booting time
  if display manager is launched later than deviced.
  In this case, the request to turn on the dpms is
  failed.

- The existance of the file /run/.wm_ready shows
  that the display manager works properly. Thus
  deviced checks the file existance during booting.

Change-Id: Iece683fca040d855c122381576c7835462a1adf9
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoblock: add the method which returns the primary mmc information 87/80087/1
taeyoung [Thu, 14 Jul 2016 11:56:31 +0000 (20:56 +0900)]
block: add the method which returns the primary mmc information

- Primary mmc information is used to install apps on the mmc.
  Thus primary mmc information method is necessary to avoid
  iterations with previous methods

Change-Id: I0d6ef92533788bf6696274436ba8e28b4624e25f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoMerge "haptic: Modify higher bound for haptic level" into tizen accepted/tizen/common/20160714.152843 accepted/tizen/ivi/20160714.054652 accepted/tizen/mobile/20160714.054619 accepted/tizen/wearable/20160714.054633 submit/tizen/20160714.021423 submit/tizen/20160714.054143
pr.jung [Thu, 14 Jul 2016 05:39:18 +0000 (22:39 -0700)]
Merge "haptic: Modify higher bound for haptic level" into tizen

8 years agohaptic: Modify higher bound for haptic level 05/80005/2
pr.jung [Thu, 14 Jul 2016 05:26:47 +0000 (14:26 +0900)]
haptic: Modify higher bound for haptic level

Change-Id: Ic814a2ae52c304dd6533ba7fca909e8d55fcc673
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agousb: use strlen() to get the length of the string 75/79175/1 accepted/tizen/common/20160711.165522 accepted/tizen/ivi/20160709.020026 accepted/tizen/mobile/20160709.020657 accepted/tizen/tv/20160709.015314 accepted/tizen/wearable/20160709.020630 accepted/tizen/wearable/20160709.020634 submit/tizen/20160709.003826
taeyoung [Fri, 8 Jul 2016 12:50:33 +0000 (21:50 +0900)]
usb: use strlen() to get the length of the string

- If sizeof() is used for the char*, it always returns 4.
  Thus strlen() needs to be used to get the length of strings

Change-Id: Ib388b55b5bb8571035f7245cad2cc826c840f945
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agohaptic: Check higher bound for calloc 90/78790/1 accepted/tizen/common/20160707.171924 accepted/tizen/ivi/20160707.113624 accepted/tizen/mobile/20160707.113545 accepted/tizen/tv/20160707.113612 accepted/tizen/wearable/20160707.113600 submit/tizen/20160707.054613
pr.jung [Thu, 7 Jul 2016 01:53:17 +0000 (10:53 +0900)]
haptic: Check higher bound for calloc

Change-Id: Ia49f78d3bfa47cf4baeb346db14a3e7b52f67dde
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agodisplay: change get/set brightness operation to use max brightness 81/78781/1
taeyoung [Thu, 7 Jul 2016 01:08:36 +0000 (10:08 +0900)]
display: change get/set brightness operation to use max brightness

- There are various drivers whose maximum brightness values are different.
  Thus get/set brightness operation calculates the real brightness
  according to the maximum brightness value.

Change-Id: I4dd277cde6b0e0515cd95b7bc40137b018dce030
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agousb: show notification when mtp is enabled 03/78603/2 accepted/tizen/ivi/20160706.132940 accepted/tizen/mobile/20160706.132625 accepted/tizen/tv/20160706.132600 accepted/tizen/wearable/20160706.132634 submit/tizen/20160706.122818
taeyoung [Wed, 6 Jul 2016 07:49:07 +0000 (16:49 +0900)]
usb: show notification when mtp is enabled

- when usb cable is connected and mtp is enabled,
  users need to know that they can transfer files
  with host PC. Thus notification is required.

Change-Id: Id7d3174f9d5d0bb635d36b56698263e7f7744694
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agodeviced-vibrator: Remove smack capability 76/78576/1 accepted/tizen/common/20160707.171248 accepted/tizen/ivi/20160706.132811 accepted/tizen/mobile/20160706.131944 accepted/tizen/tv/20160706.132009 accepted/tizen/wearable/20160706.132127 submit/tizen/20160706.093839
pr.jung [Wed, 6 Jul 2016 06:40:15 +0000 (15:40 +0900)]
deviced-vibrator: Remove smack capability

Change-Id: Ia1ed2ec75d91e563d52ca670da390465853f2fee
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoblock: disable apps on mmc when unmounting mmc 87/78287/2
taeyoung [Tue, 5 Jul 2016 04:47:32 +0000 (13:47 +0900)]
block: disable apps on mmc when unmounting mmc

- Apps can be installed on external mmc. Thus
  the apps need to be disabled when unmounting
  mmc.

Change-Id: Iba748f8ed8333849e313dfa95eac83777fa3ef42
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoMerge "[haptic]Add deviced-vibrator permission rules" into tizen accepted/tizen/common/20160706.141839 accepted/tizen/ivi/20160706.014007 accepted/tizen/mobile/20160706.013851 accepted/tizen/tv/20160706.013912 accepted/tizen/wearable/20160706.013951 submit/tizen/20160705.090208
pr.jung [Tue, 5 Jul 2016 09:01:11 +0000 (02:01 -0700)]
Merge "[haptic]Add deviced-vibrator permission rules" into tizen

8 years agodisplay: broadcast display status via eventsystem 77/76977/4
taeyoung [Tue, 28 Jun 2016 07:20:35 +0000 (16:20 +0900)]
display: broadcast display status via eventsystem

- Eventsystem is official tool to broadcast system event.
  Thus it is also used for the display status.

Change-Id: Ib19507e9b7bdc74a7ae51d4e551b4ba086b08bc1
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoMerge "usb: broadcast usb status via eventsystem" into tizen
taeyoung [Tue, 5 Jul 2016 08:58:17 +0000 (01:58 -0700)]
Merge "usb: broadcast usb status via eventsystem" into tizen

8 years ago[haptic]Add deviced-vibrator permission rules 64/78364/1
pr.jung [Tue, 5 Jul 2016 08:08:48 +0000 (17:08 +0900)]
[haptic]Add deviced-vibrator permission rules

- Add deviced-vibrator permission rules
- Add vibrate_effect and is_supported for emulator
- Fix bus name used by libdeviced

Change-Id: I9ddef1c7aabfb876887bb1a3d5f5c9560947dafe
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoMerge "Add and remove error checking code" into tizen
Taeyoung Kim [Fri, 1 Jul 2016 00:59:48 +0000 (17:59 -0700)]
Merge "Add and remove error checking code" into tizen

8 years agocommon: set PATH env 32/77632/2 accepted/tizen/common/20160703.130700 accepted/tizen/ivi/20160701.034020 accepted/tizen/mobile/20160701.034144 accepted/tizen/tv/20160701.033930 accepted/tizen/wearable/20160701.034038 submit/tizen/20160630.121716 submit/tizen_common/20160701.180000
taeyoung [Thu, 30 Jun 2016 10:10:56 +0000 (19:10 +0900)]
common: set PATH env

- PATH env need to be added since system PATH env
  can have weird paths.

Change-Id: Ibc45f18b2a607724d60b9a1c2fe7ba4ef8340c49
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years ago[haptic]Remove build fails 59/76959/4 accepted/tizen/common/20160703.130631 accepted/tizen/ivi/20160701.033846 accepted/tizen/mobile/20160701.034011 accepted/tizen/tv/20160701.033802 accepted/tizen/wearable/20160701.033921 submit/tizen/20160630.105614
pr.jung [Tue, 28 Jun 2016 06:34:53 +0000 (15:34 +0900)]
[haptic]Remove build fails

Change-Id: I7cbf7d8e9b45acb8fde9b39bcea30f10cfb4792e
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoAdd and remove error checking code 94/77294/2
Kichan Kwon [Wed, 29 Jun 2016 09:19:09 +0000 (18:19 +0900)]
Add and remove error checking code

- haptic : check whether value is positive number
- block : remove needless checking

Change-Id: I4e85afc973afd861833c45b4d070291ce65c69f7
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
8 years agousb: broadcast usb status via eventsystem 75/76975/2
taeyoung [Tue, 28 Jun 2016 07:11:30 +0000 (16:11 +0900)]
usb: broadcast usb status via eventsystem

- Eventsystem is official tool to broadcast system event.
  Thus it is also used for the usb status.

Change-Id: I0a07268edcc463cf12e037af589b4e266d8e1fd2
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years ago[haptic]Add another logic for haptic 75/72075/3 accepted/tizen/common/20160629.222243 submit/tizen/20160627.095455
pr.jung [Mon, 30 May 2016 11:17:37 +0000 (20:17 +0900)]
[haptic]Add another logic for haptic

In this logic, haptic has 3 configuration files,
vibration.conf, vibration_duration.conf, vibration_waiting.conf
one is for duration and waiting pattern mapping table
and the others are for duration and waiting pattern definition.
(Ex. PATTERN1 = D1,W1
D1 = 100,200
W1 = 100,200,300)
vibrate_effect vibrate with the combination of duration and waiting pattern.

Change-Id: I3d6aafe7c32ddb301393a63e9f88c5fc1f1a02c2
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years ago[haptic]Improve feedback operation 74/72074/2
pr.jung [Mon, 30 May 2016 10:51:22 +0000 (19:51 +0900)]
[haptic]Improve feedback operation

Parse vibration configuration file in deviced-vibrator instead of libfeedback,
so it is parsed only once.
Vibration configuration file has duration for playing and waiting time.

Also, VibrateEffect and IsSupported are added.
IsSupported is used for checking whether specific pattern is supported on haptic device.
VibrateEffect gets pattern string and plays haptic.
deviced-vibrator gets duration pattern from parsed configuration and plays.
VibrateEffect is used instead of VibrateBuffer and VibrateMonotone.

Change-Id: Ib624a94ce507f7799a4fe8ac2a4bf4d0ad189ce2
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years ago[haptic] Seperate haptic operation to deviced-vibrator daemon from deviced 73/72073/2
pr.jung [Mon, 30 May 2016 09:53:06 +0000 (18:53 +0900)]
[haptic] Seperate haptic operation to deviced-vibrator daemon from deviced

Add deviced-vibrator daemon

Change-Id: I38f53e6c2ecdf202d5da8f3ddb604c1833528842
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agousb: handle usb connection on emulator 27/75427/2 accepted/tizen/common/20160620.163455 accepted/tizen/ivi/20160620.081239 accepted/tizen/mobile/20160620.081148 accepted/tizen/tv/20160620.081202 accepted/tizen/wearable/20160620.081224 submit/tizen/20160618.100730
taeyoung [Sat, 18 Jun 2016 08:32:56 +0000 (17:32 +0900)]
usb: handle usb connection on emulator

- On emulator, There is no usb configuration concept.
  Thus usb connection operataion was failed during
  setting configuration.
- Now, usb configuration is skipped on emulator.
  Thus other states are updated, and indicator shows
  the usb icon.

Change-Id: If3756cde29ac25f09ef2aa82636dac1b471e9356
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoblock: fix warnings 59/75359/2
taeyoung [Fri, 17 Jun 2016 12:32:49 +0000 (21:32 +0900)]
block: fix warnings

- The types of paths are changed to "const char*"

Change-Id: If0f4ba5483521aedee847b14d1e5f12926b7f4c5
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoblock: support internal apis for mount/unmount/format 53/75353/5
taeyoung [Fri, 17 Jun 2016 11:46:24 +0000 (20:46 +0900)]
block: support internal apis for mount/unmount/format

- Internal apis for mount/unmount/format need to be
  supported for the backward compatibility. They are
  used in Setting app currently

- The apis use libstorage to get storage information
  and dbus methods to request operations to deviced.

Change-Id: Id96b33f39c11778dffb1867db482caf8b749ce35
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoblock: set vconf key related with mmc 51/75351/2
taeyoung [Fri, 17 Jun 2016 11:42:06 +0000 (20:42 +0900)]
block: set vconf key related with mmc

- Setting app uses VCONFKEY_SYSMAN_MMC_MOUNT.
  Thus the vconf key value is set for the
  backward compatibility.

Change-Id: I873bb7577e197ac52a90748339cff46c7e0a41cd
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoblock: change dbus connection to block connection 40/75340/2
taeyoung [Fri, 17 Jun 2016 11:18:57 +0000 (20:18 +0900)]
block: change dbus connection to block connection

- When returning the results of the mount/unmount/format
  operations, dbus connection of the deviced was used.
  Thus the return value cannot be delivered to apps.

- Now the dbus connection is changed to the block connection.
  Thus the return value can be delivered to apps properly.

Change-Id: I90527a09da59558a5256c889b64e2e343b2629c0
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoTemporary Patch for preventing early suspend. 84/75384/1
Kunhoon Baik [Fri, 17 Jun 2016 14:42:56 +0000 (23:42 +0900)]
Temporary Patch for preventing early suspend.
This patch should be removed by generic and better solution.
This patch should be tested at other devices.

Change-Id: I4b3741ade8943f2c5b8de369877bcd367145bbea

8 years agoProviding backward compatibility for APPs in the store 65/75365/1 accepted/tizen/common/20160620.163438 accepted/tizen/ivi/20160618.032600 accepted/tizen/mobile/20160618.032503 accepted/tizen/tv/20160618.032523 accepted/tizen/wearable/20160618.032545 submit/tizen/20160617.131013
Kunhoon Baik [Fri, 17 Jun 2016 12:35:32 +0000 (21:35 +0900)]
Providing backward compatibility for APPs in the store

Some apps assumes that primary external storage id is "1".
Basically, the app should be fixed for using libstorage APIs correctly.
However, we will provide some backward compatibility patches to reduce PAINS.

Change-Id: I040736e3069104f9f9f4da3bd6b9c03c559bfe95

8 years agobattery: add dbus method to get all of battery information 73/69373/5 accepted/tizen/common/20160615.193912 accepted/tizen/ivi/20160616.003436 accepted/tizen/mobile/20160616.003547 accepted/tizen/tv/20160616.003414 accepted/tizen/wearable/20160616.003529 submit/tizen/20160615.115707
Taeyoung Kim [Fri, 13 May 2016 02:44:18 +0000 (11:44 +0900)]
battery: add dbus method to get all of battery information

- Apps want to know the battery status in detail, and thus
  the getter of the all battery information is required

Change-Id: I5b21e9f73f83cab1aaec73802933a8814f259984
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agobattery: apply battery HAL 33/68433/2
Taeyoung Kim [Wed, 4 May 2016 07:51:54 +0000 (16:51 +0900)]
battery: apply battery HAL

- Previously, battery module checked uevents and standard interfaces
  of mainline kernel. This is standard, but it cannot be used with
  other version of kernels such as android kernel. Thus battery HAL
  is applied.

Change-Id: I021d9c09232f86897903097de6cb7e5ca8d46303
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoblock: send device insert/remove signal with device information 91/74191/2 accepted/tizen/common/20160615.193626 accepted/tizen/ivi/20160616.002452 accepted/tizen/mobile/20160616.002407 accepted/tizen/tv/20160616.002359 accepted/tizen/wearable/20160616.002347 submit/tizen/20160615.062014
Taeyoung Kim [Mon, 13 Jun 2016 06:29:41 +0000 (15:29 +0900)]
block: send device insert/remove signal with device information

- Previously, insert/remove signals just contain the dbus object
  information. Thus just devnode information need to be compared
  to distinguish devices.

- Now, insert/remove signals with device information are newly
  added. The signals do not contain dbus object information but
  contain device infotmation.

Change-Id: Idbe26696fac1c9952c0f241cb810a1ad7ca99c16
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoRevert "Revert "display: enable auto sleep for suspend mode"" 75/74475/2
taeyoung [Tue, 14 Jun 2016 09:41:37 +0000 (18:41 +0900)]
Revert "Revert "display: enable auto sleep for suspend mode""

This reverts commit 4b3b175c394d45a3273ce00815cd1c4a61d81a7a.

Change-Id: I71d510ba06548ab32d849d46e1e6291b39000d09
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agodisplay: deny LCD DIM request for TV profile 41/64241/3
Taeyoung Kim [Thu, 31 Mar 2016 00:34:17 +0000 (09:34 +0900)]
display: deny LCD DIM request for TV profile

- TV profile does not have LCD DIM state. However
  apps can request to change display state to dim state.
  Thus available state check routine is added to
  lock/unlock/change state functions.

Change-Id: I836315b5b233c0cc931a79313285f6e0c419b6e2
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoblock: mount tmpfs on block mount root path 71/68971/4
Taeyoung Kim [Wed, 11 May 2016 00:24:56 +0000 (09:24 +0900)]
block: mount tmpfs on block mount root path

- Previously, block mount root path was just a directory.
  Thus the mount path was remained if the storage is removed
  after poweroff. This occurred malfunction of apps
  which scan the mount root path.
- Now the block mount root path is mounted to tmpfs.
  Thus the mount path is removed after poweroff.

Change-Id: Icc959bbd5bac9e20d7a182230ec40e56c23e752e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
8 years agoMerge storage and block 17/64017/2 submit/tizen/20160615.042251
pr.jung [Tue, 29 Mar 2016 10:53:23 +0000 (19:53 +0900)]
Merge storage and block

Change-Id: I47f7a932710126857a94e7e4ed8a6a61ccc726b3
Signed-off-by: pr.jung <pr.jung@samsung.com>
8 years agoRevert "display: enable auto sleep for suspend mode" 46/74046/2 accepted/tizen/common/20160610.183527 accepted/tizen/ivi/20160611.084539 accepted/tizen/mobile/20160611.084358 accepted/tizen/tv/20160611.084444 accepted/tizen/wearable/20160611.084510 submit/tizen/20160610.124353
Kunhoon Baik [Fri, 10 Jun 2016 12:34:27 +0000 (05:34 -0700)]
Revert "display: enable auto sleep for suspend mode"

This reverts commit a45a20dd0dfcfb51002ede2daced110777a9ed69.

Change-Id: I7a12e79b08017ecb8bef24cb42eb010fa8cb8a0a

8 years agodisplay: add reason on the lcd off signal 91/73891/1
Taeyoung Kim [Fri, 10 Jun 2016 03:15:46 +0000 (12:15 +0900)]
display: add reason on the lcd off signal

- Previouly lcd off signal did not have any informaiton.
- Now lcd off signal contains the reason information.
  Thus other apps can know why the lcd is turned off.

Change-Id: Ie16e0cf3713197438de5bec8481aa11615616d27
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoblock: do not change the permission of external storages 70/73570/1 accepted/tizen/ivi/20160610.011730 accepted/tizen/mobile/20160610.012013 accepted/tizen/tv/20160610.011816 accepted/tizen/wearable/20160610.011851 submit/tizen/20160609.110755
Taeyoung Kim [Wed, 8 Jun 2016 14:03:42 +0000 (23:03 +0900)]
block: do not change the permission of external storages

- For the ivi x86_64 devices, the external storage is used
  as a hard drive. Thus it has kernel and other system features
  and the permission of the storage should not be changed.

Change-Id: Ib1500592cad8edf15bff96b4de391585bf3603aa
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agobattery: show notification when battery status is changed 06/73306/1
Taeyoung Kim [Tue, 7 Jun 2016 11:43:09 +0000 (20:43 +0900)]
battery: show notification when battery status is changed

- The dbus interface to show notification is changed.

Change-Id: Ib954619dc0b8afbe62e5ddf368fae12a1a19f880
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agodisplay: enable auto sleep for suspend mode 81/71981/1
Taeyoung Kim [Mon, 30 May 2016 05:16:21 +0000 (14:16 +0900)]
display: enable auto sleep for suspend mode

- Power autosleep should be enabled to go to suspend mode
  with power lock/unlock concept. The autosleep is
  enabled during init procedure of display module.

Change-Id: I0a53e70691dbda97079512114677aed282ea9c61
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoMerge "mmc: remove redundant comment" into tizen
Taeyoung Kim [Mon, 30 May 2016 04:22:51 +0000 (21:22 -0700)]
Merge "mmc: remove redundant comment" into tizen