platform/core/system/deviced.git
11 years agorevise the bug about getting device status
jy910.yun [Fri, 7 Jun 2013 07:10:54 +0000 (16:10 +0900)]
revise the bug about getting device status

before changing, system-server pass wrong parameter to get_status function

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I14613d0995b0e7def173079674a24c86afb8322e

11 years agoinsert _GNU_SOURCE define to support using lseek64 of vfat fsck tool
giyeol.ok [Wed, 5 Jun 2013 05:42:47 +0000 (14:42 +0900)]
insert _GNU_SOURCE define to support using lseek64 of vfat fsck tool

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Icaf3f46c50bca9cc7a9be65fac2d7553b44625b0

11 years agoremove build warning in core logic
Krzysztof Sasiak [Tue, 27 Aug 2013 07:29:36 +0000 (09:29 +0200)]
remove build warning in core logic

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I8ce35b23cf8b61430f172effce9c1051ef021730

11 years agoRemove unnecessary & repetitionary dlog
sh.pi [Tue, 4 Jun 2013 16:15:06 +0000 (01:15 +0900)]
Remove unnecessary & repetitionary dlog

Change-Id: Ia54554e75f86ede3fbe7c37ce1ccf1e214fe91a5

11 years agoAdd dbus display policy for pulse user
sh.pi [Tue, 4 Jun 2013 13:09:07 +0000 (22:09 +0900)]
Add dbus display policy for pulse user

Change-Id: I45dde27a39f343af02e124ed61f5330d4eb6f838

11 years agoChange auto brightness change logic.
sh.pi [Fri, 31 May 2013 10:20:30 +0000 (19:20 +0900)]
Change auto brightness change logic.

Brightness is changed frequently when finger is moving on light sensor.
Now brightness is changed only when values of brightness about 4 times is the same.

Change-Id: Iceefce7bf1877e1406fd39793b7f1d333715b6fe

11 years agorevise the bad behavior of create effect function caused by wrong argument.
jy910.yun [Fri, 31 May 2013 06:02:54 +0000 (15:02 +0900)]
revise the bad behavior of create effect function caused by wrong argument.

before changing the code, pass the argument to make string to interger structure.
but now, send the buffer by copying memory.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I1662a0232d0b93ec80656d94d57f8abe8a4f413e

11 years agoinsert starter vconf smack rule
giyeol.ok [Fri, 31 May 2013 06:43:59 +0000 (15:43 +0900)]
insert starter vconf smack rule

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoinsert umount checking routine to support stable format
giyeol.ok [Fri, 31 May 2013 05:15:29 +0000 (14:15 +0900)]
insert umount checking routine to support stable format

Change-Id: Iba5d15c1016193423646a7fa0ef6245dffaba9fd
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoFix mounting / unmounting problem
Byungsoo Kim [Thu, 30 May 2013 12:50:13 +0000 (21:50 +0900)]
Fix mounting / unmounting problem

- remove unnecessary killing application logic
- add to check sd card encryption status at mounting from setting app
- fix unmounting problem

Change-Id: I55db313b649d14a37e9937a399ddba788c27b31c
Signed-off-by: Byungsoo Kim <bs1770.kim@samsung.com>
11 years agorevise vibrate buffer problem
jy910.yun [Thu, 30 May 2013 09:38:25 +0000 (18:38 +0900)]
revise vibrate buffer problem

Change-Id: I1373e7a404323628e1dcbbd1f25fdc3b9d7a0996
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoinsert testmode vconf smack rule
giyeol.ok [Thu, 30 May 2013 06:46:43 +0000 (15:46 +0900)]
insert testmode vconf smack rule

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoinsert mmc fs register function
giyeol.ok [Wed, 29 May 2013 11:47:40 +0000 (20:47 +0900)]
insert mmc fs register function

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I83679966a90bcd9fd5c2c6e11edc3c5dfa091434

