Home
last modified time | relevance | path

Searched refs:KEY_BATTERY_LEVEL (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DStatusFragment.java40 private static final String KEY_BATTERY_LEVEL = "battery_level"; field in StatusFragment
57 controllers.add(new NopePreferenceController(context, KEY_BATTERY_LEVEL)); in onCreatePreferenceControllers()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistEntry.java45 public static final String KEY_BATTERY_LEVEL = "batteryLevel"; field in BatteryHistEntry
93 mBatteryLevel = getInteger(values, KEY_BATTERY_LEVEL); in BatteryHistEntry()
114 mBatteryLevel = getInteger(cursor, KEY_BATTERY_LEVEL); in BatteryHistEntry()
DConvertUtils.java131 values.put(BatteryHistEntry.KEY_BATTERY_LEVEL, Integer.valueOf(batteryLevel)); in convert()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DConvertUtilsTest.java117 assertThat(values.getAsInteger(BatteryHistEntry.KEY_BATTERY_LEVEL)).isEqualTo(12); in testConvert_returnsExpectedContentValues()
142 assertThat(values.getAsInteger(BatteryHistEntry.KEY_BATTERY_LEVEL)).isEqualTo(12); in testConvert_nullBatteryEntry_returnsExpectedContentValues()
DBatteryHistEntryTest.java324 BatteryHistEntry.KEY_BATTERY_LEVEL, in createBatteryHistEntry()