mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
DO NOT MERGE Add interior light state properties to the emulator for CTS tests
Test: atest CarPropertyManagerTest Bug: 242739801 Change-Id: Id2181fd33c2d821513d151f1fddc78de9b057627
This commit is contained in:
@@ -1274,6 +1274,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),
|
||||
|
||||
Reference in New Issue
Block a user