Commit Graph

18 Commits

Author SHA1 Message Date
Sathish Ambley
4342f27cd8 lights: Add support for low persistence mode
Add support for entering exiting low persistence mode during
vr mode enter exit respectively.

Change-Id: I080c021b8006d7b733b70f05172c869d043cb25b
2017-01-28 07:21:49 -08:00
Pullakavi Srinivas
c644266912 display-hal: Exclude HWC libs compilation.
This change introduces compilation flag to
compile standalone SDM libs.

Change-Id: I3f8cde50e1806c6cf157364657d77fd9a780d5e3
2016-07-01 16:20:31 +05:30
Naseer Ahmed
b8ecfbf5a7 display: Enable clang for all display modules
Change-Id: I71e3fa3f7d44253b8e01d1eafe086b1898d65a8e
2015-11-03 08:02:01 -05:00
Arun Kumar K.R
6203161ba8 Add space after string literal to fix compiler errors.
Change-Id: If1e97340a01bdb84a0d85d7348d3e18abdd37483
2015-08-04 16:56:11 -07:00
Ashay Jaiswal
26f0b53bef liblight: add support for mutiple blinking modes
Add support for multiple blinking mode for charger LED based on
On and Off time.

CRs-Fixed: 836728
Change-Id: I584de90c3b63c660c8a43cde87b16f9637a1838c
2015-05-12 20:08:19 +05:30
Mao Li
728ee0b565 liblight: turn off the LED when fail to set it blink
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
2014-07-04 00:53:50 -07:00
Mao Li
a4e053a44f liblight: add support for battery light
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
2014-06-22 20:29:10 -07:00
Ajay Dudani
96719e7d57 display: Change LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
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
2014-05-14 16:30:45 -07:00
Manoj Kumar AVM
001b30942d hqd: Fix Klocwork errors in liblight
1. Fix null pointer de-reference klocwork error in liblight.
2. sprintf is part of ScanBan function. Replace sprintf with
   snprintf.

Change-Id: I0b88967a2bdf4adf563753c09df88d2c6a432045
2014-05-07 19:08:50 -07:00
Dileep Kumar Reddi
bf333c775d hqd : Use proper type casts
* Remove compilation errors
    * Use proper type casts

Change-Id: I1d44c2a2362a1fdd4d6e412ea816d4078e8355c9
:
2014-02-28 02:09:00 -08:00
Arun Kumar K.R
0efad603dc liblights: fix compiler warnings
- Use unused variable dev in the module
- remove unused local variables

Change-Id: Icb0cc033023640fd785abce9d00b467978500396
2014-01-31 11:40:02 -08:00
HuiWang
f73bc576b8 BackLight: Add support for button backlight.
Add function call to let framework layer could enable/disable the
button backlight.

Change-Id: I470ebb8953c5d3fdb72118dbaf06788c2079213e
2013-08-18 19:20:51 -07:00
Ameya Thakur
192c8ac6ca liblight: Add path to blink nodes for green/blue LED's.
Liblight can now set the green/blue LED's to blink mode.

Change-Id: I6206ed4397cf91859074b35b2faa9f287b3c4f9d
2013-08-12 18:54:23 -07:00
Yulian Shandorov
784d7396b9 liblight: Correct blink node according to new kernel changes
- Correct blink node path
- Remove old, unused nodes

Change-Id: Ifc565839e34013bd6c71fe14ef48f120b4ab4ffc
2013-06-20 04:28:59 -07:00
Mathew Karimpanal
dec98cc96e display: Standardize log-tags for qcom display logs.
Change-Id: I75bc2d8db8d64994097d6b744f357c29c9a5717a
2012-12-12 17:49:17 -08:00
Sungmin Choi
5c5ca0ca17 disable led while charging
Fixes b/6970382

Change-Id: Idb823059424a0fa1f6382dc01d56c6c4f668c45c
2012-08-17 14:17:18 -07:00
samin.ryu
d57c7d55c9 led: add blink feature and remove specific values
Change-Id: I3a9ea70f972c2a12d584e557294ef8c47f7a3f12
2012-08-17 14:11:40 -07:00
Sungmin Choi
b514889338 add light hal module
- initial version
- control lcd backlight
- control red, green, blue

Change-Id: Ibd24dcee3a739111f9eb6a7717b76754875da36e
2012-07-02 16:57:10 -07:00