11 years agochange the structure of haptic to use dbus
jy910.yun [Wed, 29 May 2013 09:39:18 +0000 (18:39 +0900)]
change the structure of haptic to use dbus

add new interface (.haptic)

Change-Id: Ib650fbadfd25d9b03368a5c05524dc1f03026325
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoSync add_filter & match for dbus watch
Krzysztof Sasiak [Fri, 9 Aug 2013 10:45:46 +0000 (12:45 +0200)]
Sync add_filter & match for dbus watch

deviced added message filter unconditionally when it's starting.
Without adding dbus match, It's no checking logic.
Now Add dbus filter only when there is match request.

Change-Id: Icf1356d985f5cb9638afd7c82ac9ef67813c1ce1

11 years agosometimes mmc is not formatted when try to format
jy910.yun [Wed, 29 May 2013 09:23:58 +0000 (18:23 +0900)]
sometimes mmc is not formatted when try to format

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoLCD off operation by power key is ignored during volume down key is pressed.
sh.pi [Tue, 28 May 2013 12:56:15 +0000 (21:56 +0900)]
LCD off operation by power key is ignored during volume down key is pressed.

When force dump key is pressed, pm state is not changed to lcd off by power key.

11 years agoAdd auto brightness working position feature
sh.pi [Tue, 28 May 2013 11:46:16 +0000 (20:46 +0900)]
Add auto brightness working position feature

an angle of 0~20 degrees from horizontality
 : auto brightness is working normally.
an angle over 20 degrees from horizontality
 : lcd does not get dark, but get bright by lux.

* based on that phone is lying on the floor.

Change-Id: I639a76f2438bd900290aedd47f01841519dcd36c

11 years agoChange display operation name from restore to update.
sh.pi [Mon, 27 May 2013 08:55:36 +0000 (17:55 +0900)]
Change display operation name from restore to update.

Change-Id: I08a0499081c93dfe7b81dc6cac4c7ccc9097c51f

11 years agoimport fsck_msdosfs to fix fsck.vfat crash of dosfstools
giyeol.ok [Sat, 25 May 2013 05:18:54 +0000 (14:18 +0900)]
import fsck_msdosfs to fix fsck.vfat crash of dosfstools
 the reference url : http://code.metager.de/source/xref/NetBSD/src/sbin/fsck_msdos

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I0fd66e7ca36d551f8c867ff292da0d32788cf932

11 years agoinsert force unmount routine
giyeol.ok [Thu, 23 May 2013 05:09:46 +0000 (14:09 +0900)]
insert force unmount routine

it is related with PLM issues. and UI concept is not working at setting app yet.
so we support force umounting until setting is completed.

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Ib7ec2c9bd641826c9321acf49781b0b9040327e4

11 years agoAdd error logging code to check that press/release of power key is unpair.
sh.pi [Wed, 22 May 2013 15:06:42 +0000 (00:06 +0900)]
Add error logging code to check that press/release of power key is unpair.

11 years agoinsert of tapi handler init operation
giyeol.ok [Tue, 21 May 2013 10:35:06 +0000 (19:35 +0900)]
insert of tapi handler init operation

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I78302e3c4b5d3e5f21ae9dc7aa688e7f4d49b619

11 years agoadd limit number of launching crash-worker at the same time.
juho [Wed, 22 May 2013 05:22:11 +0000 (14:22 +0900)]
add limit number of launching crash-worker at the same time.

crash notify files can have many notify to launch crash-worker
when crash is occured many times at the sametime.
It can make problem of target stuck.
so add limit number of launching crash-worker at the same time.

Change-Id: Ia3a2e107b0d9b18c0eb33280061d8a8d27c35ec8
Signed-off-by: juho <juho80.son@samsung.com>
11 years agoinsert external device counting routine
giyeol.ok [Mon, 20 May 2013 12:48:48 +0000 (21:48 +0900)]
insert external device counting routine

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I0d0c4e4e010830ccf17163f377641efc4817aaad

