Loading automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +11 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,17 @@ const std::vector<ConfigDeclaration> kVehicleProperties = { }, .initialValue = {.int32Values = {toInt(VehicleUnit::KILOMETERS_PER_HOUR)}}}, {.config = { .prop = toInt(VehicleProperty::EV_BATTERY_DISPLAY_UNITS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .configArray = {toInt(VehicleUnit::WATT_HOUR), toInt(VehicleUnit::AMPERE_HOURS), toInt(VehicleUnit::KILOWATT_HOUR)}, }, .initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}}, {.config = { .prop = toInt(VehicleProperty::SEAT_OCCUPANCY), Loading Loading
automotive/vehicle/aidl/impl/default_config/include/DefaultConfig.h +11 −0 Original line number Diff line number Diff line Loading @@ -171,6 +171,17 @@ const std::vector<ConfigDeclaration> kVehicleProperties = { }, .initialValue = {.int32Values = {toInt(VehicleUnit::KILOMETERS_PER_HOUR)}}}, {.config = { .prop = toInt(VehicleProperty::EV_BATTERY_DISPLAY_UNITS), .access = VehiclePropertyAccess::READ_WRITE, .changeMode = VehiclePropertyChangeMode::ON_CHANGE, .configArray = {toInt(VehicleUnit::WATT_HOUR), toInt(VehicleUnit::AMPERE_HOURS), toInt(VehicleUnit::KILOWATT_HOUR)}, }, .initialValue = {.int32Values = {toInt(VehicleUnit::KILOWATT_HOUR)}}}, {.config = { .prop = toInt(VehicleProperty::SEAT_OCCUPANCY), Loading