Home
last modified time | relevance | path

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

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DVehicleUnitTest.java21 import android.car.VehicleUnit;
48 {VehicleUnit.SHOULD_NOT_USE, in constantValues()
49 android.hardware.automotive.vehicle.VehicleUnit.SHOULD_NOT_USE}, in constantValues()
50 {VehicleUnit.METER_PER_SEC, in constantValues()
51 android.hardware.automotive.vehicle.VehicleUnit.METER_PER_SEC}, in constantValues()
52 {VehicleUnit.RPM, android.hardware.automotive.vehicle.VehicleUnit.RPM}, in constantValues()
53 {VehicleUnit.HERTZ, android.hardware.automotive.vehicle.VehicleUnit.HERTZ}, in constantValues()
54 {VehicleUnit.PERCENTILE, in constantValues()
55 android.hardware.automotive.vehicle.VehicleUnit.PERCENTILE}, in constantValues()
56 {VehicleUnit.MILLIMETER, in constantValues()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsMap.java19 import android.car.VehicleUnit;
30 protected static final Unit METER_PER_SEC = new Unit(VehicleUnit.METER_PER_SEC,
32 protected static final Unit RPM = new Unit(VehicleUnit.RPM,
34 protected static final Unit HERTZ = new Unit(VehicleUnit.HERTZ,
36 protected static final Unit PERCENTILE = new Unit(VehicleUnit.PERCENTILE,
38 protected static final Unit MILLIMETER = new Unit(VehicleUnit.MILLIMETER,
40 protected static final Unit METER = new Unit(VehicleUnit.METER,
42 protected static final Unit KILOMETER = new Unit(VehicleUnit.KILOMETER,
44 protected static final Unit MILE = new Unit(VehicleUnit.MILE,
46 protected static final Unit CELSIUS = new Unit(VehicleUnit.CELSIUS,
[all …]
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()
DUnit.java20 import android.car.VehicleUnit;
31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit()
DUnitsEnergyConsumptionPreferenceController.java20 import android.car.VehicleUnit;
59 case VehicleUnit.MILE: in generateEntryStringFromUnit()
DCarUnitsManager.java22 import android.car.VehicleUnit;
84 return intProperty != null && intProperty != VehicleUnit.SHOULD_NOT_USE; in isPropertyAvailable()
DUnitsSettingsFragment.java21 import android.car.VehicleUnit;
131 != VehicleUnit.SHOULD_NOT_USE;
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/
DTemperatureViewModelTest.java35 import android.car.VehicleUnit;
77 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.CELSIUS); in setUp()
164 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in testHandleUnitChange_changeUnitFromCtoF_dataChanged()
177 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in testHandleUnitChange_changeUnitFromFtoC_dataChanged()
181 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.CELSIUS); in testHandleUnitChange_changeUnitFromFtoC_dataChanged()
196 when(mUnitCarPropVal.getValue()).thenReturn(VehicleUnit.CELSIUS); in testHandleUnitChange_changeUnitFromCtoC_dataSame()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/calmmode/
DTemperatureViewModel.java23 import android.car.VehicleUnit;
112 if (newVehicleUnit.getValue() != VehicleUnit.FAHRENHEIT in handleUnitChange()
113 && newVehicleUnit.getValue() != VehicleUnit.CELSIUS) { in handleUnitChange()
120 newVehicleUnit.getValue() == VehicleUnit.FAHRENHEIT in handleUnitChange()
/packages/services/Car/car-lib/src/android/car/
DVehicleUnit.java27 public final class VehicleUnit { class
145 private VehicleUnit() { in VehicleUnit() method in VehicleUnit
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/statusicon/ui/
DStatusBarSensorInfoManager.java24 import android.car.VehicleUnit;
160 boolean displayInInFahrenheit = mTemperatureUnit == VehicleUnit.FAHRENHEIT; in updateHvacProperties()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/
DHvacControllerTest.java37 import android.car.VehicleUnit;
236 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.FAHRENHEIT); in hvacPropertyChanged_temperatureUnitChangedToFahrenheit_allViewsHandleChange()
253 when(mCarPropertyValue.getValue()).thenReturn(VehicleUnit.CELSIUS); in hvacPropertyChanged_temperatureUnitChangedToCelsius_allViewsHandleChange()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
DHvacTestFragment.java23 import android.car.VehicleUnit;
178 ((Integer) value.getValue()).equals(VehicleUnit.FAHRENHEIT));
615 (mTbTempDisplayUnit.isChecked() ? VehicleUnit.FAHRENHEIT : VehicleUnit.CELSIUS); in configureTempDisplayUnit()
/packages/services/Car/car-lib/api/
Dlint-baseline.txt1012 UnflaggedApi: android.car.VehicleUnit:
1013 New API must be flagged with @FlaggedApi: class android.car.VehicleUnit
1014 UnflaggedApi: android.car.VehicleUnit#AMPERE_HOURS:
1015 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.AMPERE_HOURS
1016 UnflaggedApi: android.car.VehicleUnit#BAR:
1017 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.BAR
1018 UnflaggedApi: android.car.VehicleUnit#CELSIUS:
1019 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.CELSIUS
1020 UnflaggedApi: android.car.VehicleUnit#FAHRENHEIT:
1021 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.FAHRENHEIT
[all …]
Dsystem-lint-baseline.txt1486 UnflaggedApi: android.car.VehicleUnit#DEGREES:
1487 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.DEGREES
1488 UnflaggedApi: android.car.VehicleUnit#HERTZ:
1489 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.HERTZ
1490 UnflaggedApi: android.car.VehicleUnit#MILLIAMPERE:
1491 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.MILLIAMPERE
1492 UnflaggedApi: android.car.VehicleUnit#MILLIVOLT:
1493 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.MILLIVOLT
1494 UnflaggedApi: android.car.VehicleUnit#MILLIWATTS:
1495 New API must be flagged with @FlaggedApi: field android.car.VehicleUnit.MILLIWATTS
[all …]
Dcurrent.txt481 public final class VehicleUnit {
Dsystem-current.txt373 public final class VehicleUnit {
Dtest-current.txt390 public final class VehicleUnit {
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacController.java47 import android.car.VehicleUnit;
324 == VehicleUnit.FAHRENHEIT; in registerHvacViews()
403 (Integer) value.getValue() == VehicleUnit.FAHRENHEIT)); in handleHvacPropertyChange()
/packages/services/Car/service/src/com/android/car/hal/property/
DHalPropertyDebugUtils.java38 import android.hardware.automotive.vehicle.VehicleUnit;
287 String unitsString = ConstantDebugUtils.toName(VehicleUnit.class, units); in getUnitsIfSupported()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParserUnitTest.java35 import android.hardware.automotive.vehicle.VehicleUnit;
870 .isEqualTo(new int[]{VehicleUnit.METER_PER_SEC, VehicleUnit.MILES_PER_HOUR, in testParseDefaultConfigFile()
871 VehicleUnit.KILOMETERS_PER_HOUR}); in testParseDefaultConfigFile()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java38 import android.hardware.automotive.vehicle.VehicleUnit;
106 VehicleUnit.KILOPASCAL);
/packages/services/Car/car-lib-module/api/
Dcurrent.txt481 public final class VehicleUnit {
Dsystem-current.txt373 public final class VehicleUnit {
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2669 class VehicleUnit package android.car