Commit graph

12 commits

Author SHA1 Message Date
Jeongik Cha
729bc3ee2e sdm660-common: light: Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: I4a9bf218b92252403e9ebbe8f89b10ee1899283f
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Pig
6cca34ef40 sdm660-common: light: Extend hidl changes to aidl
* Changes authored by dianlujitao in commits 7174356 ("Improve lights HAL") and
 f8e30fd ("Fix battery light not lit after notification light off") are
 adapted as following:
 Type(HIDL) -> id(AIDL) in functions and maps

 Note: Keep backlight in the map as per b9e44e5007, allowing SF to set backlight.

Co-authored-by: dianlujitao <dianlujitao@lineageos.org>
Change-Id: I8960a1fe0b44097e703f3f067d4e432a12d26fc3
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
PIPIPIG233666
a592795621 sdm660-common: light: Move hidl to a seperate directory
Change-Id: If75aa890c24a60534c17d410bc2d1318c59cc5ec
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Sebastiano Barezzi
5616948c08 sdm660-common: Move to SPDX license identifier
Change-Id: Ic46de254772fb2c3d57566ac0c60a7f5a7f55ab9
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-12-31 07:51:33 +01:00
Sebastiano Barezzi
3605a9c720 sdm660-common: Move to SPDX license identifier
Change-Id: If335a7b83289edf4759d0195a8b065c8dac6631b
2021-11-13 11:31:51 +01:00
erfanoabdi
d9f012a6f4
sdm660-common: light: Adapt light HAL for k4.19 2021-06-07 09:21:10 +06:00
Bruno Martins
313e2e8d10
sdm660-common: lights: Include VINTF fragment
Change-Id: I436e67ea97511d728881e118cf8cb5b66ab338ed
2021-03-22 18:30:00 +06:00
Steven Moreland
ecfc20eadd
sdm660-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00
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
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