Searched refs:mUnpluggedCounts (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongSamplingCounterArrayTest.java | 91 assertArrayEquals(UNPLUGGED_COUNTS, mCounterArray.mUnpluggedCounts, in testReadWriteParcel() 109 assertArrayEquals(COUNTS, mCounterArray.mUnpluggedCounts, "Unexpected unpluggedCounts"); in testReadWriteSummaryParcel() 120 assertArrayEquals(PLUGGED_COUNTS, mCounterArray.mUnpluggedCounts, in testOnTimeStarted() 131 assertArrayEquals(UNPLUGGED_COUNTS, mCounterArray.mUnpluggedCounts, in testOnTimeStopped() 157 assertArrayEquals(null, mCounterArray.mUnpluggedCounts, "Unexpected unpluggedCounts"); in testAddCountLocked() 168 assertArrayEquals(UNPLUGGED_COUNTS, mCounterArray.mUnpluggedCounts, in testAddCountLocked() 180 assertArrayEquals(ZEROES, mCounterArray.mUnpluggedCounts, "Unexpected unpluggedCounts"); in testReset() 189 assertArrayEquals(ZEROES, mCounterArray.mUnpluggedCounts, "Unexpected unpluggedCounts"); in testReset() 215 mCounterArray.mUnpluggedCounts = unpluggedCounts; in updateCounts()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 969 public long[] mUnpluggedCounts; field in BatteryStatsImpl.LongSamplingCounterArray 977 mUnpluggedCounts = in.createLongArray(); in LongSamplingCounterArray() 989 out.writeLongArray(mUnpluggedCounts); in writeToParcel() 994 mUnpluggedCounts = copyArray(mPluggedCounts, mUnpluggedCounts); in onTimeStarted() 1006 subtract(val, mUnpluggedCounts); in getCountsLocked() 1017 + " mUnpluggedCounts=" + Arrays.toString(mUnpluggedCounts) in logState() 1042 fillArray(mUnpluggedCounts, 0); in reset() 1059 mUnpluggedCounts = copyArray(mCounts, mUnpluggedCounts); in readSummaryFromParcelLocked()
|