Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsHistoryIteratorTest.java97 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()
DBatteryStatsHistoryTest.java572 if (item.cmd != HistoryItem.CMD_UPDATE) { in largeTagPool()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java1417 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()
DBatteryStatsHistoryIterator.java122 cur.cmd = BatteryStats.HistoryItem.CMD_UPDATE; in readHistoryDelta()
/frameworks/base/core/java/android/os/
DBatteryStats.java1872 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()