11 years agoinsert get API of internal user space size
giyeol.ok [Thu, 16 May 2013 07:59:31 +0000 (16:59 +0900)]
insert get API of internal user space size

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: If0b8113744327de1480bf0d8ad2ad53f052c089e

11 years agoumount usr data partition
Byungsoo Kim [Sat, 18 May 2013 05:02:19 +0000 (14:02 +0900)]
umount usr data partition

Because system-server connected with /opt/usr, we couldn't send sigterm signal.
Instead of sending signal, use MNT_DETACH option for unmounting rw user data partition. System-server called kernel power off after unmounting /opt/usr partition successfully.

Change-Id: I458f273c5855cff9499c737535d8a0a0a4e25371
Signed-off-by: Byungsoo Kim <bs1770.kim@samsung.com>
11 years agoAdd patch to reset configuration by NameOwnerChanged dbus signal.
Krzysztof Sasiak [Fri, 9 Aug 2013 10:44:09 +0000 (12:44 +0200)]
Add patch to reset configuration by NameOwnerChanged dbus signal.

Process can change deviced daemon state by dbus.
If the process is terminated, deviced can receive NameOwnerChanged signal.
And It can reset the configurations from the process terminated.

Change-Id: I1e7b12e62c981f261cace54b8381dc93e9769c3d

11 years agoonly delete the unnecessary log in libsysman and system-server
jy910.yun [Thu, 16 May 2013 07:16:38 +0000 (16:16 +0900)]
only delete the unnecessary log in libsysman and system-server

Change-Id: I7219a7796f9338015af186cf9747cf28ad58bee6
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agodelete unneccessary prefix such as 'ss_' or 'deviced_'
jy910.yun [Wed, 15 May 2013 10:46:05 +0000 (19:46 +0900)]
delete unneccessary prefix such as 'ss_' or 'deviced_'

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I4894afb51955835e0353567d69872fe09e1221b6

11 years agoAdd dbus method to contol min value of autobrightness
Krzysztof Sasiak [Fri, 9 Aug 2013 13:35:09 +0000 (15:35 +0200)]
Add dbus method to contol min value of autobrightness

There is autobrightness limitation when some application is working.
ex) Min autobrightness of camera application is 60% (default value).
Then Add dbus method for turning min autobrightness.

Change-Id: I89879aa1ecd9a35f0525443b3c083e3593698d62

11 years agoAdd error/warning log to alanyze no lcd dim/on/suspend problem.
sh.pi [Wed, 15 May 2013 08:52:44 +0000 (17:52 +0900)]
Add error/warning log to alanyze no lcd dim/on/suspend problem.

11 years agoCall vconftool as absolute path.
walyong.cho [Wed, 15 May 2013 07:50:16 +0000 (16:50 +0900)]
Call vconftool as absolute path.

Signed-off-by: walyong.cho <walyong.cho@samsung.com>
11 years agodisplay lock/unlock/change of libdeviced is using dbus for IPC.
sh.pi [Tue, 14 May 2013 14:19:03 +0000 (23:19 +0900)]
display lock/unlock/change of libdeviced is using dbus for IPC.

Socket is not used for IPC.
Now dbus is used for display lock/unlock/change state.

Change-Id: Iabc152e4a94cc246b3b5e0b90b641dcdb0dfe9e2

11 years agodisplay lock/unlock/change of libdeviced is using dbus for IPC.
sh.pi [Tue, 14 May 2013 14:19:03 +0000 (23:19 +0900)]
display lock/unlock/change of libdeviced is using dbus for IPC.

Socket is not used for IPC.
Now dbus is used for display lock/unlock/change state.

Change-Id: I4baf5c2f418db0d8b964f078c226d6f2cb38cc27

