Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt43 @VisibleForTesting val DEFAULT_WEIGHT_UNIT = POUND constant
89 setWeightUnit(DEFAULT_WEIGHT_UNIT) in getWeightUnit()
90 return DEFAULT_WEIGHT_UNIT in getWeightUnit()
93 unitSharedPreference.getString(WEIGHT_UNIT_PREF_KEY, DEFAULT_WEIGHT_UNIT.toString())!! in getWeightUnit()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt38 …om.android.healthconnect.controller.dataentries.units.UnitPreferences.Companion.DEFAULT_WEIGHT_UNIT
112 onView(withText(getUnitLabel(DEFAULT_WEIGHT_UNIT))).check(matches(isDisplayed())) in unitsScreen_showsDefaultSettings()
213 unitPreferences.setWeightUnit(DEFAULT_WEIGHT_UNIT) in setUnitsDefault()