mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 06:22:53 +00:00
DO NOT MERGE Add missing seat memory properties to DefaultConfig.h for CTS tests
Test: atest CarPropertyManagerTest Bug: 239613431 Change-Id: I000a3f918f8f2c3ceb90710f88a18f91a56d2479
This commit is contained in:
@@ -183,6 +183,40 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
||||
},
|
||||
.initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::SEAT_MEMORY_SELECT),
|
||||
.access = VehiclePropertyAccess::WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = SEAT_1_RIGHT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = SEAT_2_LEFT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = SEAT_2_RIGHT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3}}},
|
||||
.initialValue = {.int32Values = {1}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::SEAT_MEMORY_SET),
|
||||
.access = VehiclePropertyAccess::WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = SEAT_1_RIGHT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = SEAT_2_LEFT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = SEAT_2_RIGHT,
|
||||
.minInt32Value = 0,
|
||||
.maxInt32Value = 3}}},
|
||||
.initialValue = {.int32Values = {1}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::SEAT_BELT_BUCKLED),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
|
||||
Reference in New Issue
Block a user