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.java696 final Parcel mHistoryBuffer = Parcel.obtain(); field in BatteryStatsImpl
3654 mHistoryBuffer.setDataSize(mHistoryBufferLastPos); in addHistoryBufferLocked()
3655 mHistoryBuffer.setDataPosition(mHistoryBufferLastPos); in addHistoryBufferLocked()
3682 final int dataSize = mHistoryBuffer.dataSize(); in addHistoryBufferLocked()
3693 mHistoryBuffer.setDataSize(0); in addHistoryBufferLocked()
3694 mHistoryBuffer.setDataPosition(0); in addHistoryBufferLocked()
3695 mHistoryBuffer.setDataCapacity(mConstants.MAX_HISTORY_BUFFER / 2); in addHistoryBufferLocked()
3718 mHistoryBufferLastPos = mHistoryBuffer.dataPosition(); in addHistoryBufferLocked()
3723 writeHistoryDelta(mHistoryBuffer, mHistoryLastWritten, mHistoryLastLastWritten); in addHistoryBufferLocked()
3730 + " 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.txt88748 Lcom/android/internal/os/BatteryStatsImpl;->mHistoryBuffer:Landroid/os/Parcel;