platform/core/system/deviced.git
6 years agodbus: clean up dbus policy 23/141623/8
sanghyeok.oh [Tue, 1 Aug 2017 06:55:25 +0000 (15:55 +0900)]
dbus: clean up dbus policy

Change-Id: I0f798e7f33eff857914a14691ba01c7cf9bd26fe
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoBattery: remove PROFILE_MOBILE in low and critical notification 41/170041/13
lokilee73 [Tue, 13 Feb 2018 05:11:52 +0000 (14:11 +0900)]
Battery: remove PROFILE_MOBILE in low and critical notification

Change-Id: I678fa8b6c941def34248787bf094209de64fcdf5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agotzip: fix race condition between tzip_thread and tzip_mount_thread 40/169940/5
insun.pyo [Mon, 12 Feb 2018 08:01:45 +0000 (17:01 +0900)]
tzip: fix race condition between tzip_thread and tzip_mount_thread

 - Add synchronization code between tzip_thread and tzip_mount_thread.
   tzip_mount_thread must wait for tzip_thread to complete.

 - Initializes async_queue out of the tzip_mount_thread.
   It adds synchronization between main loop and tzip_mount_thread.

 - add atomic varial stop_or_error to handle error between threads.

Signed-off-by: insun.pyo <insun.pyo@icloud.com>
Change-Id: If94cf4d7d58feeb1ad6d24f0d5902277bb266e94
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRemove build warning 31/170031/3
INSUN PYO [Tue, 13 Feb 2018 04:08:04 +0000 (13:08 +0900)]
Remove build warning

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ia4bc639138df378aa607121e8293a7c6f39392e9

6 years agoFix a bug in dbus for method DeviceList 78/169878/2 accepted/tizen/unified/20180213.055906 submit/tizen/20180212.102636
lokilee73 [Mon, 12 Feb 2018 04:46:58 +0000 (13:46 +0900)]
Fix a bug in dbus for method DeviceList

Change-Id: Iaf9972473c3f6ac3a8bada31b0491cc8404889c5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoFix indentation 89/169689/4
sanghyeok.oh [Thu, 8 Feb 2018 02:51:45 +0000 (11:51 +0900)]
Fix indentation

Change-Id: I5984b19abf889e7e48fac9b5c1fc3c82a91d5ac2
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoUsb: change returned value from integer to unsigned 65/169865/2
lokilee73 [Mon, 12 Feb 2018 01:55:49 +0000 (10:55 +0900)]
Usb: change returned value from integer to unsigned
     integer for the dbus method of GetState and GetMode

Change-Id: Iafb5a6beff8dc7f8267a15cf30573b909037e32b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoReorganize .conf files and combine PROFILE rpms into a unified one 11/169611/14
Hyotaek Shim [Thu, 8 Feb 2018 02:53:43 +0000 (11:53 +0900)]
Reorganize .conf files and combine PROFILE rpms into a unified one

Change-Id: I013a02fdc716b1bc42aae5c6740acb381d0e81d6
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoClean up display-PROFILE.conf files 17/169517/3 accepted/tizen/unified/20180208.163643 submit/tizen/20180208.055209
Hyotaek Shim [Wed, 7 Feb 2018 07:38:03 +0000 (16:38 +0900)]
Clean up display-PROFILE.conf files

Change-Id: Iafbf195b2056c3dad65493f4a710b8b96628064b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agotzip: refactoring 20/169520/2
INSUN PYO [Wed, 7 Feb 2018 07:41:24 +0000 (16:41 +0900)]
tzip: refactoring

 - Cleanup header
 - Fix indentation
 - Dbus message error handling
 - Fix using errno in the wrong location
 - Change smack label from option to required
 - Remove build warning : using uninitialized diff_size variable (compiler bug)
 - Bugfix : sideeffect. changing full filename on get_file_info().

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ie727ccd1633203e98d3aea7728fc4080d042ef30

6 years agodbus: change word 'edbus' to 'dbus' 56/169356/2
sanghyeok.oh [Tue, 6 Feb 2018 06:55:53 +0000 (15:55 +0900)]
dbus: change word 'edbus' to 'dbus'

Change-Id: If60a5d8e062724eb6646f2e7ee4aeb0282678d6a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoModify the mode of source files as 0644 49/169449/1
Hyotaek Shim [Wed, 7 Feb 2018 02:07:36 +0000 (11:07 +0900)]
Modify the mode of source files as 0644

Change-Id: If95b8f48d52ca38e2e56181427b659a69cd6e4dd
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoled: Modify multi-LED APIs 28/169328/2
Hyotaek Shim [Tue, 6 Feb 2018 04:36:03 +0000 (13:36 +0900)]
led: Modify multi-LED APIs

Change-Id: Ia85eee582a0a752effd25837b74039228989ddd7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoled: Add new APIs that control multiple LEDs 98/169098/12
sanghyeok.oh [Fri, 2 Feb 2018 07:20:58 +0000 (16:20 +0900)]
led: Add new APIs that control multiple LEDs

