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.java1442 public long[] mCounts; field in BatteryStatsImpl.LongSamplingCounterArray
1446 mCounts = in.createLongArray(); in LongSamplingCounterArray()
1456 out.writeLongArray(mCounts); in writeToParcel()
1469 return mCounts == null ? null : Arrays.copyOf(mCounts, mCounts.length); in getCountsLocked()
1474 pw.println(prefix + "mCounts=" + Arrays.toString(mCounts)); in logState()
1486 if (mCounts == null) { in addCountLocked()
1487 mCounts = new long[counts.length]; in addCountLocked()
1490 mCounts[i] += counts[i]; in addCountLocked()
1496 return mCounts == null ? 0 : mCounts.length; in getSize()
1504 if (mCounts != null) { in reset()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt94346 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounterArray;->mCounts:[J