Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +11 −6 Original line number Original line Diff line number Diff line Loading @@ -124,7 +124,7 @@ const ConfigDeclaration kVehicleProperties[]{ .access = VehiclePropertyAccess::READ, .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::STATIC, .changeMode = VehiclePropertyChangeMode::STATIC, }, }, .initialValue = {.floatValues = {1776, 4950, 2008, 2140, 2984, 1665, 1667, 11800}}}, .initialValue = {.int32Values = {1776, 4950, 2008, 2140, 2984, 1665, 1667, 11800}}}, {.config = {.config = { { .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED), .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED), Loading Loading @@ -328,6 +328,11 @@ const ConfigDeclaration kVehicleProperties[]{ .prop = toInt(VehicleProperty::CURRENT_GEAR), .prop = toInt(VehicleProperty::CURRENT_GEAR), .access = VehiclePropertyAccess::READ, .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .configArray = {(int)VehicleGear::GEAR_PARK, (int)VehicleGear::GEAR_NEUTRAL, (int)VehicleGear::GEAR_REVERSE, (int)VehicleGear::GEAR_1, (int)VehicleGear::GEAR_2, (int)VehicleGear::GEAR_3, (int)VehicleGear::GEAR_4, (int)VehicleGear::GEAR_5}, }, }, .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}}, .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}}, Loading Loading @@ -1072,8 +1077,8 @@ const ConfigDeclaration kVehicleProperties[]{ .access = VehiclePropertyAccess::READ, .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, }, }, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, -1, -1, -1, -1, -1, -1 /* Insets */}}, -1, -1 /* Insets */}}, }, }, { { .config = .config = Loading Loading @@ -1126,9 +1131,9 @@ const ConfigDeclaration kVehicleProperties[]{ .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .configArray = {0, 0, 0, 11, 0, 0, 0, 0, 16}, .configArray = {0, 0, 0, 11, 0, 0, 0, 0, 16}, }, }, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, -1, -1, -1, -1, -1, -1 /* Insets */, -1, -1 /* Insets */, 0 /* ClusterHome */, 0 /* ClusterHome */, -1 /* ClusterNone */}}, -1 /* ClusterNone */}}, }, }, { { .config = .config = Loading Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +11 −6 Original line number Original line Diff line number Diff line Loading @@ -124,7 +124,7 @@ const ConfigDeclaration kVehicleProperties[]{ .access = VehiclePropertyAccess::READ, .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::STATIC, .changeMode = VehiclePropertyChangeMode::STATIC, }, }, .initialValue = {.floatValues = {1776, 4950, 2008, 2140, 2984, 1665, 1667, 11800}}}, .initialValue = {.int32Values = {1776, 4950, 2008, 2140, 2984, 1665, 1667, 11800}}}, {.config = {.config = { { .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED), .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED), Loading Loading @@ -328,6 +328,11 @@ const ConfigDeclaration kVehicleProperties[]{ .prop = toInt(VehicleProperty::CURRENT_GEAR), .prop = toInt(VehicleProperty::CURRENT_GEAR), .access = VehiclePropertyAccess::READ, .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .configArray = {(int)VehicleGear::GEAR_PARK, (int)VehicleGear::GEAR_NEUTRAL, (int)VehicleGear::GEAR_REVERSE, (int)VehicleGear::GEAR_1, (int)VehicleGear::GEAR_2, (int)VehicleGear::GEAR_3, (int)VehicleGear::GEAR_4, (int)VehicleGear::GEAR_5}, }, }, .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}}, .initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}}, Loading Loading @@ -1072,8 +1077,8 @@ const ConfigDeclaration kVehicleProperties[]{ .access = VehiclePropertyAccess::READ, .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, }, }, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, -1, -1, -1, -1, -1, -1 /* Insets */}}, -1, -1 /* Insets */}}, }, }, { { .config = .config = Loading Loading @@ -1126,9 +1131,9 @@ const ConfigDeclaration kVehicleProperties[]{ .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .configArray = {0, 0, 0, 11, 0, 0, 0, 0, 16}, .configArray = {0, 0, 0, 11, 0, 0, 0, 0, 16}, }, }, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, .initialValue = {.int32Values = {0 /* Off */, -1, -1, -1, -1 /* Bounds */, -1, -1, -1, -1, -1, -1 /* Insets */, -1, -1 /* Insets */, 0 /* ClusterHome */, 0 /* ClusterHome */, -1 /* ClusterNone */}}, -1 /* ClusterNone */}}, }, }, { { .config = .config = Loading