Change-Id: I48de38bcedb527148cf1f63a34adb54143b43a9c
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoEnhance the priority of the periodic watchdog_cb() 22/169222/6
Hyotaek Shim [Mon, 5 Feb 2018 05:14:24 +0000 (14:14 +0900)]
Enhance the priority of the periodic watchdog_cb()
to avoid crash under unexpectedly blocked sync calls or intensive workload

Change-Id: Idb66cacde1dfc211f25b0802cc1ed491bbd58af9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoClean up Thermal interfaces 84/169184/1
Hyotaek Shim [Mon, 5 Feb 2018 02:28:13 +0000 (11:28 +0900)]
Clean up Thermal interfaces

Change-Id: I2903d8111ff125f37bb9e0bead2c713e73ea286c
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoCool-down: remove enum value LOW for temperature and change strings 59/169159/3
lokilee73 [Fri, 2 Feb 2018 13:42:50 +0000 (22:42 +0900)]
Cool-down: remove enum value LOW for temperature and change strings

Change-Id: Icd34da6e36989139fd2eaf292fd8d8d867891838
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoFix casting warning 38/169138/1
pr.jung [Fri, 2 Feb 2018 10:53:15 +0000 (19:53 +0900)]
Fix casting warning

Change-Id: I819b8858bcc83241054c7eb699633df5131f1924
Signed-off-by: pr.jung <pr.jung@samsung.com>
6 years agodbus: change edbus/ecore to common dbus api 96/168396/9 accepted/tizen/unified/20180201.080004 submit/tizen/20180201.020719
sanghyeok.oh [Fri, 26 Jan 2018 07:48:08 +0000 (16:48 +0900)]
dbus: change edbus/ecore to common dbus api

Change-Id: Ief4f13d7ac80fbb25355520baab5dd4d08a69534
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agotzip: protect hashmap with lock/unlock for tzip_is_mounted() 85/166785/6 accepted/tizen/unified/20180119.061117 submit/tizen/20180117.044734
INSUN PYO [Fri, 12 Jan 2018 02:17:32 +0000 (11:17 +0900)]
tzip: protect hashmap with lock/unlock for tzip_is_mounted()

0  strcmp () at /usr/src/debug//////////////glibc-2.24/string/../sysdeps/arm/armv7/strcmp.S:181
1  0xb63867d8 in g_str_equal (v1=<optimized out>, v2=<optimized out>) at /usr/src/debug/glib2-2.52.2/glib/ghash.c:1848
2  0xb6385bcc in g_hash_table_lookup_node (hash_return=<synthetic pointer>, key=0x5aaf60, hash_table=0x53d730) at /usr/src/debug/glib2-2.52.2/glib/ghash.c:396
3  g_hash_table_lookup (hash_table=0x53d730, key=key@entry=0x5aaf60) at /usr/src/debug/glib2-2.52.2/glib/ghash.c:1149
4  0x004fe548 in get_mount_entry (mount_path=mount_path@entry=0x5aaf60 "/opt/usr/apps/com.samsung.tv.UBSports/.pkg") at /usr/src/debug/deviced-1.0.3/src/tzip/tzip-utility.c:42
5  0x00503848 in tzip_is_mounted (mount_point=0x5aaf60 "/opt/usr/apps/com.samsung.tv.UBSports/.pkg") at /usr/src/debug/deviced-1.0.3/src/tzip/tzip.c:656
6  0x00503ad0 in edbus_request_ismounted_tzip (obj=<optimized out>, msg=0x564c08) at /usr/src/debug/deviced-1.0.3/src/tzip/tzip.c:854
7  0xb6717580 in e_dbus_object_handler (conn=0x588b68, message=0x564c08, user_data=0x598e48) at /usr/src/debug/e_dbus-1.7.9/src/lib/dbus/e_dbus_object.c:545
8  0xb66d973c in writer_write_reader_helper (writer=0xb67458ec, reader=0x576290, start_after=0xbe173d3c, start_after_new_pos=5655560, start_after_new_len=-1233889036, fixups=0xb67458ec, inside_start_after=3189194044) at /usr/src/debug/dbus-1.10.6/dbus/dbus-marshal-recursive.c:2788
Backtrace stopped: Cannot access memory at address 0x554e46f8

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Iabfdd0c2a51b6c961bcc6a67c7084ab8c52898ab

6 years agoRemove unused deviced-profile_ivi rpm 29/166429/4 accepted/tizen/unified/20180112.073230 submit/tizen/20180112.044613
Hyotaek Shim [Wed, 10 Jan 2018 07:31:59 +0000 (16:31 +0900)]
Remove unused deviced-profile_ivi rpm

Change-Id: I7b7a332ef13c7a224b6720dfef3377dc5bb3f730
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agotzip: cache improvement 89/166289/7
INSUN PYO [Tue, 9 Jan 2018 07:24:26 +0000 (16:24 +0900)]
tzip: cache improvement

- cache size limitation : 24 Kbyte.
- free as soon as you use cache.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I0de8c20c61026c253ae8a873de5dbeaea2115228

