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()
696 final Parcel mHistoryBuffer = Parcel.obtain(); field in BatteryStatsImpl3654 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 …]
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()
88748 Lcom/android/internal/os/BatteryStatsImpl;->mHistoryBuffer:Landroid/os/Parcel;