Home
last modified time | relevance | path

Searched refs:Unit (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/units/
DUnitsMap.java30 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,
48 protected static final Unit FAHRENHEIT = new Unit(VehicleUnit.FAHRENHEIT,
[all …]
DCarUnitsManager.java105 protected Unit[] getUnitsSupportedByProperty(int propertyId) { in getUnitsSupportedByProperty()
110 List<Unit> units = new ArrayList<Unit>(); in getUnitsSupportedByProperty()
118 Unit[] result = new Unit[availableUnitsId.size()]; in getUnitsSupportedByProperty()
121 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()
128 Unit unit = UnitsMap.MAP.get(unitId); in getUnitsSupportedByProperty()
135 protected Unit getUnitUsedByProperty(int propertyId) { in getUnitUsedByProperty()
DUnitsBasePreferenceController.java88 private Unit[] mSupportedUnits;
89 private Unit mUnitBeingUsed;
90 private Unit mDefaultUnit;
144 Unit unit = mSupportedUnits[i]; in getEntriesOfSupportedUnits()
150 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()
154 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()
172 private Unit getUnitUsedByThisProperty() { in getUnitUsedByThisProperty()
173 Unit savedUnit = mCarUnitsManager.getUnitUsedByProperty(getPropertyId()); in getUnitUsedByThisProperty()
DUnitsFuelConsumptionPreferenceController.java48 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()
53 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()
58 private String getAbbreviationByVolumeUnit(Unit unit) { in getAbbreviationByVolumeUnit()
81 private String getPronouncedNameByVolumeUnit(Unit unit) { in getPronouncedNameByVolumeUnit()
DUnitsEnergyConsumptionPreferenceController.java51 protected String generateSummaryFromUnit(Unit unit) { in generateSummaryFromUnit()
56 protected String generateEntryStringFromUnit(Unit unit) { in generateEntryStringFromUnit()
71 private String getAbbreviationByUnit(Unit unit) { in getAbbreviationByUnit()
DUnit.java26 public class Unit { class
31 Unit(@VehicleUnit.Enum int unitId, @StringRes int unitAbbreviationResId, in Unit() method in Unit
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUnitsManager.java20 import com.android.car.settings.units.Unit;
36 private static HashMap<Integer, Unit[]> sSupportedUnits = new HashMap<>();
37 private static HashMap<Integer, Unit> sUnitsBeingUsed = new HashMap<>();
50 protected static Unit[] getUnitsSupportedByProperty(int propertyId) { in getUnitsSupportedByProperty()
55 protected static Unit getUnitUsedByProperty(int propertyId) { in getUnitUsedByProperty()
83 public static void setUnitsSupportedByProperty(int propertyId, Unit[] units) { in setUnitsSupportedByProperty()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java52 private static final Unit[] AVAILABLE_UNITS =
54 private static final Unit DEFAULT_UNIT = UnitsMap.YEAR;
175 Unit newUnit = UnitsMap.SECS; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue()
186 Unit newUnit = UnitsMap.SECS; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DInstrumentClusterFragment.java133 .setDisplayUnits(Distance.Unit.FEET) in getNavStateData()
172 .setDisplayUnits(Distance.Unit.KILOMETERS) in getNavStateData()
/packages/apps/Car/Messenger/tests/robotests/
Dreadme.md1 Unit test suite for CarMessengerApp using Robolectric.
/packages/apps/Car/Settings/tests/robotests/
Dreadme.md1 Unit test suite for SettingsLib using Robolectric.
/packages/apps/Car/Cluster/tests/robotests/
Dreadme.md1 Unit test suite for DirectRenderingCluster using Robolectric.
/packages/apps/Car/Dialer/tests/robotests/
Dreadme.md1 Unit test suite for CarDialerApp using Robolectric.
/packages/apps/TV/tests/robotests/
DREADME.md1 Unit test suite for Live Channels using Robolectric.
/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java325 if (distance == null || distance.getDisplayUnits() == Distance.Unit.UNKNOWN) { in formatDistance()
/packages/modules/DnsResolver/
DREADME-DoT.md107 Unit tests for DoT are in `resolv_tls_unit_test.cpp`. They cover all the classes except
/packages/services/Car/car-lib/src/android/car/navigation/
Dnavigation_state.proto76 enum Unit { enum
104 Unit display_units = 3;
/packages/providers/TelephonyProvider/assets/sdk28_carrier_id/
Dcarrier_list.textpb8681 carrier_name: "Unité"
/packages/providers/TelephonyProvider/assets/sdk29_carrier_id/
Dcarrier_list.textpb8476 carrier_name: "Unité"
/packages/providers/TelephonyProvider/assets/latest_carrier_id/
Dcarrier_list.textpb8432 carrier_name: "Unité"
/packages/providers/TelephonyProvider/assets/sdk30_carrier_id/
Dcarrier_list.textpb8432 carrier_name: "Unité"
/packages/inputmethods/LatinIME/dictionaries/
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...