platform_hardware_interfaces/light
Sahil Somani d28e45f7cf Added dummy Lights to the Light HAL default implementation
Most of the VTS tests for the Light HAL involve looping over
the list of Light objects returned by Lights::getLights(), but
the current default implementation of this function returns no
Light objects. Lights::getLights() was changed to create a few
dummy Light objects when called. Lights::setLightStatus() was
also changed to determine whether a given Light id was created
by Lights::getLights() and thus valid or not.

Test: VtsHalLightTargetTest
Bug: 240485903
Change-Id: I5ad0bdfdccacc2bde80c2dd89eaa84702f22a7fb
2022-07-27 17:28:36 -07:00
..
2.0 light: downgrade hardware open error 2021-04-01 20:50:51 +00:00
aidl Added dummy Lights to the Light HAL default implementation 2022-07-27 17:28:36 -07:00
utils [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-21 20:36:55 -08:00