Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt41 @VisibleForTesting val DEFAULT_DISTANCE_UNIT = KILOMETERS constant
54 setDistanceUnit(DEFAULT_DISTANCE_UNIT) in getDistanceUnit()
55 return DEFAULT_DISTANCE_UNIT in getDistanceUnit()
59 DISTANCE_UNIT_PREF_KEY, DEFAULT_DISTANCE_UNIT.toString())!! in getDistanceUnit()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt34 ….android.healthconnect.controller.dataentries.units.UnitPreferences.Companion.DEFAULT_DISTANCE_UNIT
109 onView(withText(getUnitLabel(DEFAULT_DISTANCE_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()
215 unitPreferences.setDistanceUnit(DEFAULT_DISTANCE_UNIT) in setUnitsDefault()