Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHistoryIterator.java180 final int wakeLockIndex = indexes & 0xffff; in readHistoryDelta() local
182 if (readHistoryTag(src, wakeLockIndex, cur.localWakelockTag)) { in readHistoryDelta()
H A DBatteryStatsHistory.java1693 int wakeLockIndex; in writeHistoryDelta() local
1696 wakeLockIndex = writeHistoryTag(cur.wakelockTag); in writeHistoryDelta()
1702 wakeLockIndex = 0xffff; in writeHistoryDelta()
1713 dest.writeInt((wakeReasonIndex << 16) | wakeLockIndex); in writeHistoryDelta()
1715 && (wakeLockIndex & BatteryStatsHistory.TAG_FIRST_OCCURRENCE_FLAG) != 0) { in writeHistoryDelta()