Home
last modified time | relevance | path

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

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DLongSamplingCounterArrayTest.java73 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testReadWriteParcel()
87 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testReadWriteSummaryParcel()
95 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testOnTimeStarted()
102 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testOnTimeStopped()
132 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
136 assertArrayEquals(null, mCounterArray.mCounts); in testAddCountLocked()
138 assertArrayEquals(deltas, mCounterArray.mCounts); in testAddCountLocked()
146 assertArrayEquals(newCounts, mCounterArray.mCounts); in testAddCountLocked()
150 assertArrayEquals(COUNTS, mCounterArray.mCounts); in testAddCountLocked()
152 assertArrayEquals(newCounts, mCounterArray.mCounts); in testAddCountLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java2402 public long[] mCounts; field in BatteryStatsImpl.LongSamplingCounterArray
2406 mCounts = in.createLongArray(); in LongSamplingCounterArray()
2416 out.writeLongArray(mCounts); in writeToParcel()
2429 return mCounts == null ? null : Arrays.copyOf(mCounts, mCounts.length); in getCountsLocked()
2434 pw.println(prefix + "mCounts=" + Arrays.toString(mCounts)); in logState()
2446 if (mCounts == null) { in addCountLocked()
2447 mCounts = new long[counts.length]; in addCountLocked()
2450 mCounts[i] += counts[i]; in addCountLocked()
2456 return mCounts == null ? 0 : mCounts.length; in getSize()
2464 if (mCounts != null) { in reset()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72929 Lcom/android/internal/os/BatteryStatsImpl$LongSamplingCounterArray;->mCounts:[J