11 years agochange siop level control - just set siop level
giyeol.ok [Wed, 15 May 2013 02:35:01 +0000 (11:35 +0900)]
change siop level control - just set siop level

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Ia8bdfc81f1ebe6e24ef2b16c0d309358136163d5

11 years agonot change an existing format api and add new format api.
jy910.yun [Tue, 14 May 2013 12:55:37 +0000 (21:55 +0900)]
not change an existing format api and add new format api.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Id46880c069022302c8cb9f9258be435739b67f89

11 years agoapply force format operation.
jy910.yun [Tue, 14 May 2013 08:32:35 +0000 (17:32 +0900)]
apply force format operation.

format process changed.
pre-condition : 1. user requests to format sd card
2. any app already access the file in sd card
result : using FMT_NORMAL - deviced will return the error(EBUSY).
 using FMT_FORCE  - deviced will format by force

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I40a7c398cc4c2f9673f0fbb961c44fb6bca58b32

11 years agonoti lowmem of internal memory during booting
giyeol.ok [Tue, 14 May 2013 07:43:00 +0000 (16:43 +0900)]
noti lowmem of internal memory during booting

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I6633729d0b60a465801e40a2bc6b4286cba60a92

11 years agobug fix about directory handle close
giyeol.ok [Tue, 14 May 2013 05:34:34 +0000 (14:34 +0900)]
bug fix about directory handle close

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I1cba53bbbc0d34c8ddf743dbb07b150cd4abe6cf

11 years agoupdate vconf status of charge now
giyeol.ok [Tue, 14 May 2013 01:28:28 +0000 (10:28 +0900)]
update vconf status of charge now

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Ibf5efd18008705052665302fcc1d76fb367636ff

11 years agoChange LCD dim timming from battery level 15% to 5%.
sh.pi [Mon, 13 May 2013 13:37:01 +0000 (22:37 +0900)]
Change LCD dim timming from battery level 15% to 5%.

LCD power concept is changed.
Now LCD goes to dim state when battery level is under 5%.

11 years agorearrange wrong error log and delete redundant log regarding led
jy910.yun [Fri, 10 May 2013 08:13:42 +0000 (17:13 +0900)]
rearrange wrong error log and delete redundant log regarding led

Change-Id: I9e958db9b72fc5ff2331efc1dfa4bb6925a7b427
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agorearrange wrong error log and delete redundant log regarding ta handler
jy910.yun [Fri, 10 May 2013 07:29:17 +0000 (16:29 +0900)]
rearrange wrong error log and delete redundant log regarding ta handler

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I6376c92bd3a9b724ea9b1082776141c73fc694c4

11 years agorearrange wrong error log and delete redundant log regarding power handler
jy910.yun [Fri, 10 May 2013 08:07:12 +0000 (17:07 +0900)]
rearrange wrong error log and delete redundant log regarding power handler

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I101e61723a195c060f444e6463a329397f4ee9df

11 years agorearrange wrong error log and delete redundant log regarding proc handler
jy910.yun [Fri, 10 May 2013 07:56:15 +0000 (16:56 +0900)]
rearrange wrong error log and delete redundant log regarding proc handler

Change-Id: I507f6410306cd0879d3ea7e47b30253914f83ed6
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agorearrange wrong error log and delete redundant log regarding deviced library
jy910.yun [Fri, 10 May 2013 07:40:36 +0000 (16:40 +0900)]
rearrange wrong error log and delete redundant log regarding deviced library

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agodlog label for debug cases is changed from _E to _D for core
Taeyoung Kim [Fri, 10 May 2013 07:35:00 +0000 (16:35 +0900)]
dlog label for debug cases is changed from _E to _D for core

Change-Id: If384429de39c207a0dc821b16dcc5dc2657f8a73
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
11 years agodlog label for debug cases is changed from _E to _D for BS
Taeyoung Kim [Fri, 10 May 2013 07:26:33 +0000 (16:26 +0900)]
dlog label for debug cases is changed from _E to _D for BS

