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:
commit
ece89b1699
1 changed files with 18 additions and 0 deletions
|
@ -1548,6 +1548,24 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
||||||
},
|
},
|
||||||
.initialValue = {.int32Values = {LIGHT_STATE_ON}}},
|
.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 =
|
{.config =
|
||||||
{
|
{
|
||||||
.prop = toInt(VehicleProperty::HEADLIGHTS_SWITCH),
|
.prop = toInt(VehicleProperty::HEADLIGHTS_SWITCH),
|
||||||
|
|
Loading…
Reference in a new issue