Home
last modified time | relevance | path

Searched refs:getUnitUsedByProperty (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java149 assertThat(mCarUnitsManager.getUnitUsedByProperty(TEST_PROPERTY_ID)) in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit()
191 when(mCarUnitsManager.getUnitUsedByProperty(TEST_PROPERTY_ID)) in updateDefaultUnit()
DUnitsTemperaturePreferenceControllerTest.java74 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
DUnitsPressurePreferenceControllerTest.java75 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
DUnitsDistancePreferenceControllerTest.java74 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
DUnitsFuelConsumptionPreferenceControllerTest.java75 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
DUnitsVolumePreferenceControllerTest.java74 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
DUnitsEnergyConsumptionPreferenceControllerTest.java75 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
DUnitsSpeedPreferenceControllerTest.java75 when(mCarUnitsManager.getUnitUsedByProperty(anyInt())).thenReturn(null); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUnitsManager.java55 protected static Unit getUnitUsedByProperty(int propertyId) { in getUnitUsedByProperty() method in ShadowCarUnitsManager
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java116 protected Unit getUnitUsedByProperty(int propertyId) { in getUnitUsedByProperty() method in CarUnitsManager
DUnitsBasePreferenceController.java181 Unit savedUnit = mCarUnitsManager.getUnitUsedByProperty(getPropertyId()); in getUnitUsedByThisProperty()