Change-Id: Ibb530078de5fff405f1ab2c65534275890298194
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
11 years agorearrange wrong error log and delete redundant log regarding time handler
jy910.yun [Fri, 10 May 2013 07:25:25 +0000 (16:25 +0900)]
rearrange wrong error log and delete redundant log regarding time handler

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agorearrange wrong error log and delete redundant log regarding usb
jy910.yun [Fri, 10 May 2013 07:18:07 +0000 (16:18 +0900)]
rearrange wrong error log and delete redundant log regarding usb

Change-Id: I0c481d6fb47f7479bfcdce84b2eed577be7d9231
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agodlog label for debug cases is changed from _E to _D
Taeyoung Kim [Fri, 10 May 2013 07:18:51 +0000 (16:18 +0900)]
dlog label for debug cases is changed from _E to _D

Change-Id: Ie382a560d04c2ab55511b5e913b5861e632a043c
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
11 years agochange the wrong log to _D regarding sysnoti and queue
jy910.yun [Fri, 10 May 2013 06:43:15 +0000 (15:43 +0900)]
change the wrong log to _D regarding sysnoti and queue

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I7b0e7ce22d933a6368a2f270767a6c2b97a6ccc1

11 years agoChange wrong error logs of display.
sh.pi [Fri, 10 May 2013 06:15:49 +0000 (15:15 +0900)]
Change wrong error logs of display.

Change-Id: Id41a98a02e190383aae37509dd891b7e38e47e92

11 years agoPrint error string when there is failure of socket operation.
sh.pi [Thu, 9 May 2013 15:31:56 +0000 (00:31 +0900)]
Print error string when there is failure of socket operation.

Change-Id: I9e94044fc73ab74e811e1015e29714b4dc0d8f54

11 years agodelete redundant log regarding device-noti
jy910.yun [Fri, 10 May 2013 03:32:23 +0000 (12:32 +0900)]
delete redundant log regarding device-noti

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoRemove "_cb" of dbus functions name.
sh.pi [Thu, 9 May 2013 07:32:02 +0000 (16:32 +0900)]
Remove "_cb" of dbus functions name.

Change-Id: I546ebee6eb2d5a9c9624d9a4d3e51d90055e4ff5

11 years agoAdd patch that 'battery disconnected' popup shows only during charging.
sh.pi [Thu, 9 May 2013 06:21:57 +0000 (15:21 +0900)]
Add patch that 'battery disconnected' popup shows only during charging.

If battery present node is zero, 'battery disconnected' popup shows.
Now it shows only during charging.

11 years agosystemd: add unit files for regpmon, zbooting-done.
walyong.cho [Wed, 8 May 2013 11:59:28 +0000 (20:59 +0900)]
systemd: add unit files for regpmon, zbooting-done.

Change-Id: I232353321061790404d6a9db68b4e8e672895c30
Signed-off-by: walyong.cho <walyong.cho@samsung.com>
11 years agoto avoid a situation writing a vconf value over and over again
jy910.yun [Wed, 8 May 2013 08:46:39 +0000 (17:46 +0900)]
to avoid a situation writing a vconf value over and over again

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I9d637e567446e3ac9ce061e7ff77c0fb5b71eb7c

11 years agoAdd patch to change autobrightness interval by dbus.
sh.pi [Wed, 8 May 2013 05:45:54 +0000 (14:45 +0900)]
Add patch to change autobrightness interval by dbus.

default value is 2 seconds.
but the value can be changed for reducing power consumption.

Change-Id: I68807eecf14ee4673fb23839ad27b9f9428331fb

11 years agoSave lock time to log.
sh.pi [Tue, 7 May 2013 07:53:03 +0000 (16:53 +0900)]
Save lock time to log.

Apps/services can not unlock LCD state by mistake.
then add lock time to log for more information.

