mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
c0544589b81a846850d02d68db23b3e8338d0b03
Add a Light struct to the example service so it can hold a HwLight and its associated HwLightState. Also added a HashMap of ids -> Light to the LightService and updated the HAL methods implementation to make the service stateful. Now instantiating a LightService requires that a list of HwLights is provided, so a default implementation was provided as a convenience. The android.hardware.light rust API version had to be bumped since we rely on new derive statements added to the AIDL files. Tested: built VtsHalLightTargetTest and ran in Cuttlefish Bug: 286106270 Change-Id: Id2b17a6a2290295c7b0b5405ac9815eaa28303c6
Increase frame counters in the same critical section am:
928a4535c8 am: a343d0cf0c am: c070b5a14b am: 55baee93d6 am: 4bf0cb2c5f
UEC is not static on real device, so check its range intead of specific value am:
c2794f8c26 am: 44272133e5 am: 047d533cdc
…
…
…
Description
No description provided
Languages
C++
56.3%
AIDL
41.2%
C
1.5%
Rust
0.4%
Java
0.4%
Other
0.1%