Searched refs:CMD_UPDATE (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 2765 if (last == null || cur.cmd != HistoryItem.CMD_UPDATE) { in writeHistoryDelta() 3024 cur.cmd = HistoryItem.CMD_UPDATE; in readHistoryDelta() 3172 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in addHistoryBufferLocked() 3238 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked() 3277 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked() 3289 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked() 3351 if (mHistoryEnd != null && mHistoryEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked() 3357 if (mHistoryLastEnd != null && mHistoryLastEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked() 3368 mHistoryEnd.setTo(mHistoryEnd.time, HistoryItem.CMD_UPDATE, cur); in addHistoryRecordInnerLocked() 3395 addHistoryRecordLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE); in addHistoryRecordInnerLocked() [all …]
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1283 public static final byte CMD_UPDATE = 0; // These can be written as deltas field in BatteryStats.HistoryItem 1297 return cmd == CMD_UPDATE; in isDeltaData() 5781 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked() 5791 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpHistoryLocked() 5794 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked()
|