6 years agoFix a bug in tzip read operation(read_zipfile) 17/165617/4
Semun Lee [Wed, 3 Jan 2018 00:02:56 +0000 (09:02 +0900)]
Fix a bug in tzip read operation(read_zipfile)

When the same file is read again, the file pos for unzReadCurrentFile is not initialized to zero-offset.

Change-Id: I342c2731fce2f8a3c30d2f0b834146a23daa6353
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoMerge "usb-host-test: Add interrupt endpoint support" into tizen
Chang Joo Lee [Tue, 19 Dec 2017 10:18:44 +0000 (10:18 +0000)]
Merge "usb-host-test: Add interrupt endpoint support" into tizen

6 years agousb-host-test: Add interrupt endpoint support 67/164167/4
Paweł Szewczyk [Fri, 15 Dec 2017 16:44:26 +0000 (17:44 +0100)]
usb-host-test: Add interrupt endpoint support

Add 2 additional interrupt endpoints to our ffs daemon
to provide also interrupt loop functionality.

Change-Id: I40757984eaf6b5f985e94d8fbca803a2523b1b3b
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoDisplay: to check privilege of caller without log 70/162570/1 accepted/tizen/unified/20171205.060656 submit/tizen/20171204.104825 submit/tizen/20171205.110259
lokilee73 [Mon, 4 Dec 2017 08:42:01 +0000 (17:42 +0900)]
Display: to check privilege of caller without log

Change-Id: Ifdcbffd55c12d7dcc6d50d36bf18445c84f619e4
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoModify the timing of sd_notify(READY) and adjust the timeout for dbus reply calls... 76/160676/3
Hyotaek Shim [Fri, 17 Nov 2017 11:19:22 +0000 (20:19 +0900)]
Modify the timing of sd_notify(READY) and adjust the timeout for dbus reply calls to 10 seconds
+
Modify LICENSE to LICENSE.Apache-2.0

Change-Id: I3cbfde4b7c573a2bca0559446c19981650b52cd4
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoRevert "display: add privilege for lockstate dbus method" 93/159993/1
Hyotaek Shim [Tue, 14 Nov 2017 05:04:42 +0000 (14:04 +0900)]
Revert "display: add privilege for lockstate dbus method"

This reverts commit 3a185bd151c21b420c1d852163596e38f0a44074.

Change-Id: I9dea427db4bb70b6a131c12ad0b4ef29f203bd8b
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoControl: to enable getcontrol 06/158106/1 accepted/tizen/unified/20171103.162256 submit/tizen/20171103.012613
lokilee73 [Fri, 27 Oct 2017 09:13:42 +0000 (18:13 +0900)]
Control: to enable getcontrol

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

6 years agoFix indentation 60/157760/1
INSUN PYO [Thu, 26 Oct 2017 06:33:58 +0000 (15:33 +0900)]
Fix indentation

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I0f2067151e410016679914be07f5409c4b6758fd

6 years agoCommon: change to fix coding rule violation 78/157278/3
lokilee73 [Tue, 24 Oct 2017 04:42:51 +0000 (13:42 +0900)]
Common: change to fix coding rule violation

Change-Id: Ia26b8d036e2a288bf3ab5faac5e6ba172a4f3db3
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoDPM: apply dpm policy for usb 19/157219/4
lokilee73 [Wed, 18 Oct 2017 07:11:09 +0000 (16:11 +0900)]
DPM: apply dpm policy for usb

When dpm policy about usb is received, the target has to take actions according to the policy.
1. Allow
   The host can access to the target via usb and the user can see the storage of it
2. Disallow
   The host cannot access to the target via usb, so the user cannot see the contents of storage

Change-Id: I32918269d3ddb41cac948c36d73cb4ad741d32dc
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agousb-host: limit the authority of usb-host-ffs-test-daemon.service to prevent security... 79/154979/1 accepted/tizen/unified/20171012.075229 submit/tizen/20171012.013346
lokilee73 [Wed, 11 Oct 2017 13:15:33 +0000 (22:15 +0900)]
usb-host: limit the authority of usb-host-ffs-test-daemon.service to prevent security issue

Change-Id: I951cf9232a02db4c6ea3fa897c01c813538c91f5
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
6 years agoudev: Increase udev monitor buffer size 50/152750/1 accepted/tizen/unified/20170928.072331 submit/tizen/20170927.065426 submit/tizen/20170927.232137 submit/tizen/20170928.032238
INSUN PYO [Wed, 27 Sep 2017 04:42:43 +0000 (13:42 +0900)]
udev: Increase udev monitor buffer size

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ia5758abe04279fbc8261e7c8bbaae02ba56dcda6

6 years agotouchscreen: enable touchscreen to support in common profile 84/152384/1 accepted/tizen/unified/20170926.165644 submit/tizen/20170926.040443
lokilee73 [Tue, 26 Sep 2017 03:54:42 +0000 (12:54 +0900)]
touchscreen: enable touchscreen to support in common profile

Change-Id: I10e32e93274ee69c657f29ca944cb3edc5b4378e
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
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