d28e45f7cf
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 |
||
---|---|---|
.. | ||
aidl_api/android.hardware.light | ||
android/hardware/light | ||
default | ||
vts/functional | ||
Android.bp |