summaryrefslogtreecommitdiffstats
path: root/liblight
Commit message (Collapse)AuthorAgeFilesLines
* Revert "liblight: Add brightness level extension support"Ch Ganesh Kumar2018-04-024-143/+8
| | | | | | This reverts commit 586c6d5f9af3177e4af73d3663e2cd7b3eadcf5a. Change-Id: I7af568b0924b6d1bfce903f8d758f21d369c193c
* display: VNDK header fixesNaseer Ahmed2018-03-281-0/+1
| | | | Change-Id: Id7604ac803e49940aa2b49e106b414b4be1a25ad
* display: Use log.h from VNDKNaseer Ahmed2018-03-061-1/+1
| | | | Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
* sdm: LLVM SA enablementRamakant Singh2017-11-101-0/+3
| | | | | CRs-Fixed: 2077191 Change-Id: I23066befa5034523788a78edac9b335494d43019
* lights: Do not treat persistence node failures as fatalPullakavi Srinivas2017-10-311-13/+19
| | | | Change-Id: I0ed8c13edc39f186e59b7d47ea957408e60889e4
* liblights: Enable button backlight conditionallyArun Kumar K.R2017-08-231-2/+8
| | | | | | | | Check for the existence of button backlight node before enabling that in the HAL. Change-Id: I66828d67dbabffdb694da55d4a3d12246fb7a66f Crs-fixed: 2093165
* Revert "liblights: Remove unsupported button light node."Arun Kumar K.R2017-08-231-0/+16
| | | | | | | This reverts commit 42a514ab089ee2985cbb9fba0fb5fb8819989c72. Change-Id: Ia06ea393ffc737479b9199216b3e436d3ea10a28 Crs-fixed: 2093165
* liblights: Remove unsupported button light node.Arun Kumar K.R2017-08-181-16/+0
| | | | | | | | Light button is not supported on the msm platform, hence remove that from the capability list. Change-Id: I5a49ac767f9ccae0232992343b92e08bffdad6a2 Crs-fixed: 2093165
* color_manager: Update display color api libnameRajesh Yadav2017-06-151-1/+1
| | | | | | | Update display color api libname present in /vendor partition. Change-Id: I3626975ddff8458c641dc60b3632581512f91b94
* display: Use LOCAL_VENDOR_MODULENaseer Ahmed2017-05-291-5/+1
| | | | | | Avoids hardcoding paths in vendor Change-Id: I6411c27cebfd8bc1d65bc84942b4c2621f64e420 CRs-Fixed: 2048581
* display: Move all opensource modules to vendor partitionNaseer Ahmed2017-03-291-0/+5
| | | | | Change-Id: I050988d96eccc1c3217a8f2030b333cd8d04c4d4 CRs-Fixed: 2010492
* lights/sdm: Add support for new brightness nodeSaurabh Shah2017-03-151-1/+8
| | | | | | | | Add support for the new brightness node under /sys/class/backlight/panel0-backlight/brightness Change-Id: I6489c6e3796b3f455b1aef3caae84da307e554e4 CRs-fixed: 1114808
* liblight: Add brightness level extension supportXu Yang2017-03-144-9/+143
| | | | | | | Add brightness level extension API to set backlight through display API. The feature is enabled by property. Change-Id: Ia6911433705cc946ed73ffc820396c350e3c8b88
* Revert "display: Move all opensource modules to vendor partition"Naseer Ahmed2017-03-011-1/+0
| | | | | | | This reverts commit 4c790408b144b8ddf117a8d94661c81c86304cfc. Change-Id: I32c48e300e8c641b196210c4412b635e1c1941f0 CRs-Fixed: 2013665
* display: Move all opensource modules to vendor partitionNaseer Ahmed2017-02-281-0/+1
| | | | | | CRs-Fixed: 2010492 Change-Id: I80bb14624e9a47189777bd4c8f8847ca946df74c
* lights: Add support for low persistence modeSathish Ambley2017-01-281-3/+33
| | | | | | | Add support for entering exiting low persistence mode during vr mode enter exit respectively. Change-Id: I080c021b8006d7b733b70f05172c869d043cb25b
* display-hal: Exclude HWC libs compilation.Pullakavi Srinivas2016-07-011-1/+1
| | | | | | | This change introduces compilation flag to compile standalone SDM libs. Change-Id: I3f8cde50e1806c6cf157364657d77fd9a780d5e3
* display: Enable clang for all display modulesNaseer Ahmed2015-11-031-0/+1
| | | | Change-Id: I71e3fa3f7d44253b8e01d1eafe086b1898d65a8e
* Add space after string literal to fix compiler errors.Arun Kumar K.R2015-08-041-0/+1
| | | | Change-Id: If1e97340a01bdb84a0d85d7348d3e18abdd37483
* liblight: add support for mutiple blinking modesAshay Jaiswal2015-05-121-1/+10
| | | | | | | | Add support for multiple blinking mode for charger LED based on On and Off time. CRs-Fixed: 836728 Change-Id: I584de90c3b63c660c8a43cde87b16f9637a1838c
* liblight: turn off the LED when fail to set it blinkMao Li2014-07-041-6/+12
| | | | | | | | | For those platforms which do not support blink, solid RED LED keeps on after unplugging USB with capacity < 15. Turn off the LED when fail to set it blink, so as to fix this limitation. Change-Id: I70ac9f6d645579a71caae852e6afbd9fb176c84b
* liblight: add support for battery lightMao Li2014-06-221-0/+13
| | | | | | | | Add contolling interface for battery light, battery service from Android could control the led and show the status of battery. CRs-fixed: 683915 Change-Id: I6b112621ba1161a374055f9baab95cf766e5d7e4
* display: Change LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATHAjay Dudani2014-05-141-1/+1
| | | | | | | | | | | To comply with multi-arch build system changes for 64-bit support, LOCAL_MODULE_RELATIVE_PATH needs to be used. Drop explicit use of LOCAL_MODULE_PATH as its not needed, and causes build system to overwrite one of multi-arch library variants with the other arch variant. Change-Id: I882de72ad2003f1e2bcc93fb63bad7377a84d31d
* hqd: Fix Klocwork errors in liblightManoj Kumar AVM2014-05-071-1/+5
| | | | | | | | 1. Fix null pointer de-reference klocwork error in liblight. 2. sprintf is part of ScanBan function. Replace sprintf with snprintf. Change-Id: I0b88967a2bdf4adf563753c09df88d2c6a432045
* hqd : Use proper type castsDileep Kumar Reddi2014-02-281-1/+1
| | | | | | | | * Remove compilation errors * Use proper type casts Change-Id: I1d44c2a2362a1fdd4d6e412ea816d4078e8355c9 :
* liblights: fix compiler warningsArun Kumar K.R2014-01-311-2/+12
| | | | | | | - Use unused variable dev in the module - remove unused local variables Change-Id: Icb0cc033023640fd785abce9d00b467978500396
* BackLight: Add support for button backlight.HuiWang2013-08-181-0/+15
| | | | | | | Add function call to let framework layer could enable/disable the button backlight. Change-Id: I470ebb8953c5d3fdb72118dbaf06788c2079213e
* liblight: Add path to blink nodes for green/blue LED's.Ameya Thakur2013-08-121-1/+12
| | | | | | Liblight can now set the green/blue LED's to blink mode. Change-Id: I6206ed4397cf91859074b35b2faa9f287b3c4f9d
* liblight: Correct blink node according to new kernel changesYulian Shandorov2013-06-201-38/+7
| | | | | | | - Correct blink node path - Remove old, unused nodes Change-Id: Ifc565839e34013bd6c71fe14ef48f120b4ab4ffc
* display: Standardize log-tags for qcom display logs.Mathew Karimpanal2012-12-122-1/+1
| | | | Change-Id: I75bc2d8db8d64994097d6b744f357c29c9a5717a
* disable led while chargingSungmin Choi2012-08-171-13/+0
| | | | | | Fixes b/6970382 Change-Id: Idb823059424a0fa1f6382dc01d56c6c4f668c45c
* led: add blink feature and remove specific valuessamin.ryu2012-08-171-16/+25
| | | | Change-Id: I3a9ea70f972c2a12d584e557294ef8c47f7a3f12
* add light hal moduleSungmin Choi2012-07-023-0/+517
- initial version - control lcd backlight - control red, green, blue Change-Id: Ibd24dcee3a739111f9eb6a7717b76754875da36e