Searched refs:mHistoryBuffer (Results 1 – 4 of 4) sorted by relevance
64 private final Parcel mHistoryBuffer; field in BatteryStatsHistory111 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()
694 final Parcel mHistoryBuffer = Parcel.obtain(); field in BatteryStatsImpl3651 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 …]
49 private final Parcel mHistoryBuffer = Parcel.obtain(); field in BatteryStatsHistoryTest71 new BatteryStatsHistory(mBatteryStatsImpl, mSystemDir, mHistoryBuffer); in testConstruct()80 new BatteryStatsHistory(mBatteryStatsImpl, mSystemDir, mHistoryBuffer); in testStartNextFile()119 new BatteryStatsHistory(mBatteryStatsImpl, mSystemDir, mHistoryBuffer); in testStartNextFile()
95115 Lcom/android/internal/os/BatteryStatsImpl;->mHistoryBuffer:Landroid/os/Parcel;