Home
last modified time | relevance | path

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

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/units/
DUnitPreferences.kt38 const val ENERGY_UNIT_PREF_KEY = "ENERGY_UNIT_KEY" constant
105 if (!unitSharedPreference.contains(ENERGY_UNIT_PREF_KEY)) { in getEnergyUnit()
110 unitSharedPreference.getString(ENERGY_UNIT_PREF_KEY, DEFAULT_ENERGY_UNIT.toString())!! in getEnergyUnit()
116 putString(ENERGY_UNIT_PREF_KEY, energyUnit.toString()) in setEnergyUnit()
DUnitsFragment.kt29 …m.android.healthconnect.controller.dataentries.units.UnitPreferences.Companion.ENERGY_UNIT_PREF_KEY in <lambda>()
105 ENERGY_UNIT_PREF_KEY, in <lambda>()
186 ENERGY_UNIT_PREF_KEY -> arrayOf(CALORIE, KILOJOULE) in <lambda>()