Searched refs:CMD_UPDATE (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsHistoryIteratorTest.java | 97 BatteryStats.HistoryItem.CMD_UPDATE, BatteryStats.HistoryItem.EVENT_NONE, in unconstrainedIteration() 102 BatteryStats.HistoryItem.CMD_UPDATE, BatteryStats.HistoryItem.EVENT_NONE, in unconstrainedIteration() 107 BatteryStats.HistoryItem.CMD_UPDATE, in unconstrainedIteration() 113 BatteryStats.HistoryItem.CMD_UPDATE, in unconstrainedIteration() 200 assertThat(item.cmd).isEqualTo((int) BatteryStats.HistoryItem.CMD_UPDATE); in tagsLongHistory() 210 } while (item.cmd != BatteryStats.HistoryItem.CMD_UPDATE in tagsLongHistory() 219 } while (item.cmd != BatteryStats.HistoryItem.CMD_UPDATE in tagsLongHistory()
|
D | BatteryStatsHistoryTest.java | 572 if (item.cmd != HistoryItem.CMD_UPDATE) { in largeTagPool()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 1417 if (mHistoryLastWritten.cmd != HistoryItem.CMD_UPDATE) { in maybeUpdateWakelockTag() 1796 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in writeHistoryItem() 1867 writeHistoryItem(elapsedRealtimeMs, uptimeMs, cur, HistoryItem.CMD_UPDATE); in writeHistoryItem() 1912 writeHistoryItem(elapsedRealtimeMs, uptimeMs, copy, HistoryItem.CMD_UPDATE); in maybeFlushBufferAndWriteHistoryItem() 2029 if (last == null || cur.cmd != HistoryItem.CMD_UPDATE) { in writeHistoryDelta()
|
D | BatteryStatsHistoryIterator.java | 122 cur.cmd = BatteryStats.HistoryItem.CMD_UPDATE; in readHistoryDelta()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 1872 public static final byte CMD_UPDATE = 0; // These can be written as deltas field in BatteryStats.HistoryItem 1887 return cmd == CMD_UPDATE; in isDeltaData() 7536 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistory() 7546 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpHistory() 7549 rec.cmd = HistoryItem.CMD_UPDATE; in dumpHistory() 8461 rec.cmd = HistoryItem.CMD_UPDATE; in dumpProtoHistoryLocked() 8471 if (rec.cmd != HistoryItem.CMD_UPDATE) { in dumpProtoHistoryLocked() 8474 rec.cmd = HistoryItem.CMD_UPDATE; in dumpProtoHistoryLocked()
|