Loading automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +100 −0 Original line number Diff line number Diff line Loading @@ -589,6 +589,106 @@ const std::vector<ConfigDeclaration> kVehicleProperties = { .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_HEIGHT_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_ANGLE_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = 0, .maxInt32Value = 10}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_ANGLE_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_FORE_AFT_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = 0, .maxInt32Value = 10}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_FORE_AFT_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = { .prop = toInt(VehicleProperty::SEAT_OCCUPANCY), Loading Loading
automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +100 −0 Original line number Diff line number Diff line Loading @@ -589,6 +589,106 @@ const std::vector<ConfigDeclaration> kVehicleProperties = { .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_HEIGHT_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_ANGLE_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = 0, .maxInt32Value = 10}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_ANGLE_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_FORE_AFT_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = 0, .maxInt32Value = 10}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = 0, .maxInt32Value = 10}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::SEAT_HEADREST_FORE_AFT_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = SEAT_1_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_1_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_LEFT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_RIGHT, .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = SEAT_2_CENTER, .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = { .prop = toInt(VehicleProperty::SEAT_OCCUPANCY), Loading