Searched refs:mHistoryLastWritten (Results 1 – 1 of 1) sorted by relevance
250 final HistoryItem mHistoryLastWritten = new HistoryItem(); field in BatteryStatsImpl2215 mHistoryLastWritten.cmd = HistoryItem.CMD_NULL; in commitCurrentHistoryBatchLocked()2223 final long timeDiff = (mHistoryBaseTime+elapsedRealtimeMs) - mHistoryLastWritten.time; in addHistoryBufferLocked()2224 final int diffStates = mHistoryLastWritten.states^(cur.states&mActiveHistoryStates); in addHistoryBufferLocked()2225 final int diffStates2 = mHistoryLastWritten.states2^(cur.states2&mActiveHistoryStates2); in addHistoryBufferLocked()2226 final int lastDiffStates = mHistoryLastWritten.states^mHistoryLastLastWritten.states; in addHistoryBufferLocked()2227 final int lastDiffStates2 = mHistoryLastWritten.states2^mHistoryLastLastWritten.states2; in addHistoryBufferLocked()2233 if (mHistoryBufferLastPos >= 0 && mHistoryLastWritten.cmd == HistoryItem.CMD_UPDATE in addHistoryBufferLocked()2236 && (mHistoryLastWritten.wakelockTag == null || cur.wakelockTag == null) in addHistoryBufferLocked()2237 && (mHistoryLastWritten.wakeReasonTag == null || cur.wakeReasonTag == null) in addHistoryBufferLocked()[all …]