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>
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>
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>
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>
Yunmi Ha [Fri, 12 May 2017 00:35:14 +0000 (00:35 +0000)]
Merge "display: add privilege for lockstate dbus method" into tizen
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>
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>
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>
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>
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>
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
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
wchang kim [Thu, 20 Apr 2017 02:02:46 +0000 (11:02 +0900)]
battery : Adding the lowbat level custom setting.
Change-Id: I813c2b5f3bc6029ec06b9240cde80d4342cf5b16
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
taeyoung [Fri, 20 Jan 2017 07:06:32 +0000 (23:06 -0800)]
Merge "usb: enable debug mode" into tizen
taeyoung [Fri, 20 Jan 2017 04:53:48 +0000 (20:53 -0800)]
Merge "low power: add low power mode" into tizen
taeyoung [Fri, 6 Jan 2017 09:36:02 +0000 (18:36 +0900)]
display: set vconf key only if the value is changed
Previously, the vconf key could be set with same value.
Thus the display state callback of the capi-system-device
could be called several times with same state.
Now, the vconf key is updated only if the value is changed.
Thus the callback of the api will be called once
for a certain display state.
Change-Id: I35a89dc6a882b58fb86c21a2b8a8b570231db97c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
lokilee73 [Thu, 19 Jan 2017 15:03:34 +0000 (00:03 +0900)]
battery : fix a bug in active and event noti
current battery value should be shown in active noti.
but, it was applied to event noti.
Change-Id: Iafb62c6a309870a23599a6b7d87d0c4766860f91
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
taeyoung [Thu, 19 Jan 2017 01:59:09 +0000 (10:59 +0900)]
display: enable key input handlers for TV profile
The Key input includes power key to turn off the device.
Change-Id: I64052e20ef1f02f0042d543e13c3280ff6e12338
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 17 Jan 2017 11:46:39 +0000 (20:46 +0900)]
common: exchage readdir_r to readdir
readdir_r is deprecated. Thus it is exchanged to readdir.
https://lwn.net/Articles/696474/
Change-Id: If4751b742aa903688d8f0e52f54771ad66ecd697
Signed-off-by: taeyoung <ty317.kim@samsung.com>
lokilee73 [Mon, 16 Jan 2017 04:52:53 +0000 (13:52 +0900)]
battery : add PROFILE_MOBILE to distinguish low battery noti between mobile and wearable
active and event noti are sent for mobile and only active noti is sent for wearable.
Change-Id: Ia2ea7fcbba91de4603e1f4db542366284feb3722
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
taeyoung [Mon, 16 Jan 2017 04:26:44 +0000 (13:26 +0900)]
usb: enable debug mode
Debug mode is enabled/disabled by vconf key.
Previously, the vconf key handler did not exist,
and thus debug mode option on the setting app
could not work.
Now, the vconf key handler is added, and thus
sdb can be enabled/disabled according to the
setting app menu(vconf key).
Change-Id: I9a4e28614eb5f0729286182c5315be8b15fe9194
Signed-off-by: taeyoung <ty317.kim@samsung.com>
lokilee73 [Sun, 15 Jan 2017 07:16:46 +0000 (16:16 +0900)]
battery : change low battery default notification from event to active
Change-Id: I143968efa79f38798a0d1df6de9975c2bdb79216
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
pr.jung [Fri, 13 Jan 2017 02:41:47 +0000 (11:41 +0900)]
block: Modify mkdir mode option
- 644 -> 0755
Change-Id: I90b1b910dfc56c8711730fe307cc18fd2ec51165
Signed-off-by: pr.jung <pr.jung@samsung.com>
lokilee73 [Thu, 12 Jan 2017 07:05:06 +0000 (16:05 +0900)]
notification : change add_notification to send a few parameters
when notification is sent, we sometimes need to send a few parameters. for example, int, char, string and so on.
So, add_notification is modified to consider those cases.
Change-Id: Ie191e29bddcb39e0eada395a8c6542a53aae1468
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
taeyoung [Thu, 12 Jan 2017 04:19:17 +0000 (13:19 +0900)]
thermal: add legacy signal for thermal state
Tizen 2.4 broadcasted a dbus signal for other apps
to know the thermal state. Thus the signal needs
to be applied to Tizen 3.0.
The signal is just for legacy uses, and tizen 3.0
needs to add new signal for new thermal module.
Change-Id: Ib1b947aabb30c434930ff88f45d41b6601183707
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Mon, 9 Jan 2017 01:48:30 +0000 (10:48 +0900)]
block: Remove useless code
Change-Id: I0916ac0cc4450525ab7188da09dcf1e43ceb2288
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Fri, 6 Jan 2017 09:17:25 +0000 (18:17 +0900)]
block: Remove useless code
Change-Id: I80a2986f7ff19f8d33e78bef16080148d6d2e9a7
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Wed, 16 Nov 2016 05:01:38 +0000 (14:01 +0900)]
low power: add low power mode
low power mode needs to control alarm and network wakeup periods.
Currently, alarm wakeup period is adjusted by setting vconf key.
Change-Id: Ib5d176d0a5981ead27340947e9f70fdd83da373a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Jeong Donghwan [Fri, 30 Dec 2016 04:27:41 +0000 (13:27 +0900)]
key-fileter: turn off by power key when display on
It need necessary check power key logic. The device should be
turn off by power key when display state was on.
Change-Id: I2ac36e752394404e3b069084b21015883b1e3772
Signed-off-by: Jeong Donghwan <dh.jeong@samsung.com>
taeyoung [Thu, 29 Dec 2016 01:24:06 +0000 (10:24 +0900)]
Merge branch 'tizen_3.0' into tizen
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: Ia56a0e3c98dacd3f11402177291d6d9de926fac9
pr.jung [Wed, 28 Dec 2016 06:45:32 +0000 (15:45 +0900)]
block: Not support extended partition
Change-Id: I409ad0bffc7595f0c37a429db9a7c1b9c8ac5668
Signed-off-by: pr.jung <pr.jung@samsung.com>
pr.jung [Wed, 28 Dec 2016 06:44:29 +0000 (15:44 +0900)]
block: Remove mount_point when mount operation is failed
- ex. ntfs filesystem
- Modify /run/external-storage/id file.
Change-Id: I0e49f0fad81b91d142333734d9470cfbd7405ad2
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Tue, 27 Dec 2016 08:45:38 +0000 (17:45 +0900)]
display: remove dpms get operation during dpms setting
dpms setting is async function. So, dpms get function
will return failure if is is called just after dpms setting.
Thus dpms get function is removed from the dpms setting operation.
Change-Id: I6930bcb1397c703c723b439fc75ed1e370b5626e
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 20 Dec 2016 07:09:38 +0000 (16:09 +0900)]
display: apply display HAL for dpms related operations
Default dpms operations of wayland are handled by dbus methods.
But dbus methods take too much time, and thus they need to be
moved to HAL for product customizing.
Change-Id: Ifa813151b76b70b4c2a68490a2187ef978ff1b43
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 26 Dec 2016 08:18:35 +0000 (17:18 +0900)]
battery: add feature for batterh temperature
The feature enables battery high/low temperature scenarios.
Change-Id: I6c69f802e3e9573564e6436f2a815ed59c9ea753
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 26 Dec 2016 06:52:56 +0000 (22:52 -0800)]
Merge "display: remove unused variables" into tizen_3.0
taeyoung [Mon, 26 Dec 2016 06:52:49 +0000 (22:52 -0800)]
Merge "battery: remove battery error popups if health is good" into tizen_3.0
lokilee73 [Mon, 26 Dec 2016 06:49:56 +0000 (22:49 -0800)]
Merge "prevent multiple lowbat or critical popup" into tizen_3.0
lokilee73 [Mon, 26 Dec 2016 06:26:44 +0000 (15:26 +0900)]
prevent multiple lowbat or critical popup
Change-Id: I1ecd41d2f68e640d4ac283bdafac114d81acacf6
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
taeyoung [Mon, 26 Dec 2016 06:31:45 +0000 (15:31 +0900)]
display: remove unused variables
They occurs build warnings
Change-Id: If689b7d5caaac39e200da79431fbb52648a20c6d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 26 Dec 2016 06:27:54 +0000 (15:27 +0900)]
battery: remove battery error popups if health is good
Change-Id: I0d6cf4ccd95fea6430c2d3dce2fcc3e6e7c27639
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 26 Dec 2016 05:15:05 +0000 (14:15 +0900)]
display: remove idle lock check routine
Idle Lock check routine is not necessary
during checking pm lock. Even if Idle lock
is on, pm state cannot be changed when
pm is locked.
Change-Id: If76ec51ba4f704ab81f6056375b4a006715b4fbb
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 26 Dec 2016 03:59:44 +0000 (12:59 +0900)]
power: change the parameter of device_notify to the address
The paramter of the device_notify is (void *). Thus
There can be a problem related witht the type if integer
value is delivered by casting to (void *).
Change-Id: I615249b97a7c08bd0f3e57456a23cb80c0ee8d9b
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Mon, 26 Dec 2016 01:51:59 +0000 (10:51 +0900)]
power: remove unused variable
the variable occurs the build warning
Change-Id: I868a39bc8ef93e6a5aeda6d28d89f32fb11e296f
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Giyeol Ok [Thu, 22 Dec 2016 07:59:36 +0000 (16:59 +0900)]
power: fix reboot param control logic
param of reboot have several kinds variable factor
so we need change of reboot param control logic
Change-Id: I181f4d245e5eb6d4a43265d202539bf86316e03b
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
taeyoung [Thu, 22 Dec 2016 10:53:50 +0000 (19:53 +0900)]
common: remove macro for emulator
emulator macro is changed to is_emulator()
Change-Id: I1a225a22c4dd713233fb83f981402b2e8129b7cf
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 22 Dec 2016 07:09:14 +0000 (16:09 +0900)]
block: add 'const' for tzplatform_getenv()
Change-Id: Ie6b49a7122ea73b0c34a951f727a2ecbbc433aa6
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 22 Dec 2016 01:41:35 +0000 (10:41 +0900)]
common: specfile has unused subpackage
%package deviced in deviced.spec means
"deviced-deviced", which does not have %files entry,
which in turn, makes "deviced-deviced" not be created.
Because it is useless, it is removed
before further spec file modification.
Change-Id: I86ef4266776332f6bb65752487290d8405300842
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Fri, 16 Dec 2016 06:58:58 +0000 (15:58 +0900)]
cpu: add cpu boosting operation.
Currently the code is experimental. deviced requests
to TRM to boost cpu.
Change-Id: I8b7cf84ffda9ad57d3adacb350a5ec23999e3a49
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Wed, 21 Dec 2016 09:06:46 +0000 (18:06 +0900)]
haptic: Modify haptic emulator to return unique handle value
- Originally, emulator handle value is all same
Change-Id: Ib82124f50f2b5f836d2a778f819a0aba100984ea
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Thu, 1 Dec 2016 11:02:17 +0000 (20:02 +0900)]
power: start shutdown animation earlier
- If cgroup is unmounted, apps cannot be launched.
Thus shutdown animation needs to be launched
before cgroup is unmounted.
Change-Id: I3b7ab800010f824440313dccd6fe8dc36b1122c7
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Fri, 16 Dec 2016 02:40:08 +0000 (11:40 +0900)]
display: block inputs and requests by dbus methods during power off
During power off, Users could handle the device or apps could
request to deviced to turn on/off display. Thus all inputs and
requests need to be blocked during power off.
Change-Id: I665d8947634231b715df1935fab02f7d0a17c194
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 15 Dec 2016 12:58:51 +0000 (21:58 +0900)]
power: notice to resourced about power off situation
- deviced lets resourced know the power off situation.
Then, resourced thaws freezed apps and unmount cgroup.
Change-Id: I5c025cd30087cbe3614e804e388df304214d5b3a
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Thu, 15 Dec 2016 11:58:16 +0000 (20:58 +0900)]
power: add operations related with reboot options
dbus method for reboot with option is newly added.
Thud method gets the option information and checks
whether or not the option is valid. After that,
deviced calls the reboot command with the option.
Change-Id: I3bcd2c7b3507dd67644b130b02d25d88b6b28f58
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 14 Dec 2016 12:18:24 +0000 (21:18 +0900)]
power: add power.conf to support reboot options
The poweroff and reboot options are handled by a list.
The list is from power.conf file. Vendors can add their
own reboot options by modifying the conf file.
Change-Id: I3f7d50c0f5e4e47374170730b94b6e799749cd21
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 20 Dec 2016 12:13:44 +0000 (21:13 +0900)]
service: change type to notify
system session will be finished after deviced is prepared.
Change-Id: I4c8905b1f4fea72654f13e0d9ee238ccf5ad9cc8
Signed-off-by: taeyoung <ty317.kim@samsung.com>
lokilee73 [Tue, 20 Dec 2016 10:55:34 +0000 (02:55 -0800)]
Merge "thermal : add overheat 30 seconds timer for power off" into tizen_3.0
lokilee73 [Mon, 19 Dec 2016 10:40:11 +0000 (19:40 +0900)]
thermal : add overheat 30 seconds timer for power off
Change-Id: Ia37636946104b3922a0abe7dda190fae1cac71f0
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
pr.jung [Tue, 20 Dec 2016 07:20:18 +0000 (16:20 +0900)]
block: Emulator only support one partition
Change-Id: I6638be9b57978469dc0ab63891db0edb27914fc0
Signed-off-by: pr.jung <pr.jung@samsung.com>
taeyoung [Mon, 19 Dec 2016 04:57:27 +0000 (13:57 +0900)]
common: fix build warning and coding rule issues
Change-Id: I049f9e561596898d3df8c053d2b9ed086f6a94ec
Signed-off-by: taeyoung <ty317.kim@samsung.com>
pr.jung [Fri, 16 Dec 2016 04:25:52 +0000 (13:25 +0900)]
block: Modify primary partition checking routine
- ntfs is not supported
- When multimount is not supported, deviced mount only primary partition
Change-Id: I9393e9a84cc20c2da00a692d20afd6d97202f719
Signed-off-by: pr.jung <pr.jung@samsung.com>
Kunhoon Baik [Fri, 16 Dec 2016 04:17:07 +0000 (13:17 +0900)]
block: debug improvement for application using external storage
print information who uses the storage unmounting
Change-Id: I364e4cf8214b43d9b7c07d5d810ac967a7895574
lokilee73 [Fri, 16 Dec 2016 10:21:39 +0000 (19:21 +0900)]
thermal: fix a bug in overheat algorithm
Change-Id: I3262672daac675445be0704b57d6de1e40c1633f
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
taeyoung [Wed, 14 Dec 2016 09:16:16 +0000 (18:16 +0900)]
display: lock display during booting time
If Booting time is increased, display timeout can be
expired and display can be turned off. Thus display
lock is required during booting time.
Change-Id: I34cd44092750bb90dd144194d509b47ba64da5cd
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 13 Dec 2016 10:39:48 +0000 (19:39 +0900)]
display: fix bug that booting done event handler is removed before booting done
Previously, booting done event handler was removed when keykilter is enabled.
Thus the position to remove the handler is modified.
Change-Id: If26ca2ec191160a0b6600a0e8488b80ef8f9be44
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 14 Dec 2016 12:16:10 +0000 (21:16 +0900)]
thermal: remove unnecessary codes
Change-Id: I6724d93257d26b3fceb6f454a9fc64a19fd61a65
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 14 Dec 2016 12:14:38 +0000 (21:14 +0900)]
display: initialize the variables
Change-Id: Ib7ce6e6903b171f0d3b1d4cfd2ee537378758451
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Wed, 14 Dec 2016 07:48:16 +0000 (16:48 +0900)]
block: do not deliver removed device information
Previously, removed flag was not checked when
a certian device info is delivered. Thus apps
got the removed device information. Now, removed
flag is checked and thus removed device information
is not delivered to app anymore.
Change-Id: I36ed129ae0f92f76e682de27b98c59f3ecdcd38d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
taeyoung [Tue, 13 Dec 2016 04:08:31 +0000 (13:08 +0900)]
usb: broadcast legacy dbus signal if usb state is changed
Change-Id: I6ab35faa7deace048026bfb45a1f5dc91e06f1e8
Signed-off-by: taeyoung <ty317.kim@samsung.com>