Home
last modified time | relevance | path

Searched refs:mPluggedCounts (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLongSamplingCounterArrayTest.java90 assertArrayEquals(COUNTS, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testReadWriteParcel()
108 assertArrayEquals(COUNTS, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testReadWriteSummaryParcel()
119 assertArrayEquals(PLUGGED_COUNTS, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testOnTimeStarted()
130 assertArrayEquals(COUNTS, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testOnTimeStopped()
156 assertArrayEquals(null, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testAddCountLocked()
167 assertArrayEquals(PLUGGED_COUNTS, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testAddCountLocked()
179 assertArrayEquals(ZEROES, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testReset()
188 assertArrayEquals(ZEROES, mCounterArray.mPluggedCounts, "Unexpected pluggedCounts"); in testReset()
214 mCounterArray.mPluggedCounts = pluggedCounts; in updateCounts()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java970 public long[] mPluggedCounts; field in BatteryStatsImpl.LongSamplingCounterArray
974 mPluggedCounts = in.createLongArray(); in LongSamplingCounterArray()
975 mCounts = copyArray(mPluggedCounts, mCounts); in LongSamplingCounterArray()
994 mUnpluggedCounts = copyArray(mPluggedCounts, mUnpluggedCounts); in onTimeStarted()
999 mPluggedCounts = copyArray(mCounts, mPluggedCounts); in onTimeStopped()
1004 long[] val = copyArray(mTimeBase.isRunning() ? mCounts : mPluggedCounts, null); in getCountsLocked()
1018 + " mPluggedCounts=" + Arrays.toString(mPluggedCounts)); in logState()
1041 fillArray(mPluggedCounts, 0); in reset()
1060 mPluggedCounts = copyArray(mCounts, mPluggedCounts); in readSummaryFromParcelLocked()