Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt42 @VisibleForTesting val DEFAULT_HEIGHT_UNIT = CENTIMETERS constant
72 setHeightUnit(DEFAULT_HEIGHT_UNIT) in getHeightUnit()
73 return DEFAULT_HEIGHT_UNIT in getHeightUnit()
76 unitSharedPreference.getString(HEIGHT_UNIT_PREF_KEY, DEFAULT_HEIGHT_UNIT.toString())!! in getHeightUnit()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt36 …om.android.healthconnect.controller.dataentries.units.UnitPreferences.Companion.DEFAULT_HEIGHT_UNIT
108 onView(withText(getUnitLabel(DEFAULT_HEIGHT_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()
214 unitPreferences.setHeightUnit(DEFAULT_HEIGHT_UNIT) in setUnitsDefault()