Searched refs:partialTimers (Results 1 – 3 of 3) sorted by relevance
160 final ArrayList<BatteryStatsImpl.StopwatchTimer> partialTimers = getPartialTimers( in testMarkPartialTimersAsEligible() local163 = new ArrayList<>(partialTimers); in testMarkPartialTimersAsEligible()164 mBatteryStatsImpl.setPartialTimers(partialTimers); in testMarkPartialTimersAsEligible()167 for (int i = 0; i < partialTimers.size(); ++i) { in testMarkPartialTimersAsEligible()168 partialTimers.get(i).mInList = inList[i]; in testMarkPartialTimersAsEligible()175 assertTrue(ArrayUtils.referenceEquals(partialTimers, lastPartialTimers)); in testMarkPartialTimersAsEligible()176 for (int i = 0; i < partialTimers.size(); ++i) { in testMarkPartialTimersAsEligible()177 assertTrue("Timer id=" + i, partialTimers.get(i).mInList); in testMarkPartialTimersAsEligible()181 partialTimers.addAll(getPartialTimers(10077, 10099)); in testMarkPartialTimersAsEligible()182 partialTimers.remove(1 /* index */); in testMarkPartialTimersAsEligible()[all …]
132 public MockBatteryStatsImpl setPartialTimers(ArrayList<StopwatchTimer> partialTimers) { in setPartialTimers() argument133 mPartialTimers = partialTimers; in setPartialTimers()
12069 public void readKernelUidCpuTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers, in readKernelUidCpuTimesLocked() argument12072 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size(); in readKernelUidCpuTimesLocked()12140 final StopwatchTimer timer = partialTimers.get(i); in readKernelUidCpuTimesLocked()12177 public void readKernelUidCpuFreqTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers, in readKernelUidCpuFreqTimesLocked() argument12181 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size(); in readKernelUidCpuFreqTimesLocked()12257 final Uid u = partialTimers.get(i).mUid; in readKernelUidCpuFreqTimesLocked()