Home
last modified time | relevance | path

Searched defs:newUnit (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitsFragment.kt62 unitsPreferences.getHeightUnit().toString()) { newUnit -> in <lambda>() method
77 unitsPreferences.getWeightUnit().toString()) { newUnit -> in <lambda>() method
93 unitsPreferences.getDistanceUnit().toString()) { newUnit -> in <lambda>() method
108 unitsPreferences.getEnergyUnit().toString()) { newUnit -> in <lambda>() method
123 unitsPreferences.getTemperatureUnit().toString()) { newUnit -> in <lambda>() method
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/units/
DUnitsFuelConsumptionPreferenceControllerTest.java100 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
113 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsSpeedPreferenceControllerTest.java98 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
111 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsEnergyConsumptionPreferenceControllerTest.java101 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
114 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsDistancePreferenceControllerTest.java97 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
109 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsPressurePreferenceControllerTest.java98 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
111 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsVolumePreferenceControllerTest.java97 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
109 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsTemperaturePreferenceControllerTest.java97 Unit newUnit = AVAILABLE_UNITS[1]; in onPreferenceChanged_runsSetUnitUsedByPropertyWithNewUnit() local
110 Unit newUnit = AVAILABLE_UNITS[1];; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
DUnitsBasePreferenceControllerTest.java246 Unit newUnit = UnitsMap.SECS; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitIdAsValue() local
257 Unit newUnit = UnitsMap.SECS; in onPropertyChanged_propertyStatusIsAvailable_setsNewUnitAbbreviationAsSummary() local
306 Unit newUnit = UnitsMap.MAP.get(unitId); in handlePreferenceChanged() local