/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | VehicleUnitTest.java | 21 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/ |
D | UnitsMap.java | 19 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 …]
|
D | UnitsFuelConsumptionPreferenceController.java | 20 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()
|
D | Unit.java | 20 import android.car.VehicleUnit; 31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit()
|
D | UnitsEnergyConsumptionPreferenceController.java | 20 import android.car.VehicleUnit; 59 case VehicleUnit.MILE: in generateEntryStringFromUnit()
|
D | CarUnitsManager.java | 22 import android.car.VehicleUnit; 84 return intProperty != null && intProperty != VehicleUnit.SHOULD_NOT_USE; in isPropertyAvailable()
|
D | UnitsSettingsFragment.java | 21 import android.car.VehicleUnit; 131 != VehicleUnit.SHOULD_NOT_USE;
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/calmmode/ |
D | TemperatureViewModelTest.java | 35 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/ |
D | TemperatureViewModel.java | 23 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/ |
D | VehicleUnit.java | 27 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/ |
D | StatusBarSensorInfoManager.java | 24 import android.car.VehicleUnit; 160 boolean displayInInFahrenheit = mTemperatureUnit == VehicleUnit.FAHRENHEIT; in updateHvacProperties()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | HvacControllerTest.java | 37 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/ |
D | HvacTestFragment.java | 23 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/ |
D | lint-baseline.txt | 1012 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 …]
|
D | system-lint-baseline.txt | 1486 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 …]
|
D | current.txt | 481 public final class VehicleUnit {
|
D | system-current.txt | 373 public final class VehicleUnit {
|
D | test-current.txt | 390 public final class VehicleUnit {
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacController.java | 47 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/ |
D | HalPropertyDebugUtils.java | 38 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/ |
D | FakeVhalConfigParserUnitTest.java | 35 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/ |
D | PropertyHalServiceConfigsUnitTest.java | 38 import android.hardware.automotive.vehicle.VehicleUnit; 106 VehicleUnit.KILOPASCAL);
|
/packages/services/Car/car-lib-module/api/ |
D | current.txt | 481 public final class VehicleUnit {
|
D | system-current.txt | 373 public final class VehicleUnit {
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 2669 class VehicleUnit package android.car
|