Home
last modified time | relevance | path

Searched refs:recordBatteryState (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsAggregatorTest.java90 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 10, /* plugged */ true); in stateUpdates()
102 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 90, /* plugged */ false); in stateUpdates()
196 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 10, /* plugged */ true); in incompatiblePowerStats()
206 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 90, /* plugged */ false); in incompatiblePowerStats()
219 mHistory.recordBatteryState(mClock.realtime, mClock.uptime, 50, /* plugged */ true); in incompatiblePowerStats()
DPowerStatsExporterTest.java217 mHistory.recordBatteryState(1000, 1000, 70, /* plugged */ false); in recordBatteryHistory()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java1347 public void recordBatteryState(long elapsedRealtimeMs, long uptimeMs, int batteryLevel, in recordBatteryState() method in BatteryStatsHistory
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java14919 mHistory.recordBatteryState(mSecRealtime, mSecUptime, level, mBatteryPluggedIn);
14943 mHistory.recordBatteryState(mSecRealtime, mSecUptime, level, mBatteryPluggedIn);