Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java64 private final Parcel mHistoryBuffer; field in BatteryStatsHistory
111 mHistoryBuffer = historyBuffer; in BatteryStatsHistory()
157 mHistoryBuffer = historyBuffer; in BatteryStatsHistory()
241 mHistoryBuffer.setDataPosition(mHistoryBuffer.dataSize()); in finishIteratingHistory()
268 } else if (mHistoryBuffer == mCurrentParcel) { in getNextParcel()
317 if (mHistoryBuffer.dataSize() <= 0) { in getNextParcel()
321 mHistoryBuffer.setDataPosition(0); in getNextParcel()
322 mCurrentParcel = mHistoryBuffer; in getNextParcel()
440 ret += mHistoryBuffer.dataSize(); in getHistoryUsedSize()
DBatteryStatsImpl.java694 final Parcel mHistoryBuffer = Parcel.obtain(); field in BatteryStatsImpl
3651 mHistoryBuffer.setDataSize(mHistoryBufferLastPos); in addHistoryBufferLocked()
3652 mHistoryBuffer.setDataPosition(mHistoryBufferLastPos); in addHistoryBufferLocked()
3679 final int dataSize = mHistoryBuffer.dataSize(); in addHistoryBufferLocked()
3690 mHistoryBuffer.setDataSize(0); in addHistoryBufferLocked()
3691 mHistoryBuffer.setDataPosition(0); in addHistoryBufferLocked()
3692 mHistoryBuffer.setDataCapacity(mConstants.MAX_HISTORY_BUFFER / 2); in addHistoryBufferLocked()
3715 mHistoryBufferLastPos = mHistoryBuffer.dataPosition(); in addHistoryBufferLocked()
3720 writeHistoryDelta(mHistoryBuffer, mHistoryLastWritten, mHistoryLastLastWritten); in addHistoryBufferLocked()
3727 + " now " + mHistoryBuffer.dataPosition() in addHistoryBufferLocked()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHistoryTest.java49 private final Parcel mHistoryBuffer = Parcel.obtain(); field in BatteryStatsHistoryTest
71 new BatteryStatsHistory(mBatteryStatsImpl, mSystemDir, mHistoryBuffer); in testConstruct()
80 new BatteryStatsHistory(mBatteryStatsImpl, mSystemDir, mHistoryBuffer); in testStartNextFile()
119 new BatteryStatsHistory(mBatteryStatsImpl, mSystemDir, mHistoryBuffer); in testStartNextFile()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt95115 Lcom/android/internal/os/BatteryStatsImpl;->mHistoryBuffer:Landroid/os/Parcel;