Age | Commit message (Collapse) | Author |
|
Change-Id: Ibe89b7a99929cd8e52424be502094997194a476f
|
|
The hal class is essentially triggered from the boot class, so it's
possible that the HAL starts before the permissions are set, and manual
intervention was added to deal with the issue. However, we can simply
move chown to an earlier stage to avoid playing with the workflow.
Change-Id: I189b247576151f76efaf26b2d266564dc7768fba
|
|
So that init knows how to start it and to provide
an example of how to specify interfaces since there
are no lazy starting services on Pixel yet.
In order to make lights a lazy service, it would also
have to be marked as 'oneshot'.
Test: manually using Light as a lazy service
Bug: 64678982
Merged-In: I846a7e2d9545b42af9b985adb74883bda1b8c355
Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
|
|
Since these were combined into libhidlbase.
Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: Iba2cd20b8b20fac3e7564de6b853b475fd4ebd2a
|
|
Change-Id: Iff93b035ce99aeb8408de227dfcee6c7696fedfb
|
|
Change-Id: Id4312627cfb4d26507bc78592a5952d909e7e04d
|
|
Change-Id: Id13a42976df428c95c19eae49e1c114f057510bb
|
|
* Messing up notification light in some cases
Change-Id: I3fdaf2b0b3408d794ff2c6de7d1c2e6169b7a7a5
|
|
* 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
[SQUASHME] Let's dejank paths a bit...
Change-Id: Ifd3d05588b0271e7a361aa4c7374a91fe5639a1f
|
|
Change-Id: I097c542f95434d85b8c041b156dfd81952c64164
|
|
* Setting it earlier brings the device to often not show
the led light at all
Change-Id: I2663611241f7db571625e25694ebc77601bde5f6
|
|
Change-Id: I82e936742195c8248b03cea0aac44f671d10e245
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
Change-Id: Idf8053945cb9cfc15d4d401ec0e78953d3f3b051
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
|
|
Change-Id: Ib45e537c795b9ce6651c361b68f80ee28a616cad
|
|
Change-Id: Ib88ada3ffb019a204762031b17d4d3c40d09f250
|
|
Change-Id: I903039730f4181f6a326f28e0ea212db68bdabcc
|
|
* Xiaomi switched to 4095 level brightness switch on P
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Change-Id: If41820a046dd32697e21ca71defe2377895407c2
|
|
* 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
|
|
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
|
|
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
|
|
|
|
Signed-off-by: dev-harsh1998 <harshit.india@linaro.org>
|