Commit graph

6 commits

Author SHA1 Message Date
Demon000
f036db8030
sdm660-common: Rework Light HAL based on xiaomi-msm8998 source
* squash from here
afafb3b3f3/light

* Added automatic max brightness detection
* Rework debug Statments

The xiaomi-sdm660-devs one created Led Light issues

Change-Id: Ie7b62a488770734e659f4db03436ebaa2f2f5f30
2020-08-12 02:11:31 +06:00
dianlujitao
4a0d509d3c
sdm660-common: Improve lights HAL
* Use libbase logging and file utils
 * Read max brightness from sysfs
 * Convert constants to constexpr
 * Move helper functions to anonymous namespace
 * Bug fixes
 * Remove redundant chmod
 * Start the service after permissions are set up because it reads max
   brightness in constructor.

Change-Id: I145d393c785e182060c5651e796d489f8c4d697b
2020-08-12 02:02:37 +06:00
Demon000
5b63d5c3fb
sdm660-common: Adapt Light Hal for commonized sdm660 tree
Change-Id: If08b3cfc5e4e5bb35b39d6616d0fd974a709e61d
2020-08-12 02:02:37 +06:00
Max Weffers
c1ab176762
sdm660-common : Adapt xiaomi msm8998 Light hal for sdm660 2019-08-14 10:04:10 +02:00
Max Weffers
cb1b743b8d
sdm660-common: Transform into common sdm660 tree 2019-08-14 10:04:10 +02:00
dev-harsh1998
9cfa4c0be9 wayne: Convert light HAL into a HIDL service
Signed-off-by: dev-harsh1998 <harshit.india@linaro.org>
2018-07-13 00:03:17 +00:00