Searched refs:mBatteryLevel (Results 1 – 8 of 8) sorted by relevance
63 public final int mBatteryLevel; field in BatteryHistEntry95 mBatteryLevel = deviceBatteryState.getBatteryLevel(); in BatteryHistEntry()125 mBatteryLevel = deviceBatteryState.getBatteryLevel(); in BatteryHistEntry()164 mBatteryLevel = batteryLevel; in BatteryHistEntry()231 mBatteryLevel, mBatteryStatus, mBatteryHealth)) in toString()362 ? upperHistEntry.mBatteryLevel in interpolate()364 lowerHistEntry.mBatteryLevel, upperHistEntry.mBatteryLevel, ratio); in interpolate()
496 return BatteryStatus.isCharged(firstHistEntry.mBatteryStatus, firstHistEntry.mBatteryLevel); in isFromFullCharge()1256 batteryLevelCounter += entry.mBatteryLevel; in getLevel()
68 mBatteryBroadcastReceiver.mBatteryLevel = BATTERY_INIT_LEVEL; in setUp()85 assertThat(mBatteryBroadcastReceiver.mBatteryLevel) in onReceive_batteryLevelChanged_dataUpdated()139 mBatteryBroadcastReceiver.mBatteryLevel = batteryLevel; in onReceive_batteryDataNotChanged_listenerNotInvoked()144 assertThat(mBatteryBroadcastReceiver.mBatteryLevel).isEqualTo(batteryLevel); in onReceive_batteryDataNotChanged_listenerNotInvoked()176 assertThat(mBatteryBroadcastReceiver.mBatteryLevel) in register_updateBatteryStatus()
104 private int mBatteryLevel; field in BatteryEventEntity.Builder123 mBatteryLevel = batteryLevel; in setBatteryLevel()129 return new BatteryEventEntity(mTimestamp, mBatteryEventType, mBatteryLevel); in build()
76 @VisibleForTesting String mBatteryLevel; field in BatteryBroadcastReceiver148 } else if (!batteryLevel.equals(mBatteryLevel)) { in updateBatteryStatus()153 mBatteryLevel = batteryLevel; in updateBatteryStatus()
299 /* batteryLevel= */ upperHistEntry.mBatteryLevel); in testInterpolate_withoutLowerEntryData_returnExpectedResult()370 assertThat(entry.mBatteryLevel).isEqualTo(batteryLevel); in assertBatteryHistEntry()
343 assertThat(batteryHistEntry.mBatteryLevel).isEqualTo(0); in convertToBatteryHistEntry_returnsExpectedResult()357 assertThat(batteryHistEntry.mBatteryLevel).isEqualTo(0); in convertToBatteryHistEntry_nullBatteryEntry_returnsExpectedResult()
452 assertThat(resultMap.get(expectedTimestamps[index]).get(FAKE_ENTRY_KEY).mBatteryLevel) in getHistoryMapWithExpectedTimestamps_returnExpectedMap()