Searched refs:CMD_UPDATE (Results 1 – 2 of 2) sorted by relevance
1562 public static final byte CMD_UPDATE = 0; // These can be written as deltas field in BatteryStats.HistoryItem1577 return cmd == CMD_UPDATE; in isDeltaData()6797 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked()6807 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpHistoryLocked()6810 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistoryLocked()7731 rec.cmd = HistoryItem.CMD_UPDATE; in dumpProtoHistoryLocked()7741 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpProtoHistoryLocked()7744 rec.cmd = HistoryItem.CMD_UPDATE; in dumpProtoHistoryLocked()
3208 if (last == null || cur.cmd != HistoryItem.CMD_UPDATE) { in writeHistoryDelta()3475 cur.cmd = HistoryItem.CMD_UPDATE; in readHistoryDelta()3632 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in addHistoryBufferLocked()3699 addHistoryBufferLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE, newItem); in addHistoryBufferLocked()3708 addHistoryBufferLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryBufferLocked()3769 if (mHistoryEnd != null && mHistoryEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked()3775 if (mHistoryLastEnd != null && mHistoryLastEnd.cmd == HistoryItem.CMD_UPDATE in addHistoryRecordInnerLocked()3786 mHistoryEnd.setTo(mHistoryEnd.time, HistoryItem.CMD_UPDATE, cur); in addHistoryRecordInnerLocked()3793 addHistoryBufferLocked(elapsedRealtimeMs, HistoryItem.CMD_UPDATE, cur); in addHistoryRecordInnerLocked()4237 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE) { in noteStartWakeLocked()