Home
last modified time | relevance | path

Searched refs:mCounts (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLongSamplingCounterArrayTest.java87 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testReadWriteParcel()
101 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testReadWriteSummaryParcel()
109 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testOnTimeStarted()
116 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testOnTimeStopped()
146 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
150 assertArrayEquals(null, mCounterArray.mCounts); in testAddCountLocked()
152 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
160 assertArrayEquals(newCounts, mCounterArray.mCounts); in testAddCountLocked()
164 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testAddCountLocked()
166 assertArrayEquals(newCounts, mCounterArray.mCounts); in testAddCountLocked()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1444 public long[] mCounts; field in BatteryStatsImpl.LongSamplingCounterArray
1448 mCounts = in.createLongArray(); in LongSamplingCounterArray()
1458 out.writeLongArray(mCounts); in writeToParcel()
1471 return mCounts == null ? null : Arrays.copyOf(mCounts, mCounts.length); in getCountsLocked()
1476 pw.println(prefix + "mCounts=" + Arrays.toString(mCounts)); in logState()
1488 if (mCounts == null) { in addCountLocked()
1489 mCounts = new long[counts.length]; in addCountLocked()
1492 mCounts[i] += counts[i]; in addCountLocked()
1498 return mCounts == null ? 0 : mCounts.length; in getSize()
1506 if (mCounts != null) { in reset()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88001 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounterArray;->mCounts:[J