Change-Id: I850811af6a6dba0cf09ffdb7bb4916c3b4e2dc55

11 years agoChange sampling rate for auto brightness.
sh.pi [Mon, 6 May 2013 13:18:43 +0000 (22:18 +0900)]
Change sampling rate for auto brightness.

'auto brightness on' is default setting now.
then change timer value of auto brightness from 1 second to 2 seconds.
It reduces power consumption during LCD on state.

11 years agoChange long press time of power key.
sh.pi [Mon, 6 May 2013 06:37:47 +0000 (15:37 +0900)]
Change long press time of power key.

power-off pop-up shows slowly when power key is long pressed.
beacuse long press time is 1 second.
now the value is changed to 400 ms.

11 years agoFix the bug about power-off popup.
sh.pi [Mon, 6 May 2013 05:33:12 +0000 (14:33 +0900)]
Fix the bug about power-off popup.

After screen capture (volume down + power key),
power-off system popup shows. It's timing problem.
screen capture is working when two key pressed at the same time.
If power key is pressed slightly first, power off popup timer is started.
now timer is cancelled when volume key's pressed.

11 years agoinsert telephony_framework smack rules
giyeol.ok [Mon, 6 May 2013 04:36:50 +0000 (13:36 +0900)]
insert telephony_framework smack rules

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Ieac15b892c10dfd21c8f48c2b65eabd6f5253647

11 years agoseperate smack rule file from manifest file.
jy910.yun [Fri, 3 May 2013 11:44:08 +0000 (20:44 +0900)]
seperate smack rule file from manifest file.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I2f2a890915332443d70d1bf20e5177f0687326e4

11 years agobug patch of the prevent alarm issues
giyeol.ok [Fri, 3 May 2013 05:52:08 +0000 (14:52 +0900)]
bug patch of the prevent alarm issues

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I76513d9e5ceed5b93838f09f98b6066e736a041e

11 years agoCode bugs're fixed.
sh.pi [Fri, 3 May 2013 10:23:35 +0000 (19:23 +0900)]
Code bugs're fixed.

src/display/core.c 1778:  Declaring variable "i" without initializer.
src/display/core.c  771:  string_null_argument: Function "read(int, void *, size_t)" does not terminate string "*pname"
src/display/core.c  287:  missing_return: Arriving at the end of a function without returning a value.
src/display/poll.c  235:  leaked_storage: Variable "new_dev" going out of scope leaks the storage it points to.

Change-Id: I3eb4d79cdbc1c367bc776a934e3d217ccd70f37d

11 years agoFix the bug that system-server is crashed during power-off.
sh.pi [Fri, 3 May 2013 08:35:16 +0000 (17:35 +0900)]
Fix the bug that system-server is crashed during power-off.

pmsys is freed during power-off.
But deviced changes the brightness by light sensor.
and it accesses pmsys node.
now pmsys pointer is checked when brightness is changed.

Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
11 years agoRemove LCD 'always on' operation by vconf.
sh.pi [Thu, 2 May 2013 10:45:26 +0000 (19:45 +0900)]
Remove LCD 'always on' operation by vconf.

vconf value 0 is not used for 'always on' anymore.
then backlight time 0 is invalid value now.

Change-Id: I2fa53e18b72b8a5b8bf04e2ac20d78d06b6d1798

11 years agoadd display_set_frame_rate function to support changing the value by user application
jy910.yun [Thu, 2 May 2013 02:11:41 +0000 (11:11 +0900)]
add display_set_frame_rate function to support changing the value by user application

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Ic9f0096b83bfe80a55eaa51041c316184592ff1f

11 years agoAdd new feature for screenlock/brightness up/brightness down key.
sh.pi [Thu, 25 Apr 2013 13:53:51 +0000 (22:53 +0900)]
Add new feature for screenlock/brightness up/brightness down key.

BT keyboard has funtion keys like screenlock/brightness up & down.
And deviced supports this function key.
screenlock key turns on/off screen of phone.
brightness key ups/downs system brightness of phone.

