summaryrefslogtreecommitdiffstats
path: root/liblight
Commit message (Collapse)AuthorAgeFilesLines
* Update some hw_device_t structs.Kyle Repinski2016-01-171-3/+3
| | | | | version_major and version_minor are deprecated. Ensure we actually set the sensor api version.
* liblight: Build with -Wall -Werror.Kyle Repinski2016-01-172-4/+7
| | | | Change-Id: I576d40023e7d1981a2da6ce5d6dd999067418c89
* tuna: add support for battery LED chargingLars Greiss2014-12-131-29/+85
| | | | | Device has multi-color RGB LED, enable charging function using existing custom lights library.
* Fix liblight build.Kyle Repinski2014-12-131-0/+2
| | | | | | Due to kernel headers not being included in the build path anymore (or being there at all actually), they need to be added on a per-section basis I guess? liblight needs (at least...) linux/leds-an30259a.h
* lights: remove HAL_MODULE_INFO_SYM constNick Kralevich2012-03-011-1/+1
| | | | | | | | | | HAL_MODULE_INFO_SYM was declared as read-only, but the struct is written to by libhardware. This causes a segfault when -Wl,-z,relro is enabled. Fixed. Change-Id: I209db88c745b3f1a0d0c8f08a287b7b7debd8352
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-4/+4
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I2e1c43800c19b718cc7ee94ec299c62bc14873b4
* Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-2/+2
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Iab0aa050fba57491f5cb7ed928f44a0fda7d1ea4
* liblight: Narrow the pulse for notification LED blinkMike Lockwood2011-09-281-1/+1
| | | | | | | Bug: 5297742 Change-Id: I0be9013d2cc32da701d43c398f52c577218777b2 Signed-off-by: Mike Lockwood <lockwood@android.com>
* liblight: Tune notification LED blink ramping to reduce power consumptionMike Lockwood2011-09-261-1/+6
| | | | | | | | | Also tweak white color to reduce purplish tint. Bug: 5297742 Change-Id: I8cb62758f8ba10a28606695f7f0143dc611fb035 Signed-off-by: Mike Lockwood <lockwood@android.com>
* liblights: Update LED blink timing, color and pulse slope to match UI ↵Mike Lockwood2011-08-271-78/+22
| | | | | | | | | | | | | specification Bug: 5143247 Change-Id: I87ec8551412f7fa9a6ff2d33521b9f74881e5ba5 Signed-off-by: Mike Lockwood <lockwood@android.com> led wippery Change-Id: Ib78da0a833e2d8cb5573e5bbbde069b3587d334e
* LED: Add LED HAL to light moduleWon Hyoung Lee2011-08-271-3/+147
| | | | | | | | | adding LED HAL for an30259a device The device file is /dev/an30259a_leds. Change-Id: I071d081cde05f2b8626992f3831f55be09fddce5 Signed-off-by: Won Hyoung Lee <whlee@sta.samsung.com> Signed-off-by: Mike Lockwood <lockwood@android.com>
* Always build lights.tunaArve Hjønnevåg2011-07-011-4/+0
| | | | Change-Id: Ic598bb70a67f65c80675746ec61336bd768bc30b
* Add light module for backlightArve Hjønnevåg2011-06-303-0/+354
Copied from crespo Change-Id: I75956a352472b4503e85058570255fd651ac3795