Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2225 if (last == null || cur.cmd != HistoryItem.CMD_UPDATE) { in writeHistoryDelta()
2484 cur.cmd = HistoryItem.CMD_UPDATE; in readHistoryDelta()
2632 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in addHistoryBufferLocked()
2684 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked()
2723 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked()
2732 addHistoryBufferLocked(elapsedRealtimeMs, uptimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked()
2794 if (mHistoryEnd != null && mHistoryEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked()
2800 if (mHistoryLastEnd != null && mHistoryLastEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked()
2811 mHistoryEnd.setTo(mHistoryEnd.time, HistoryItem.CMD_UPDATE, cur); in addHistoryRecordInnerLocked()
2838 addHistoryRecordLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE); in addHistoryRecordInnerLocked()
[all …]
/frameworks/base/core/java/android/os/
DBatteryStats.java1137 public static final byte CMD_UPDATE = 0; // These can be written as deltas field in BatteryStats.HistoryItem
1151 return cmd == CMD_UPDATE; in isDeltaData()
5104 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked()
5114 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpHistoryLocked()
5117 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked()