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.java88 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); in testReadWriteParcel()
106 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); in testReadWriteSummaryParcel()
117 assertArrayEquals(PLUGGED_COUNTS, mCounterArray.mCounts, "Unexpected counts"); in testOnTimeStarted()
128 assertArrayEquals(COUNTS, mCounterArray.mCounts, "Unexpected counts"); in testOnTimeStopped()
154 assertArrayEquals(deltas, mCounterArray.mCounts, "Unexpected counts"); in testAddCountLocked()
165 assertArrayEquals(newCounts, mCounterArray.mCounts, "Unexpected counts"); in testAddCountLocked()
177 assertArrayEquals(ZEROES, mCounterArray.mCounts, "Unexpected counts"); in testReset()
186 assertArrayEquals(ZEROES, mCounterArray.mCounts, "Unexpected counts"); in testReset()
212 mCounterArray.mCounts = counts; in updateCounts()
/frameworks/base/core/java/android/os/
DDebug.java1901 private int[] mCounts; field in Debug.InstructionCount
1904 mCounts = new int[NUM_INSTR]; in InstructionCount()
1930 VMDebug.getInstructionCount(mCounts); in collect()
1945 count += mCounts[i]; in globalTotal()
1960 count += mCounts[i]; in globalMethodInvocations()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java967 public long[] mCounts; field in BatteryStatsImpl.LongSamplingCounterArray
975 mCounts = copyArray(mPluggedCounts, mCounts); in LongSamplingCounterArray()
987 out.writeLongArray(mCounts); in writeToParcel()
999 mPluggedCounts = copyArray(mCounts, mPluggedCounts); in onTimeStopped()
1004 long[] val = copyArray(mTimeBase.isRunning() ? mCounts : mPluggedCounts, null); in getCountsLocked()
1015 pw.println(prefix + "mCounts=" + Arrays.toString(mCounts) in logState()
1026 if (mCounts == null) { in addCountLocked()
1027 mCounts = new long[counts.length]; in addCountLocked()
1030 mCounts[i] += counts[i]; in addCountLocked()
1039 fillArray(mCounts, 0); in reset()
[all …]