Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java655 final HistoryItem mHistoryLastWritten = new HistoryItem(); field in BatteryStatsImpl
3674 mHistoryLastWritten.cmd = HistoryItem.CMD_NULL; in commitCurrentHistoryBatchLocked()
3682 final long timeDiff = (mHistoryBaseTime+elapsedRealtimeMs) - mHistoryLastWritten.time; in addHistoryBufferLocked()
3683 final int diffStates = mHistoryLastWritten.states^(cur.states&mActiveHistoryStates); in addHistoryBufferLocked()
3684 final int diffStates2 = mHistoryLastWritten.states2^(cur.states2&mActiveHistoryStates2); in addHistoryBufferLocked()
3685 final int lastDiffStates = mHistoryLastWritten.states^mHistoryLastLastWritten.states; in addHistoryBufferLocked()
3686 final int lastDiffStates2 = mHistoryLastWritten.states2^mHistoryLastLastWritten.states2; in addHistoryBufferLocked()
3692 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in addHistoryBufferLocked()
3695 && (mHistoryLastWritten.wakelockTag == null || cur.wakelockTag == null) in addHistoryBufferLocked()
3696 && (mHistoryLastWritten.wakeReasonTag == null || cur.wakeReasonTag == null) in addHistoryBufferLocked()
[all …]