Home
last modified time | relevance | path

Searched refs:mBatteryStatus (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiverTest.java69 mBatteryBroadcastReceiver.mBatteryStatus = BATTERY_INIT_STATUS; in setUp()
87 assertThat(mBatteryBroadcastReceiver.mBatteryStatus) in onReceive_batteryLevelChanged_dataUpdated()
140 mBatteryBroadcastReceiver.mBatteryStatus = batteryStatus; in onReceive_batteryDataNotChanged_listenerNotInvoked()
145 assertThat(mBatteryBroadcastReceiver.mBatteryStatus).isEqualTo(batteryStatus); in onReceive_batteryDataNotChanged_listenerNotInvoked()
178 assertThat(mBatteryBroadcastReceiver.mBatteryStatus) in register_updateBatteryStatus()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java64 public final int mBatteryStatus; field in BatteryHistEntry
96 mBatteryStatus = deviceBatteryState.getBatteryStatus(); in BatteryHistEntry()
126 mBatteryStatus = deviceBatteryState.getBatteryStatus(); in BatteryHistEntry()
165 mBatteryStatus = fromEntry.mBatteryStatus; in BatteryHistEntry()
231 mBatteryLevel, mBatteryStatus, mBatteryHealth)) in toString()
DDataProcessor.java496 return BatteryStatus.isCharged(firstHistEntry.mBatteryStatus, firstHistEntry.mBatteryLevel); in isFromFullCharge()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryBroadcastReceiver.java77 @VisibleForTesting String mBatteryStatus; field in BatteryBroadcastReceiver
150 } else if (!batteryStatus.equals(mBatteryStatus)) { in updateBatteryStatus()
154 mBatteryStatus = batteryStatus; in updateBatteryStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntryTest.java371 assertThat(entry.mBatteryStatus).isEqualTo(BatteryManager.BATTERY_STATUS_FULL); in assertBatteryHistEntry()
DConvertUtilsTest.java344 assertThat(batteryHistEntry.mBatteryStatus).isEqualTo(0); in convertToBatteryHistEntry_returnsExpectedResult()
358 assertThat(batteryHistEntry.mBatteryStatus).isEqualTo(0); in convertToBatteryHistEntry_nullBatteryEntry_returnsExpectedResult()