Loading automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +70 −0 Original line number Diff line number Diff line Loading @@ -1072,6 +1072,76 @@ const std::vector<ConfigDeclaration> kVehicleProperties = { .areaId = DOOR_REAR, .minInt32Value = 0, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Z_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -3, .maxInt32Value = 3}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Z_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Y_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -3, .maxInt32Value = 3}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Y_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_LOCK), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE}, .initialValue = {.int32Values = {1}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_FOLD), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE}, .initialValue = {.int32Values = {1}}}, {.config = {.prop = toInt(VehicleProperty::WINDOW_LOCK), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, Loading Loading
automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +70 −0 Original line number Diff line number Diff line Loading @@ -1072,6 +1072,76 @@ const std::vector<ConfigDeclaration> kVehicleProperties = { .areaId = DOOR_REAR, .minInt32Value = 0, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Z_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -3, .maxInt32Value = 3}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Z_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Y_POS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -3, .maxInt32Value = 3}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -3, .maxInt32Value = 3}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_Y_MOVE), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .areaConfigs = {VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT), .minInt32Value = -1, .maxInt32Value = 1}, VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER), .minInt32Value = -1, .maxInt32Value = 1}}}, .initialValue = {.int32Values = {0}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_LOCK), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE}, .initialValue = {.int32Values = {1}}}, {.config = {.prop = toInt(VehicleProperty::MIRROR_FOLD), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE}, .initialValue = {.int32Values = {1}}}, {.config = {.prop = toInt(VehicleProperty::WINDOW_LOCK), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, Loading