DO NOT MERGE Add interior light state properties to the emulator for CTS tests am: 1548acc785

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19642615

Change-Id: Ib10363d193d58ab1f4bb39dacfab5837f3d1b3c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
seanhong 2022-08-19 22:09:20 +00:00 committed by Automerger Merge Worker
commit ece89b1699

View file

@ -1548,6 +1548,24 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
},
.initialValue = {.int32Values = {LIGHT_STATE_ON}}},
{.config =
{
.prop = toInt(VehicleProperty::CABIN_LIGHTS_STATE),
.access = VehiclePropertyAccess::READ,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
},
.initialValue = {.int32Values = {LIGHT_STATE_ON}}},
{.config = {.prop = toInt(VehicleProperty::READING_LIGHTS_STATE),
.access = VehiclePropertyAccess::READ,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
.areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT},
VehicleAreaConfig{.areaId = SEAT_1_RIGHT},
VehicleAreaConfig{.areaId = SEAT_2_LEFT},
VehicleAreaConfig{.areaId = SEAT_2_RIGHT},
VehicleAreaConfig{.areaId = SEAT_2_CENTER}}},
.initialValue = {.int32Values = {LIGHT_STATE_ON}}},
{.config =
{
.prop = toInt(VehicleProperty::HEADLIGHTS_SWITCH),