Change-Id: Ia66c7ec8dec3924dcc3022b9f7bc3349a22e81b0

11 years agorearrange the log define of deviced and system-server
jy910.yun [Mon, 1 Jul 2013 08:32:23 +0000 (17:32 +0900)]
rearrange the log define of deviced and system-server

just change the log define to _D/_I/_E from PRT_TRACE/PRT_TRACE_ERR/LOGINFO/LOGERR/ERR etc.

11 years agoremove vfat check routine
giyeol.ok [Thu, 25 Apr 2013 14:09:16 +0000 (23:09 +0900)]
remove vfat check routine

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agochange umount option
giyeol.ok [Thu, 25 Apr 2013 12:00:50 +0000 (21:00 +0900)]
change umount option

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoRemove "add/remove input" from udev rules.
sh.pi [Tue, 23 Apr 2013 15:40:12 +0000 (00:40 +0900)]
Remove "add/remove input" from udev rules.

udev rules/pm_event/heynoti are not used for new input device anymore.
now deviced gets input uevent by using methods of libudev.

Change-Id: I8ab44b29009ab119d3d19981373516b946ef15d6

11 years agoseparate with main handling routine and file system dependent codes
Krzysztof Sasiak [Wed, 17 Jul 2013 10:24:57 +0000 (19:24 +0900)]
separate with main handling routine and file system dependent codes

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I2b626119f70f037f7008f81b82b84f7d1f8c31a1

11 years agoAdd logic to block polling key when display logic is stop state.
sh.pi [Tue, 23 Apr 2013 06:59:23 +0000 (15:59 +0900)]
Add logic to block polling key when display logic is stop state.

key polling logic can work during disply logic is stopping.
then block polling logic when display logic is stop state.

Change-Id: I03938aedb7c78034796d9932a6f72f0b33cf705c

11 years agoMove define of DISP_CMD to header file.
jy910.yun [Wed, 17 Jul 2013 10:11:27 +0000 (19:11 +0900)]
Move define of DISP_CMD to header file.

The same thing is defined in several sources.
And all shift bits're not changed, error occurs.

Change-Id: I1b7b14de081bb800183f289ebc3700d138e9898a

11 years agoin case of low battery state, when called display release func., it should be dim...
jy910.yun [Wed, 17 Jul 2013 10:07:36 +0000 (19:07 +0900)]
in case of low battery state, when called display release func., it should be dim state

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Ifb37aeed2e8f80936052ea6899b745355a462b33

11 years agoModify mmc control logic.
jy910.yun [Wed, 17 Jul 2013 10:01:29 +0000 (19:01 +0900)]
Modify mmc control logic.

mmc control logic is tested & fixed with MDM server.

Change-Id: Ic397e8a9985daba1cb8526e03cfc7e5eb1796718

11 years agoforce to set dim brightness by application
jy910.yun [Wed, 17 Apr 2013 09:22:04 +0000 (18:22 +0900)]
force to set dim brightness by application

0 is Dim state, it is promissed btw system f/w and kernel side.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I5284e7a6088541e9fccd1465dcaed7843a92c513

11 years agoinsert time log about time and timezone
jy910.yun [Wed, 17 Jul 2013 09:56:39 +0000 (18:56 +0900)]
insert time log about time and timezone

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I2e9d5a91b81f6838275900677a8e21bd9f86c7b3

11 years agojust update boilerplate for deviced
jy910.yun [Mon, 1 Jul 2013 00:32:40 +0000 (09:32 +0900)]
just update boilerplate for deviced

11 years agoAdd mmc control logic
sh.pi [Tue, 16 Apr 2013 08:51:51 +0000 (17:51 +0900)]
Add mmc control logic

Change-Id: I724d6cdab3955c3f84b468c4d91d929d9311a3b6

