DO NOT MERGE Add interior light switch properties to the emulator for

CTS tests

Test: atest CarPropertyManagerTest
Bug: 242740101
Change-Id: I072bb95f327869ae48782023ae144cce7a0b2be6
This commit is contained in:
seanhong 2022-08-23 22:44:29 +00:00
parent 228e8afcef
commit 0c188ae232

View file

@ -1608,6 +1608,24 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
},
.initialValue = {.int32Values = {LIGHT_SWITCH_AUTO}}},
{.config =
{
.prop = toInt(VehicleProperty::CABIN_LIGHTS_SWITCH),
.access = VehiclePropertyAccess::READ_WRITE,
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
},
.initialValue = {.int32Values = {LIGHT_STATE_ON}}},
{.config = {.prop = toInt(VehicleProperty::READING_LIGHTS_SWITCH),
.access = VehiclePropertyAccess::READ_WRITE,
.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::EVS_SERVICE_REQUEST),