summaryrefslogtreecommitdiff
path: root/light
AgeCommit message (Collapse)Author
2020-04-30sdm660-common: light: Set blink as last parameterDavide Garberi
* Setting it earlier brings the device to often not show the led light at all Change-Id: I2663611241f7db571625e25694ebc77601bde5f6
2020-04-30sdm660-common: light: Handle brightness in a less hacky wayDemon Singur
Change-Id: I82e936742195c8248b03cea0aac44f671d10e245 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2020-04-30sdm660-common: light: Set saner ramp valuesDemon Singur
Change-Id: Idf8053945cb9cfc15d4d401ec0e78953d3f3b051 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
2020-04-30sdm660-common: light: Add missing chmodsDavide Garberi
Change-Id: Ib45e537c795b9ce6651c361b68f80ee28a616cad
2020-04-30sdm660-common: light: Rename red led to whiteDavide Garberi
Change-Id: Ib88ada3ffb019a204762031b17d4d3c40d09f250
2019-09-18sdm660-common: Convert to 660 common treeDavide Garberi
Change-Id: I903039730f4181f6a326f28e0ea212db68bdabcc
2019-09-01wayne-common: light: Set correct brightness for backlightIsaac Chen
* Xiaomi switched to 4095 level brightness switch on P Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn> Change-Id: If41820a046dd32697e21ca71defe2377895407c2
2019-08-13wayne-common: rootdir: Add 'vendor.' prefix to a vendor HAL service nameJaekyun Seok
* To prevent property name collisions between properties of system and vendor, 'vendor.' prefix must be added to a vendor HAL service name. You can see the details in go/treble-sysprop-compatibility documents. Test: succeeded building and tested on a sailfish device. Bug: 36796459 Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
2019-08-13wayne-common: light: Mark as shutdown criticalSteven Moreland
Required because the lights need to be turned off late in boot (e.x. during fsck for disk health), and before, blank_screen accessing light encountered a race condition where if it didn't get scheduled before all of the processes which were getting shutdown were getting killed, the screen wouldn't blank. Bug: 74976325 Test: adjusting brightness continues to work Test: screen blanks during shutdown at the correct time including when an artificial 5s delay is inserted when the phone normally fscks (which can also be quick) Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
2018-07-31wayne: light: Support ramp step notification controlIsaac Chen
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-07-13wayne: light: Throw a warning if path stream ain't validHarshit Jain
2018-07-13wayne: Convert light HAL into a HIDL servicedev-harsh1998
Signed-off-by: dev-harsh1998 <harshit.india@linaro.org>