summaryrefslogtreecommitdiff
path: root/src/display
AgeCommit message (Collapse)AuthorFilesLines
2015-04-06udev: Change the device-change-handler to udev moduleJiyoung Yun3-3/+0
Sliding keyboard and tvout is not supported currently. These logic will add as per the common kernel interface. Change the device-change-handler to udev module. And remove the unnecessary codes and defines. Remove device-handler.h file. Change-Id: Iecb44fd52cafd7fc3708f3834eecf4f3e7b1df12 Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2015-04-05extcon: Support hdmi devicesJiyoung Yun1-16/+3
Hdmi-hdcp, hdmi-audio are not common interfaces in kernel side. So I removed the codes depends on product kernel. Change-Id: I38da3fc3215a5d814e48a6ba582403053e1920fb Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2015-04-03deviced: Remove unnecessary modules like factory, csc and testmodeJiyoung Yun1-13/+0
Change-Id: I566e9a04a4b255e30c24c37e2bb8a047e96ba73b Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2015-03-31display: Use libinput to get input eventsJiyoung Yun6-458/+287
Remove the exisiting input code and use libinput for getting input events It's for common use with wayland input system. Change-Id: I2de534b73250e8d1fdfccd3b02f64eb13efcb45a Signed-off-by: Seunghun Pi <sh.pi@samsung.com>
2015-03-10deviced: Apply display HAL structureJiyoung Yun5-69/+166
Deviced will control display power using display HAL. It also supports to control display brightness. Change-Id: Ie15c0abe434610dfe60bbda7949ba6e5f71d174f Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2015-02-03rename sensor.h to sensor_internal.hKibak Yoon1-1/+1
the header file for sensor internal API was changed to sensor_internal.h. Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com> Change-Id: If42f246a4733efd51cc7f066b7771fb52e7e0a8d
2015-01-09Fix typo in format stringSuchang Woo2-2/+2
When loading a config file is failed, this typo makes SIGSEGV. Change-Id: I5291f29bafd8f3412667d8c350c8d4612d20456c Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
2014-12-19deviced: Fix wrong type cast on 64bit build machineJiyoung Yun7-36/+108
Deviced sometimes pass int value to void * value. It occurs warning on 64bit build machine so I fixed wrong type cast from int to 64bit value. Change-Id: If68a26d5911b803a0793488da64fd22fd1d92867 Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2014-11-21deviced: Separate battery feature from core logicjy910.yun3-43/+0
Disable the battery feature by default Add functions to register udev monitor filter at run-time to separate battery logic from core uevent logic Change-Id: Ic9d6742c7190cf0e456a9efe043b478d1936839b Signed-off-by: jy910.yun <jy910.yun@samsung.com>
2014-11-10deviced: Merge Tizen 2.3 source code into tizen branchjy910.yun27-2357/+4687
Deviced is a new device daemon instead of system-server. We have a plan to upgrade system-server to deviced. But there are more than 500 different patches. Besides some patches in Tizen 2.3 has mobile product features. And deviced should provide some library which have provided by system-server to keep compatibility with another modules. So I merge Tizen 2.3 source code into public branch manually. (Remove mobile product features and Keep library compatibility) Signed-off-by: jy910.yun <jy910.yun@samsung.com> Change-Id: I53d5cfb76ae05c4a240f00cab719e4c699b70592
2014-06-18insert dbus control logic about deviced lib for dbus test systemgiyeol.ok1-32/+2
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com> Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I0e716534846fe7aafbde7d92f5d7017d2516f2a1
2014-06-17Remove hardcoded path for multiuser supportSabera Djelti1-1/+2
Change-Id: I5094dd358fb75fc618a196477725b4227e4d8b6b Bug-Tizen: PTREL-283 Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
2014-06-11clean up the log in devicedjuho1-16/+7
modified to use the log-macro.h in libdeviced Change-Id: Ic51a05d2e3eafbbb90f36e6f6b53fdcbd75b5d35 Signed-off-by: juho <juho80.son@samsung.com> Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
2014-06-09Seperate file for each devicesjy910.yun2-0/+7
if some device does not support in our system anymore, we can just remove one file for device we want to delete. do not combine between each other device code Signed-off-by: jy910.yun <jy910.yun@samsung.com> Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I8e70f1cf6a4b1115704c718ab1f919390bafd075
2014-06-05Fix warningsMaciej Wereski3-4/+6
Change-Id: I808c4f4c77fa507fafdbfe3fd0fc99cfc314f359 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
2014-06-05Remove compile warning of displaysh.pi3-39/+43
Change-Id: I1ee5f6d8d01e13002ffe183a01b42ad3b716afa0 Signed-off-by: Seunghun Pi <sh.pi@samsung.com> Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
2014-06-05Code bugs're fixedsh.pi2-5/+11
String not null terminated (STRING_NULL) Missing return statement (MISSING_RETURN) Resource leak (RESOURCE_LEAK) Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I6e5034a091f9a72d7f3e157a6bab556a7d21829d
2014-06-05remove warning about incompatible pointer btw const char * and char *jy910.yun2-5/+5
Signed-off-by: jy910.yun <jy910.yun@samsung.com> Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: Ib99b5dcc9d18f5030ac4c115239be3b711180072
2013-09-10when OSP or WEB api change the brightness, CUSTOM_BRIGHTNESS_STATUS turns on.jy910.yun1-0/+2
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
2013-09-10Add keybacklight basic feature.sh.pi2-1/+107
Signed-off-by: Seunghun Pi <sh.pi@samsung.com> Change-Id: I6e436d16be791b73fab0b0626ced314c30b7c00d
2013-09-10Arrange dlog of display logic.sh.pi2-4/+0
Remove unnecessary dlog and change secure log define. Signed-off-by: Seunghun Pi <sh.pi@samsung.com> Change-Id: I9dc12fb57d47d86ffc3fe66523b327ace80d9728
2013-09-10Code bugs're fixedsh.pi1-1/+1
missing_return: Arriving at the end of a function without returning a value. copy_paste_error: "light_handle" in "light_handle = -1" looks like a copy-paste error. Change-Id: Ie4e5b597b06d36e33d21a9e486f73e124747983c
2013-09-09Remove battery time logsh.pi1-4/+0
Signed-off-by: Seunghun Pi <sh.pi@samsung.com> Change-Id: If24cb5fbf49f2dda38da56140379a0569588389b
2013-09-09change the structure of controling display to use 'dbus'Krzysztof Sasiak1-13/+206
Signed-off-by: jy910.yun <jy910.yun@samsung.com> Change-Id: Ifa71cfaf2b9919911819e1976ed4ba5664fbac3e
2013-09-09Remove socket(pm_sock) for display controlsh.pi2-71/+10
Now all ipc for display control is D-Bus. Then routine about pm_sock is removed. Change-Id: Iee263b6cb9bd7d73433cc530344b910158374ab1
2013-09-09Get lockscreen bg state for backlight time.sh.pi4-1/+54
Backlight time is 5 second in lock state normally. But there is exceptional state in lock state. In SOS call or other state, It's normal backlight time in spite of lock state. Then deviced get background state of lockscreen for exceptional state. Change-Id: I5ed635bb9ccfcd4c4dc6975ace6bf839187ef376
2013-09-09change privacy logs to secure log typegiyeol.ok1-0/+1
Change-Id: I5a602925b995671d9424160698d7d562816f131f Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
2013-09-09Fix the bugs about using ecore timer.sh.pi2-1/+2
There is the case that ecore timer is double freed. Then the bugs is fixed. ecore.c:562 _ecore_magic_fail() Input handle has already been freed! Change-Id: I9287292affc66579f2a79800c09692cc0fc12b55
2013-09-06Change auto brightness change logic.sh.pi1-0/+1
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
2013-09-06LCD off operation by power key is ignored during volume down key is pressed.sh.pi1-1/+4
When force dump key is pressed, pm state is not changed to lcd off by power key.
2013-09-06Add auto brightness working position featuresh.pi1-17/+58
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
2013-09-06Change display operation name from restore to update.sh.pi5-15/+15
Change-Id: I08a0499081c93dfe7b81dc6cac4c7ccc9097c51f
2013-09-05Add error logging code to check that press/release of power key is unpair.sh.pi1-0/+11
2013-08-27Add patch to reset configuration by NameOwnerChanged dbus signal.Krzysztof Sasiak3-9/+64
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
2013-08-27delete unneccessary prefix such as 'ss_' or 'deviced_'jy910.yun2-2/+2
Signed-off-by: jy910.yun <jy910.yun@samsung.com> Change-Id: I4894afb51955835e0353567d69872fe09e1221b6
2013-08-27Add dbus method to contol min value of autobrightnessKrzysztof Sasiak2-0/+36
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
2013-08-27Add error/warning log to alanyze no lcd dim/on/suspend problem.sh.pi1-1/+14
2013-08-13Change LCD dim timming from battery level 15% to 5%.sh.pi1-3/+3
LCD power concept is changed. Now LCD goes to dim state when battery level is under 5%.
2013-08-13Change wrong error logs of display.sh.pi3-3/+3
Change-Id: Id41a98a02e190383aae37509dd891b7e38e47e92
2013-08-13Remove "_cb" of dbus functions name.sh.pi1-20/+20
Change-Id: I546ebee6eb2d5a9c9624d9a4d3e51d90055e4ff5
2013-08-09Add patch to change autobrightness interval by dbus.sh.pi2-4/+63
default value is 2 seconds. but the value can be changed for reducing power consumption. Change-Id: I68807eecf14ee4673fb23839ad27b9f9428331fb
2013-08-09Save lock time to log.sh.pi1-3/+35
Apps/services can not unlock LCD state by mistake. then add lock time to log for more information. Change-Id: I850811af6a6dba0cf09ffdb7bb4916c3b4e2dc55
2013-08-09Change sampling rate for auto brightness.sh.pi1-1/+1
'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.
2013-08-09Change long press time of power key.sh.pi1-1/+1
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.
2013-08-09Fix the bug about power-off popup.sh.pi1-0/+4
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.
2013-07-23Code bugs're fixed.sh.pi1-3/+9
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
2013-07-23Fix the bug that system-server is crashed during power-off.sh.pi1-0/+3
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>
2013-07-23Remove LCD 'always on' operation by vconf.sh.pi2-11/+16
vconf value 0 is not used for 'always on' anymore. then backlight time 0 is invalid value now. Change-Id: I2fa53e18b72b8a5b8bf04e2ac20d78d06b6d1798
2013-07-23add display_set_frame_rate function to support changing the value by user ↵jy910.yun1-0/+26
application Signed-off-by: jy910.yun <jy910.yun@samsung.com> Change-Id: Ic9f0096b83bfe80a55eaa51041c316184592ff1f
2013-07-23Add new feature for screenlock/brightness up/brightness down key.sh.pi1-1/+122
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