11 years agoMove display to src folder
jy910.yun [Sun, 30 Jun 2013 11:03:03 +0000 (20:03 +0900)]
Move display to src folder

11 years agoChange lcdoff & lock lcdon time.
sh.pi [Mon, 15 Apr 2013 11:27:32 +0000 (20:27 +0900)]
Change lcdoff & lock lcdon time.

lcdoff : 5 seconds -> 1 seconds
lock lcdon time : 10 seconds -> 5 seconds

Signed-off-by: Seunghun Pi <sh.pi@samsung.com>
11 years agopatch crashed mmc notification popup routine
giyeol.ok [Mon, 15 Apr 2013 07:05:28 +0000 (16:05 +0900)]
patch crashed mmc notification popup routine

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I42631ba3b4b175ba85f2de52d3a93a60bbf2b178

11 years agojust change the position of define
jy910.yun [Sun, 30 Jun 2013 10:34:39 +0000 (19:34 +0900)]
just change the position of define

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agodelete redundant variable and add broadcast dbus signal API
jy910.yun [Sun, 30 Jun 2013 10:23:42 +0000 (19:23 +0900)]
delete redundant variable and add broadcast dbus signal API

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoMove notifier logic to core
sh.pi [Thu, 11 Apr 2013 02:17:14 +0000 (11:17 +0900)]
Move notifier logic to core

It's need for internal interface among device modules.

Change-Id: I994d56ac2f33718253e98bf9f4cd05036ab66d22

11 years agoAdd control logic for start/stop device.
sh.pi [Wed, 10 Apr 2013 11:22:16 +0000 (20:22 +0900)]
Add control logic for start/stop device.

Change-Id: I9d2d8767fbf12b0ee993e0f4ad4f993322ed7fb9

11 years agocore: Add start/stop function to devices_ops structure
Chanwoo Choi [Wed, 10 Apr 2013 06:17:49 +0000 (15:17 +0900)]
core: Add start/stop function to devices_ops structure

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
11 years agoapply device registration
jy910.yun [Sun, 30 Jun 2013 08:57:59 +0000 (17:57 +0900)]
apply device registration

details:
sysnoti, noti, core, signal, predefine, lowmem, lowbat, device change handler,
power, bs, process monitor, time handler, cpu, usb, ta, process manager, mmc,
heynoti, powermanager and vibrator changed

before changing, to invoke a initialize function, it must call directly in main func.
So if some function deleted, we have to delete related part on each files.
but after applying this patchset, we only have to delete just one file regarding function you want delete.

Signed-off-by: jy910.yun <jy910.yun@samsung.com>
11 years agoAdd dbus methods to lock/unlock/change display
jy910.yun [Sun, 30 Jun 2013 07:25:34 +0000 (16:25 +0900)]
Add dbus methods to lock/unlock/change display

Signed-off-by: Seunghun Pi <sh.pi@samsung.com>
11 years agoAdd dbus interface for method call.
sh.pi [Thu, 4 Apr 2013 02:30:31 +0000 (11:30 +0900)]
Add dbus interface for method call.

Signed-off-by: Seunghun Pi <sh.pi@samsung.com>
Change-Id: I87e8937de041e19fcc6c5dddf069c47757be6046

11 years agoremove including 'util.h' in core.h
sh.pi [Wed, 3 Apr 2013 07:38:56 +0000 (16:38 +0900)]
remove including 'util.h' in core.h

there is conflict with definition of dlog.
then util.h is removed in core.h

11 years agosupport battery cf pole status control routine
giyeol.ok [Wed, 3 Apr 2013 05:25:43 +0000 (14:25 +0900)]
support battery cf pole status control routine

Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
11 years agoAdd pm_listener/talker for sharing state with other deviced services.
sh.pi [Wed, 3 Apr 2013 05:01:07 +0000 (14:01 +0900)]
Add pm_listener/talker for sharing state with other deviced services.