Searched refs:mBatteryStatus (Results 1 – 6 of 6) sorted by relevance
69 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()
64 public final int mBatteryStatus; field in BatteryHistEntry96 mBatteryStatus = deviceBatteryState.getBatteryStatus(); in BatteryHistEntry()126 mBatteryStatus = deviceBatteryState.getBatteryStatus(); in BatteryHistEntry()165 mBatteryStatus = fromEntry.mBatteryStatus; in BatteryHistEntry()231 mBatteryLevel, mBatteryStatus, mBatteryHealth)) in toString()
496 return BatteryStatus.isCharged(firstHistEntry.mBatteryStatus, firstHistEntry.mBatteryLevel); in isFromFullCharge()
77 @VisibleForTesting String mBatteryStatus; field in BatteryBroadcastReceiver150 } else if (!batteryStatus.equals(mBatteryStatus)) { in updateBatteryStatus()154 mBatteryStatus = batteryStatus; in updateBatteryStatus()
371 assertThat(entry.mBatteryStatus).isEqualTo(BatteryManager.BATTERY_STATUS_FULL); in assertBatteryHistEntry()
344 assertThat(batteryHistEntry.mBatteryStatus).isEqualTo(0); in convertToBatteryHistEntry_returnsExpectedResult()358 assertThat(batteryHistEntry.mBatteryStatus).isEqualTo(0); in convertToBatteryHistEntry_nullBatteryEntry_returnsExpectedResult()