Home
last modified time | relevance | path

Searched refs:VehicleUnit (Results 1 – 15 of 15) sorted by relevance

/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/units/
H A DUnitsMap.java19 import android.car.VehicleUnit;
99 map.put(VehicleUnit.RPM, RPM); in createMap()
100 map.put(VehicleUnit.HERTZ, HERTZ); in createMap()
103 map.put(VehicleUnit.METER, METER); in createMap()
105 map.put(VehicleUnit.MILE, MILE); in createMap()
108 map.put(VehicleUnit.KELVIN, KELVIN); in createMap()
110 map.put(VehicleUnit.LITER, LITER); in createMap()
114 map.put(VehicleUnit.SECS, SECS); in createMap()
115 map.put(VehicleUnit.YEAR, YEAR); in createMap()
123 map.put(VehicleUnit.PSI, PSI); in createMap()
[all …]
H A DUnitsFuelConsumptionPreferenceController.java20 import android.car.VehicleUnit;
61 case VehicleUnit.US_GALLON: in getAbbreviationByVolumeUnit()
65 case VehicleUnit.IMPERIAL_GALLON: in getAbbreviationByVolumeUnit()
84 case VehicleUnit.US_GALLON: in getPronouncedNameByVolumeUnit()
87 case VehicleUnit.IMPERIAL_GALLON: in getPronouncedNameByVolumeUnit()
H A DUnit.java20 import android.car.VehicleUnit;
31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit()
H A DUnitsEnergyConsumptionPreferenceController.java20 import android.car.VehicleUnit;
59 case VehicleUnit.MILE: in generateEntryStringFromUnit()
H A DCarUnitsManager.java22 import android.car.VehicleUnit;
83 return intProperty != null && intProperty != VehicleUnit.SHOULD_NOT_USE; in isPropertyAvailable()
H A DUnitsSettingsFragment.java21 import android.car.VehicleUnit;
131 != VehicleUnit.SHOULD_NOT_USE;
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
H A DDefaultConfig.h143 .configArray = {(int)VehicleUnit::METER_PER_SEC,
144 (int)VehicleUnit::MILES_PER_HOUR,
145 (int)VehicleUnit::KILOMETERS_PER_HOUR},
147 .initialValue = {.int32Values = {(int)VehicleUnit::KILOMETERS_PER_HOUR}}},
333 .configArray = {(int)VehicleUnit::KILOPASCAL, (int)VehicleUnit::PSI,
334 (int)VehicleUnit::BAR},
336 .initialValue = {.int32Values = {toInt(VehicleUnit::PSI)}}},
575 .configArray = {(int)VehicleUnit::FAHRENHEIT, (int)VehicleUnit::CELSIUS}},
576 .initialValue = {.int32Values = {(int)VehicleUnit::FAHRENHEIT}}},
584 .configArray = {(int)VehicleUnit::KILOMETER, (int)VehicleUnit::MILE},
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/
H A DVehicleUnit.java29 public final class VehicleUnit { class
117 private VehicleUnit() {} in VehicleUnit() method in VehicleUnit
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
H A DHvacControllerTest.java32 import android.car.VehicleUnit;
159 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in hvacPropertyChanged_temperatureUnitChangedToFahrenheit_allViewsHandleChange()
175 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.CELSIUS); in hvacPropertyChanged_temperatureUnitChangedToCelsius_allViewsHandleChange()
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
H A DHvacController.java43 import android.car.VehicleUnit;
220 areaId)) == VehicleUnit.FAHRENHEIT; in registerHvacViews()
281 (Integer) value.getValue() == VehicleUnit.FAHRENHEIT)); in handleHvacPropertyChange()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
H A DPropertyHalServiceIdsTest.java28 import android.hardware.automotive.vehicle.V2_0.VehicleUnit;
80 .addIntValue(VehicleUnit.KILOPASCAL)
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
H A DHvacTestFragment.java26 import android.hardware.automotive.vehicle.V2_0.VehicleUnit;
174 ((Integer) value.getValue()).equals(VehicleUnit.FAHRENHEIT));
602 (mTbTempDisplayUnit.isChecked() ? VehicleUnit.FAHRENHEIT : VehicleUnit.CELSIUS); in configureTempDisplayUnit()
/aosp12/hardware/interfaces/automotive/vehicle/2.0/
H A Dtypes.hal199 * @unit VehicleUnit:YEAR
239 * @unit VehicleUnit:WH
463 * @unit VehicleUnit:RPM
550 * @unit VehicleUnit:WH
590 * @unit VehicleUnit:MW
607 * @unit VehicleUnit:METER
1131 * Values must be one of VehicleUnit::CELSIUS or VehicleUnit::FAHRENHEIT
1136 * @data_enum VehicleUnit
1280 * {VehicleUnit:CELSIUS, VehicleUnit:FAHRENHEIT}.
1329 * @data_enum VehicleUnit
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/hal/
H A DPropertyHalServiceIds.java43 import android.hardware.automotive.vehicle.V2_0.VehicleUnit;
93 new HashSet<>(getIntegersFromDataEnums(VehicleUnit.class));
/aosp12/packages/services/Car/car-lib/api/
H A Dsystem-current.txt184 public final class VehicleUnit {