Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java9676 public boolean reset(long uptimeUs, long realtimeUs, int resetReason) { in reset() argument
9746 if (resetReason == RESET_REASON_ENERGY_CONSUMER_BUCKETS_CHANGE) { in reset()
11925 int resetReason) { in resetAllStatsLocked() argument
11926 saveBatteryUsageStatsOnReset(resetReason); in resetAllStatsLocked()
12010 if (mUidStats.valueAt(i).reset(uptimeUs, elapsedRealtimeUs, resetReason)) { in resetAllStatsLocked()
12082 private void saveBatteryUsageStatsOnReset(int resetReason) { in saveBatteryUsageStatsOnReset() argument
12084 || resetReason == BatteryStatsImpl.RESET_REASON_CORRUPT_FILE) { in saveBatteryUsageStatsOnReset()