taeyoung [Sat, 10 Dec 2016 05:47:01 +0000 (14:47 +0900)]
ir: add privilege for ir dbus interfaces
Change-Id: I773da6093cd86f57a2ad7cd6b8ac103f06f6dc1d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Fri, 9 Dec 2016 11:04:24 +0000 (20:04 +0900)]
power: send watchdog ping during power off
- Power off operation takes time, and deviced can be
killed by systemd. Thus deviced sends watchdog ping
during power off.
Change-Id: I61421cf75bed47e71281af0339ba12522c6913e3
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Fri, 9 Dec 2016 03:28:33 +0000 (12:28 +0900)]
common: Apply Tizen coding rule
Change-Id: I2ad0dc806bd32771ba5b6f5b78c678b204ca0d5a
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Thu, 8 Dec 2016 10:09:57 +0000 (19:09 +0900)]
block: Do not broadcast DeviceBlocked signal for private operation
Change-Id: Ic857c7c7109e14e81317fefd064fc5b3dba42c02
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Thu, 24 Nov 2016 09:59:54 +0000 (18:59 +0900)]
block: Add PrivateMount and PrivateUnmount
- When block device is mounted using PrivateMount,
other operation request is limited.
Only format request by same pid and
unmount & remove request when device is removed physically
is processed after PrivateMount
Change-Id: I0f02d76d05bc807f85cd4a546e5f976bbf6e294c
Signed-off-by: pr.jung <pr.jung@samsung.com>
lokilee73 [Wed, 7 Dec 2016 03:52:45 +0000 (12:52 +0900)]
add event noti off and exception code
Change-Id: I6ae375dbc8806c6d15d6a00a219cf65b50b767fd
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Wed, 7 Dec 2016 01:57:23 +0000 (10:57 +0900)]
fix bug when sending event noti
Change-Id: I143c31a9a3d847a46a3c8e9f39da10889ed774be
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
lokilee73 [Tue, 6 Dec 2016 09:59:44 +0000 (18:59 +0900)]
add event and active noti for low battery
Change-Id: I414ddb7c402b2250fd58e1cb7e4c16525affbbdd
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
pr.jung [Tue, 6 Dec 2016 05:45:31 +0000 (14:45 +0900)]
block: Modify wrong typecasting
Change-Id: I89e12081b92ed4180cf16f156fc56ac94a3068df
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Wed, 30 Nov 2016 08:37:58 +0000 (00:37 -0800)]
Merge "power: add poweroff node under /run during poweroff/restart target" into tizen_3.0
pr.jung [Mon, 21 Nov 2016 08:15:38 +0000 (17:15 +0900)]
deviced: Add notify code for every 10 seconds
Change-Id: Ia616aded5a3c2ae64d45e2ea819004569e6db556
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Mon, 28 Nov 2016 13:08:15 +0000 (22:08 +0900)]
power: add poweroff node under /run during poweroff/restart target
- poweroff node under /run shows that target need to be turned off.
Thus deviced makes the node before power off the device. If poweroff
procedure is blocked by a certain reason, deviced will be relaunched
by systemd and the target will be turned off by checking
the poweroff node.
Change-Id: I1192c49e15065462fd644836a3cb37dee9a702e0
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 30 Nov 2016 03:42:07 +0000 (12:42 +0900)]
power: turn off modem during power off
- CP modem needs to be turned off during power off
Change-Id: I28c287c091e7028d2018f93da5447f7ce6971f78
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 30 Nov 2016 06:06:01 +0000 (22:06 -0800)]
Merge "usb host: lock cpu when usb otg connector is connected" into tizen_3.0
taeyoung [Wed, 30 Nov 2016 06:05:41 +0000 (22:05 -0800)]
Merge "usb host: turn on display when usb otg devices are inserted" into tizen_3.0
taeyoung [Fri, 25 Nov 2016 08:01:07 +0000 (17:01 +0900)]
led: add led notification (rgb)
- LED notification is related with the front led
which can shows RGB colors. The led notification
is added for the led apis of capi-system-device.
Change-Id: I8793433fbe843d29852416464c93ee12aa4d01a8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Fri, 25 Nov 2016 02:04:37 +0000 (11:04 +0900)]
event handler: change value type from real value to the address of the value
- If an integer value is delivered by casting to (void *),
size issue occurs in 64 bit ebvironment. Thus the address
of the value is used for delivering.
Change-Id: Ic8dc10c82a57631ba5b46d71705fae20dd9fdb27
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 28 Nov 2016 13:47:25 +0000 (22:47 +0900)]
usb host: lock cpu when usb otg connector is connected
usb otg connector can be notified by the extcon event.
If usb otg connector is connected, CPU needs to be locked
Change-Id: Ic5569bf97f5716d1a99d84e720ed8936a0875458
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 24 Nov 2016 01:46:24 +0000 (10:46 +0900)]
usb host: turn on display when usb otg devices are inserted
Turning on display according to the state change of usb otg
is added like Tizen 2.4
Change-Id: I03bd1c4fb4b31e60d7dff2914f539204464d4daf
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Jeong Donghwan [Wed, 23 Nov 2016 12:01:54 +0000 (21:01 +0900)]
poll: modify pmlock manager data structure
PMLockNode structure used custom list.
So it is modified to data structure providing from the library.
Change-Id: I657e0be9224f4d5e4f18a52641cb9b716df11ae2
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
Jeong Donghwan [Wed, 23 Nov 2016 12:25:49 +0000 (21:25 +0900)]
poll: missing pmlock timeout_id after be requested again
Under scenario, power-manager will be released pmlock.
Because, previous sequence, when pmlock node was existed with
restriced timer, if pmlock is requested with infinity lock,
'node->timeout_id' is null already.
So old timeout_id(restricted timer) can not be removed.
Problem scenamrio :
1. 'A' process was requested pmlock with infinity lock.
2. Same process was requested pmlock with 5 second.
3. Same process was requested pmlock with infinity lock
before release previious lock
4. This requested pmlock will be released despite infinity option.
Change-Id: Icd5a3460b275508056b7e777653a05b5aad8fb90
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
Jeong Donghwan [Mon, 28 Nov 2016 01:37:58 +0000 (10:37 +0900)]
common: add CMAKE option about verbose value
cmake verbose option change to false value
Change-Id: I193b57aefaaf8300732dee8fc8c60b15dd44c93b
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
Taeyoung Kim [Tue, 29 Nov 2016 05:36:06 +0000 (21:36 -0800)]
Merge "display: remove unnecessary vconf setting" into tizen_3.0
Jeong Donghwan [Wed, 23 Nov 2016 12:53:00 +0000 (21:53 +0900)]
display: fix initialized broadcast value
First booting time, power-manager does not broadcast lcd off signal.
So it should be modified initialize value.
Change-Id: I2e2a3ebb686cff4819798d8656f954c1da6ee72c
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
Jeong Donghwan [Mon, 28 Nov 2016 01:31:59 +0000 (10:31 +0900)]
display: change async method from sync about dpms control
If dpms control is sync method, when dpms is controlling,
dbus method does blocking from another request until end dpms control.
Change-Id: I4ccf525f4127a334989e5e63d47b6e44d6c68057
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
taeyoung [Mon, 28 Nov 2016 02:14:00 +0000 (11:14 +0900)]
usb: do not start/stop operations with emulator environtment
- Emulator does not support mtp, rndis, and so on.
And sdbd should not be stopped in emulator.
Thus all operation start/stop routine need to be skipped
with emulator environtment.
Change-Id: Ia23842a880f7c4e2ca529929b28040780ce48b8d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kunhoon Baik [Fri, 18 Nov 2016 16:08:46 +0000 (01:08 +0900)]
Remove Eventsystem BOOT_COMPLETED Event
In Tizen 3.0, the meaning of event system SYS_EVENT_BOOT_COMPLETED is different.
(It should be aware Session Switching.
For the detail, contact to Mr.Ko JoungMyeong for the event system)
Thus, BOOT_COMPLETED event is removed because deviced does not aware session switching in Tizen 3.0
Change-Id: Ia8323fd8e52b48b663579680904094b9e4759487
Kunhoon Baik [Wed, 23 Nov 2016 08:42:32 +0000 (17:42 +0900)]
Potential Bug Fix : Checking NULL
Change-Id: Id9c6bbdfe2d64933495a6d8a91080270543a916c
taeyoung [Thu, 24 Nov 2016 01:58:26 +0000 (17:58 -0800)]
Merge "display: remove dependency related with X" into tizen_3.0
Jeong Donghwan [Wed, 23 Nov 2016 10:21:26 +0000 (19:21 +0900)]
display: remove unnecessary vconf setting
This value was set long ago. Now it is not used.
Change-Id: I7522d0a4ec6a0ca49a1edd3cee46c2682d061e0b
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
taeyoung [Tue, 22 Nov 2016 09:07:12 +0000 (18:07 +0900)]
display: remove dependency related with X
X is not used anymore.
Change-Id: Ibf3b7c5267ee0158cb848b349af01cc6b1206412
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 23 Nov 2016 09:17:19 +0000 (18:17 +0900)]
thermal: launch overhead popup and noti
According to the thermal status, overheat popup
and notification are launched.
Change-Id: I2513fdd931460cb1a15b7f8338dd9b0f56f66d16
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 21 Nov 2016 10:39:19 +0000 (19:39 +0900)]
display: launch power lock expired popup
If apps lock power permanently, the lock needs
to be released to decrease battery consumption.
Thus deviced launches the power lock expired popup
to get the user's choice
- kill app
- release lock
- continue to lock
Change-Id: I4dec7541c79ededd72a4083c58c11f2cecfe71a4
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kunhoon Baik [Mon, 21 Nov 2016 05:54:58 +0000 (14:54 +0900)]
thermal: add thermal information handling module
Thermal module needs to know the temparature of the AP
and need to launch popup for notice and turn off
the target to avoid the target damage.
Change-Id: Ia4c54984618697954d371e2e405af93a774f875f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 21 Nov 2016 05:33:48 +0000 (14:33 +0900)]
display: remove unused codes for SIM
Change-Id: I29433531f0e1eb6011e49b514dcb37197ef1d1da
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 21 Nov 2016 04:54:05 +0000 (13:54 +0900)]
event handler: add event handler to turn on/off event handling
- deviced receives uevents directly for block and usb host module.
In addition, deviced receives events by HAL for battery and extcon module.
- The event handling operation can be turned on/off manually
for testing and debugging.
Change-Id: I7a6b3479ee8a43738bd3d2165ffc0c24126a3605
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Mon, 21 Nov 2016 10:49:16 +0000 (19:49 +0900)]
libdeviced: fix param indexing about bytes array control of "ay" type
Change-Id: Ib5f6b9ec5dc9ba9154a4bb8612feabd79756c454
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Mon, 21 Nov 2016 05:00:01 +0000 (21:00 -0800)]
Merge "display: fix get/set brightness functions to be normalized" into tizen_3.0
Kunhoon Baik [Sat, 19 Nov 2016 02:55:13 +0000 (11:55 +0900)]
extcon: support usage count about extcon-related devices
- earjack connection count
- charger conneciton count
- battery full charging count (exception)
Change-Id: Id3956708bfb373939553165bd1f7f85087721a7a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kunhoon Baik [Fri, 18 Nov 2016 15:39:22 +0000 (00:39 +0900)]
display : remove dependency from X
Change-Id: Ibc784b2c996f659bf62311bb52e4981b02ed2004
taeyoung [Fri, 4 Nov 2016 03:13:30 +0000 (12:13 +0900)]
display: fix get/set brightness functions to be normalized
- All function to get/set brightness should normilize
the brightness value to 0~100 since deviced handles
the brightness from 0 to 100
Change-Id: Ic74c8f65f7d56ddaafbf39697deffc95ad29480b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Kunhoon Baik [Fri, 18 Nov 2016 15:35:23 +0000 (00:35 +0900)]
apps: change popup and noti launch interface from sync to async
no need daemon dbus sync call to launch popup or notifications so change them to async call
Change-Id: I80a94b0126cc88aaf931445b8bc23fbbc13e788c
pr.jung [Tue, 15 Nov 2016 01:56:33 +0000 (10:56 +0900)]
block: make file as /run/external-storage/id for mounted sdcard
- make file before sending DeviceChanged signal for mount.
- remove file before sending DeviceBlocked signal for unmount
Change-Id: I365f228cb44b8f07da09b23c2968669d24bc88b7
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Thu, 17 Nov 2016 05:52:44 +0000 (14:52 +0900)]
haptic: Add signal to notify when haptic initialization is finished
Change-Id: Ib94edf74bddd53ebdfb99fdd2f109fa40b5f78fd
Signed-off-by: pr.jung <pr.jung@samsung.com>
Giyeol Ok [Thu, 17 Nov 2016 04:00:22 +0000 (13:00 +0900)]
shared-dbus: fix param indexing about bytes array control of "ay" type
"ay"type signal have 2 integer type filed so we should be approached 1 increased access
Change-Id: I629b34e467b01dbbc87ae2f1e0b3f87f78e23688
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
taeyoung [Tue, 15 Nov 2016 08:48:26 +0000 (17:48 +0900)]
common: add comment for the experimental macros
Change-Id: Ie80959f6fd6aab0a721c64b8a6136e7094800c7b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Giyeol Ok [Wed, 16 Nov 2016 03:57:05 +0000 (12:57 +0900)]
common: sync core modules with previous released platform
sync core modules with previous released platform
Change-Id: I623799ac4f5f4030cd7e338cf9f2932eaea1dbcc
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
pr.jung [Wed, 16 Nov 2016 05:12:16 +0000 (21:12 -0800)]
Merge "Only modify op->done between lock and unlock of mutex" into tizen_3.0
Giyeol Ok [Wed, 16 Nov 2016 03:22:32 +0000 (12:22 +0900)]
hatpic: enable haptic configuration
haptic need vibration level configuration to control vibrator strength
Change-Id: I6cecc2660b4c14630bc72744e614d01d37ffc936
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
pr.jung [Wed, 16 Nov 2016 02:28:20 +0000 (11:28 +0900)]
Only modify op->done between lock and unlock of mutex
Change-Id: I718e34aa55772739e4427c37589fe409d30cdf3b
Signed-off-by: pr.jung <pr.jung@samsung.com>
Giyeol Ok [Tue, 15 Nov 2016 11:03:43 +0000 (20:03 +0900)]
device-notifier: add device-notifier enum types
sync with previous released device notifiers
Change-Id: I4c1ea77e207ced286bf69f388d9def32f24226bb
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Giyeol Ok [Tue, 15 Nov 2016 07:39:34 +0000 (16:39 +0900)]
dbus: add dbus interface defines and async call api
add previous released dbus interface reference name and define async call api
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Change-Id: Ic3ca85ec52faaade9fb3d41530a0e3ac6e9f6113
Giyeol Ok [Tue, 15 Nov 2016 05:17:57 +0000 (14:17 +0900)]
device-notifier : add udev stop and start device-notifier
uevent register modules into the hal layer needs notify to check start and stop request
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Change-Id: Id2ab9c1dd088be746bc2d8e56ab9f4bb8efba281
Jeong Donghwan [Tue, 8 Nov 2016 05:26:25 +0000 (14:26 +0900)]
poll: modify internal poll request id
It does not know change or lock reason of logdump.
Also, if the moudle requested lock using deviced pid, it can be released
by another module.
So all request should be assigned internal value.
Change-Id: I98028bd2fbf876c48549e89b8fb5ef33458da69d
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
Jeong Donghwan [Wed, 9 Nov 2016 09:38:08 +0000 (18:38 +0900)]
key-filter: extend key combination
extend key combination and refactoring
Change-Id: I85117238ab50693a1d803b09c5f3b211bae4f695
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
taeyoung [Mon, 14 Nov 2016 10:35:18 +0000 (19:35 +0900)]
battery: change macros to configurable values
- Hard coded macros are changed to the configurable values.
The values are defined in battery.conf
- Initial battery capacity is set to -1 to avoid
real power off situation.
Change-Id: I54664266c45a3f5286eba82f617198c5a92dedd5
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 14 Nov 2016 08:28:37 +0000 (00:28 -0800)]
Merge "power: handle user session done signal from systemd" into tizen_3.0
taeyoung [Mon, 14 Nov 2016 07:32:20 +0000 (16:32 +0900)]
power: handle user session done signal from systemd
- Previously, booting-done signal was broadcated
if system session is done.
- Now, deviced receives the user session done signal
from systemd. Thus booting-done signal is broadcasted
if both system and user session are done.
Change-Id: I92b5c5ca4ef992f282c5824c5e3f0b82a4b6129d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Mon, 14 Nov 2016 07:33:09 +0000 (16:33 +0900)]
Merge remote-tracking branch 'origin/tizen' into tizen_3.0
Change-Id: I7767bf03e4627be7f451a6052234782b81d6f110
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Thu, 3 Nov 2016 09:35:08 +0000 (18:35 +0900)]
block: Check devlink for sdcard uevent on emulator
Change-Id: I369e162ab612e86c7abfd9edc35fca5faa676bf6
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Mon, 14 Nov 2016 04:57:38 +0000 (13:57 +0900)]
usb: fix bitwise operation error
- The routine is for checking MTP is enabled.
Thus '|' needs to be changed to '&'.
Change-Id: I9e41e95cc26cda47b41872d0fe148452555ff034
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 14 Nov 2016 04:26:55 +0000 (13:26 +0900)]
usb: change selected mode update position
- Selected mode update operation is separated from
the gadget change operation. The operation needs
to be executed even if real gadget change operation
is not executed in emulator.
- Gadget enable operation does not check the previous
usb mode. It just enables usb gadget which is
currently set.
Change-Id: I6e252109812ea7842a9c156a11bd18884946ea10
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Sat, 12 Nov 2016 10:03:05 +0000 (19:03 +0900)]
Merge branch 'tizen' into tizen_3.0
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: I2f4fb4820ff3ac83427f381dc0d57ff85782443f
taeyoung [Sat, 12 Nov 2016 09:49:43 +0000 (18:49 +0900)]
usb: do not set usb gadget on emulator
Emulator kernel does not have the usb module. Thus there is
no need to enable gadgets. Just state updating is required
Change-Id: Ib547932752182caeaeae194b07a4bc3171c56e9f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Sat, 12 Nov 2016 09:31:48 +0000 (18:31 +0900)]
usb: change usb mode value of vconf like Tizen 2.4
- vconf value for usb mode is changed to SET_USB_XXXXX
like Tizen 2.4
Change-Id: I2e6263a8949ab0d9ebc59e9d4bfb84894464a1d3
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Sat, 12 Nov 2016 07:56:54 +0000 (16:56 +0900)]
usb: usb tethering is enabled
- Previously, usb gadget is not enabled when usb tethering is turned on.
The issue is also related with usb mode change.
- Now, usb mode change function disables, reconfigures, and enables
the usb gadget. Thus usb tethering can be enabled.
- The positions of the usb state change operation are changed
for physical and logical usb mode changes
Change-Id: I336a43a75bc03c831be61b80b09498c054efb7d1
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 1 Nov 2016 10:33:27 +0000 (19:33 +0900)]
block: change not to skip permission set operation
- The codes were applied in case that a removable storage
is used as an internal storage. The permission of the
storage should not be changed to use as a rootfs.
- Now, block module does not try to mount the storage
if it is mounted as rootfs. Thus the codes for skipping
permission change is not necessary.
Change-Id: If5626d81e7f962c9ff358bcb1664226e7c283645
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Fri, 4 Nov 2016 06:35:27 +0000 (15:35 +0900)]
emulator: move emulator check function to common function
Emulator check operation can be used other modules.
Change-Id: I6be8d1f1312573e82fd5e83c273c5e990c3d1394
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Sunmin Lee [Thu, 10 Nov 2016 04:22:30 +0000 (13:22 +0900)]
PM state dump: fix bug
Change-Id: Id3e35c708ec5dcb421c160b1df955bd32061e883
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 8 Nov 2016 06:23:42 +0000 (15:23 +0900)]
PM state dump: change target directory
Change target directory of pm_state.log.
In addition, the script that dumps pm state is installed to
dump script directory (TZ_SYS_DUMPGEN).
Change-Id: I65a7647a738354b6a062fff502af4cebd0f25f2b
pr.jung [Wed, 2 Nov 2016 07:33:49 +0000 (16:33 +0900)]
Merge branch 'tizen' into tizen_3.0
Change-Id: I628fc311e4f5618de00beafc234fce2898eb76f8
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Wed, 2 Nov 2016 07:14:31 +0000 (00:14 -0700)]
Merge "Check whether internal storage when sdcard is inserted(emulator)" into tizen
pr.jung [Mon, 24 Oct 2016 11:44:22 +0000 (20:44 +0900)]
Check whether internal storage when sdcard is inserted(emulator)
Change-Id: I026fb9b2f0b4e948580ceca7c0d2effa8aeb8031
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Tue, 1 Nov 2016 07:33:05 +0000 (16:33 +0900)]
power: systemd dbus method and signal are used to check if booting is done
- Previously, zbooting-done.service was used to check if booting is done.
The zbooting-done.service had dependency to the default target
which is linked to graphical target in Mobile and Wearable profiles.
However Headless target (without display) does not have graphical target,
and IVI profile has different default target which is linked to
other target. Thus zbooting-done.service had problems to all profiles
and targets.
- Now, systemd dbus method and signal are used to check if booting is done.
The signal is delivered when system session is done, and the method
returns "running" or "degraded" if the system session is done.
** Method
- bus: org.freedesktop.systemd1
- object path: /org/freedesktop/systemd1
- interface: org.freedesktop.DBus.Properties
- method name: Get
- parameter: 2 strings
"org.freedesktop.systemd1.Manager"
"SystemState"
** Signal
- object path: /org/freedesktop/systemd1
- interface: org.freedesktop.systemd1.Manager
- signal name: StartupFinished
Change-Id: Ib0de90d81577d2376c065cca44edebfcf236956b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Tue, 1 Nov 2016 02:25:52 +0000 (11:25 +0900)]
Null check for ir_device
Change-Id: I6915e46cc8799a75440b4176f59f6c899d7418ff
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Mon, 31 Oct 2016 04:18:07 +0000 (21:18 -0700)]
Merge "Remove notifier for haptic and add signal handler" into tizen
pr.jung [Wed, 26 Oct 2016 08:20:22 +0000 (17:20 +0900)]
Remove notifier for haptic and add signal handler
- deviced-vibrator can't not be notified by deviced
- So, deviced-vibrator handle signal instead
Change-Id: Idbe290588ef5c771685147c979c7094ea63e14b1
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Fri, 28 Oct 2016 11:33:50 +0000 (04:33 -0700)]
Merge "display: remove unused variable" into tizen
taeyoung [Fri, 28 Oct 2016 11:33:46 +0000 (04:33 -0700)]
Merge "display: fix sensor codes for multiple sensors" into tizen
taeyoung [Fri, 28 Oct 2016 04:10:04 +0000 (13:10 +0900)]
display: remove unused variable
Change-Id: I8f27f03f6df96de00e187acea426fe48e5edd17d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Fri, 28 Oct 2016 01:33:37 +0000 (10:33 +0900)]
display: fix sensor codes for multiple sensors
Multiple sensors can be supported for the Light sensing.
Thus we need to choice one sensor to get the light value.
Change-Id: I81bf18552211259c1fb0f9b8d5947ff95e4c8e1f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Taeyoung Kim [Fri, 28 Oct 2016 03:38:21 +0000 (20:38 -0700)]
Merge "Fix tzip problem with hybrid packages made by Tizen IDE" into tizen
Bartlomiej Kunikowski [Fri, 14 Oct 2016 07:31:57 +0000 (09:31 +0200)]
Fix tzip problem with hybrid packages made by Tizen IDE
There are some problems when tzip tried mount hybrid package form
Tizen IDE. There are problems when package has different entries
than package created by default Linux's zip.
Change-Id: Iafeff67746af09cb9afc6318299eb6a64cbc2d42
Signed-off-by: Bartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
taeyoung [Thu, 27 Oct 2016 11:25:26 +0000 (04:25 -0700)]
Merge "display: modify display frame rate operation to use HAL" into tizen
pr.jung [Thu, 27 Oct 2016 07:10:02 +0000 (16:10 +0900)]
Modify VibrateEffect operation
- Use idler callback for VibrateEffect
- Return immediately after parameter checked
Change-Id: Iec2fe70832f614544040f28e1a06b82ca93cae28
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Wed, 26 Oct 2016 08:15:41 +0000 (17:15 +0900)]
display: modify display frame rate operation to use HAL
- Display frame rate (refresh rate) can be changed
by the HAL interfaces.
Change-Id: I5283390af16e9b5a595211677e5eb224489e9e3a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 25 Oct 2016 02:51:56 +0000 (11:51 +0900)]
battery: fix header file name typo
Change-Id: Id009ce4085c4603993b9892fd19cd6516b1d26c6
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 24 Oct 2016 09:31:24 +0000 (18:31 +0900)]
display: remove acl related codes
Calibration is not supported now, and thus
the dbus methods are removed.
Change-Id: Id779f1d10a2dc55a85c5e491dbe305c1ed99717e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 24 Oct 2016 08:33:34 +0000 (17:33 +0900)]
ir: remove legacy ir codes
The legacy ir codes are not working.
Change-Id: I05c1bbe920f810c49879f4723996b4d2e9fccd8b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 24 Oct 2016 07:49:50 +0000 (16:49 +0900)]
battery: remove OAL related codes
The function device-set/get-property() for OAL
are not supported anymore. Thus they are changed
to use battery variable which store battery status.
Change-Id: I03311ede1781cf056d82b5474324b5f2b12d83a5
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 24 Oct 2016 03:04:07 +0000 (12:04 +0900)]
display: fix auto-brightness change operation
- Previously, auto-brightness change did not work
since sensor apis were little bit changed, and
there was no HAL to convert the sensing value
to the brightness value.
- Now, auto-brightness change works well. The codes
related with sensor are fixed to deliver the handle
of the sensor object, not the pointer of the handle.
And brightness converting HAL is newly added, and
thus the HAL provides the correct brightness according
to the light sensing value.
Change-Id: If35a056f5c75ac91a76491a2021859507dec716e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 24 Oct 2016 02:10:39 +0000 (11:10 +0900)]
display: remove lbm
lbm is replaced to auto-brightness operation
Change-Id: I702aef8ea2d0b0331775d4dcdd9dfbdaa6998e81
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 20 Oct 2016 07:24:17 +0000 (16:24 +0900)]
display: do not change next state by timeout when Alwayson is enabled
- If the next state of display is same with the current state,
display timeout cannot be reset since there is no timeout with
this state change. No time occurs the display state change.
- When display timeout is set 0 by setting app, Alwayson is enabled
and the next state of LCDON is changed to LCDON. Thus display is
turned on during turning off the display (before updating
display state)
- The issue is fixed by skipping update the next state of the LCDON
even if Alwayson is enabled.
Change-Id: Icd38221374789a63e2d01222ef3f3eed1b283968
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 20 Oct 2016 07:13:45 +0000 (16:13 +0900)]
Revert "display: skip state change operation if next state is same as current state"
This reverts commit
819cd27d75a80834c4f5bf746462040915a548a9.
The commit makes missing resetting timeout issue.
Change-Id: Idb3553ec51e219d214a20ccc511e1d364d522d5f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 13 Oct 2016 09:47:26 +0000 (18:47 +0900)]
power: add privilege check routine for reboot operation
The reboot operation is permitted to privileged apps only.
Change-Id: I58e161cbb7b6b1bb54fc6e7dffd5f62eefa12fec
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 13 Oct 2016 09:33:20 +0000 (18:33 +0900)]
power: fix shutdown animation error issue
- Launching manner of the shutdown animation is changed
to use systemd service. Thus the codes are fixed.
- For the sound-server, the function to tuen off sound related
operations is removed from Tizen 3.0. Thus it is removed.
Change-Id: I1950a3e4a796bf5606170b001d01d2876b528fed
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 13 Oct 2016 09:15:07 +0000 (18:15 +0900)]
power: change power off functions to "static"
The power off functions are not used other places.
Thus they are changed to static functions.
Change-Id: I0ea219217ebce7af46e1b1557bb1841cc372b6b3
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 13 Oct 2016 05:16:19 +0000 (14:16 +0900)]
battery: reduce logs for periodical battery reports
There are so many logs for periodical battery reports.
They can reduce the readability for logs. Thus the logs
are reduced.
ex)
battery_state(709) > Full(Discharging) usb(4) Capa(100) Hth(Good,Low), Pres(1), OVP(X), Curr(88,88)
Change-Id: I792f4486ce34f17ba8e1db9640b47c6f1316f68e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 18 Oct 2016 11:40:04 +0000 (20:40 +0900)]
display: skip state change operation if next state is same as current state
- Previously, display state was set again even if next state
is same as current state. Thus display was turned on for a while
during turning off the display since pm_cur_state was updated
after turning off the display and checking if the state is transitable.
- Now, display transition is ignored if next state is same as
current state. Thus the state is not transitable in the case.
Change-Id: I605916c5e2235e46b0b8b04375b4427b32584665
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Giyeol Ok [Fri, 14 Oct 2016 04:36:34 +0000 (13:36 +0900)]
spec: change deviced main version
deviced main version is not changed until now
so raise up it to 2.x.x
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Change-Id: I03d35d26f3fe7f1b492c5ff39bf2dd5c9ecb852b