Loading automotive/vehicle/2.0/types.hal +20 −3 Original line number Diff line number Diff line Loading @@ -1139,7 +1139,6 @@ enum VehicleProperty : int32_t { * Indicates which units the car is using to display fuel volume to the user. Eg. Liter or * Gallon. * * Distance units are defined in VehicleUnit. * VehiclePropConfig.configArray is used to indicate the supported fuel volume display units. * Volume units are defined in VehicleUnit. * For example: configArray[0] = 0x41 // LITER Loading @@ -1160,7 +1159,6 @@ enum VehicleProperty : int32_t { * Indicates which units the car is using to display tire pressure to the user. Eg. PSI, Bar or * Kilopascal. * * Distance units are defined in VehicleUnit. * VehiclePropConfig.configArray is used to indicate the supported pressure display units. * Pressure units are defined in VehicleUnit. * For example: configArray[0] = 0x70 // KILOPASCAL Loading @@ -1182,7 +1180,6 @@ enum VehicleProperty : int32_t { * Indicates which units the car is using to display EV battery information to the user. Eg. * watt-hours(Wh), kilowatt-hours(kWh) or ampere-hours(Ah). * * Distance units are defined in VehicleUnit. * VehiclePropConfig.configArray is used to indicate the supported electrical energy units. * Electrical energy units are defined in VehicleUnit. * For example: configArray[0] = 0x60 // watt-hours Loading @@ -1198,6 +1195,22 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:INT32 | VehicleArea:GLOBAL), /** * Fuel consumption units for display * * Indicates type of units the car is using to display fuel consumption information to user * True indicates units are distance over volume such as MPG. * False indicates units are volume over distance such as L/100KM. * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ_WRITE */ FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME = ( 0x0604 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:BOOLEAN | VehicleArea:GLOBAL), /** * Outside temperature * Loading Loading @@ -2588,7 +2601,11 @@ enum VehicleUnit : int32_t { KELVIN = 0x32, MILLILITER = 0x40, LITER = 0x41, /** deprecated. Use US_GALLON instead. */ GALLON = 0x42, US_GALLON = 0x42, IMPERIAL_GALLON= 0x43, NANO_SECS = 0x50, SECS = 0x53, YEAR = 0x59, Loading Loading
automotive/vehicle/2.0/types.hal +20 −3 Original line number Diff line number Diff line Loading @@ -1139,7 +1139,6 @@ enum VehicleProperty : int32_t { * Indicates which units the car is using to display fuel volume to the user. Eg. Liter or * Gallon. * * Distance units are defined in VehicleUnit. * VehiclePropConfig.configArray is used to indicate the supported fuel volume display units. * Volume units are defined in VehicleUnit. * For example: configArray[0] = 0x41 // LITER Loading @@ -1160,7 +1159,6 @@ enum VehicleProperty : int32_t { * Indicates which units the car is using to display tire pressure to the user. Eg. PSI, Bar or * Kilopascal. * * Distance units are defined in VehicleUnit. * VehiclePropConfig.configArray is used to indicate the supported pressure display units. * Pressure units are defined in VehicleUnit. * For example: configArray[0] = 0x70 // KILOPASCAL Loading @@ -1182,7 +1180,6 @@ enum VehicleProperty : int32_t { * Indicates which units the car is using to display EV battery information to the user. Eg. * watt-hours(Wh), kilowatt-hours(kWh) or ampere-hours(Ah). * * Distance units are defined in VehicleUnit. * VehiclePropConfig.configArray is used to indicate the supported electrical energy units. * Electrical energy units are defined in VehicleUnit. * For example: configArray[0] = 0x60 // watt-hours Loading @@ -1198,6 +1195,22 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:INT32 | VehicleArea:GLOBAL), /** * Fuel consumption units for display * * Indicates type of units the car is using to display fuel consumption information to user * True indicates units are distance over volume such as MPG. * False indicates units are volume over distance such as L/100KM. * * @change_mode VehiclePropertyChangeMode:ON_CHANGE * @access VehiclePropertyAccess:READ_WRITE */ FUEL_CONSUMPTION_UNITS_DISTANCE_OVER_VOLUME = ( 0x0604 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:BOOLEAN | VehicleArea:GLOBAL), /** * Outside temperature * Loading Loading @@ -2588,7 +2601,11 @@ enum VehicleUnit : int32_t { KELVIN = 0x32, MILLILITER = 0x40, LITER = 0x41, /** deprecated. Use US_GALLON instead. */ GALLON = 0x42, US_GALLON = 0x42, IMPERIAL_GALLON= 0x43, NANO_SECS = 0x50, SECS = 0x53, YEAR = 0x59, Loading