Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 228e8afc authored by Sean Hong's avatar Sean Hong Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Add interior light state properties to the emulator for...

Merge "DO NOT MERGE Add interior light state properties to the emulator for CTS tests" into tm-qpr-dev
parents 5b5822d9 1548acc7
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -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),