Searched refs:CMD_UPDATE (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1942 if (last == null || cur.cmd != HistoryItem.CMD_UPDATE) { in writeHistoryDelta() 2069 cur.cmd = HistoryItem.CMD_UPDATE; in readHistoryDelta() 2205 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in addHistoryBufferLocked() 2256 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked() 2274 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked() 2285 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked() 2345 if (mHistoryEnd != null && mHistoryEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked() 2351 if (mHistoryLastEnd != null && mHistoryLastEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked() 2362 mHistoryEnd.setTo(mHistoryEnd.time, HistoryItem.CMD_UPDATE, cur); in addHistoryRecordInnerLocked() 2389 addHistoryRecordLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE); in addHistoryRecordInnerLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 601 public static final byte CMD_UPDATE = 0; // These can be written as deltas field in BatteryStats.HistoryItem 615 return cmd == CMD_UPDATE; in isDeltaData() 3863 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked() 3873 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpHistoryLocked() 3876 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked()
|