Home
last modified time | relevance | path

Searched refs:DEFAULT_TEMPERATURE_UNIT (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt45 @VisibleForTesting val DEFAULT_TEMPERATURE_UNIT = FAHRENHEIT constant
123 setTemperatureUnit(DEFAULT_TEMPERATURE_UNIT) in getTemperatureUnit()
124 return DEFAULT_TEMPERATURE_UNIT in getTemperatureUnit()
128 TEMPERATURE_UNIT_PREF_KEY, DEFAULT_TEMPERATURE_UNIT.toString())!! in getTemperatureUnit()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt37 …droid.healthconnect.controller.dataentries.units.UnitPreferences.Companion.DEFAULT_TEMPERATURE_UNIT
111 onView(withText(getUnitLabel(DEFAULT_TEMPERATURE_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()
212 unitPreferences.setTemperatureUnit(DEFAULT_TEMPERATURE_UNIT) in setUnitsDefault()