Searched refs:partialTimers (Results 1 – 3 of 3) sorted by relevance
167 final ArrayList<BatteryStatsImpl.StopwatchTimer> partialTimers = getPartialTimers( in testMarkPartialTimersAsEligible() local170 = new ArrayList<>(partialTimers); in testMarkPartialTimersAsEligible()171 mBatteryStatsImpl.setPartialTimers(partialTimers); in testMarkPartialTimersAsEligible()174 for (int i = 0; i < partialTimers.size(); ++i) { in testMarkPartialTimersAsEligible()175 partialTimers.get(i).mInList = inList[i]; in testMarkPartialTimersAsEligible()182 assertTrue(ArrayUtils.referenceEquals(partialTimers, lastPartialTimers)); in testMarkPartialTimersAsEligible()183 for (int i = 0; i < partialTimers.size(); ++i) { in testMarkPartialTimersAsEligible()184 assertTrue("Timer id=" + i, partialTimers.get(i).mInList); in testMarkPartialTimersAsEligible()188 partialTimers.addAll(getPartialTimers(10077, 10099)); in testMarkPartialTimersAsEligible()189 partialTimers.remove(1 /* index */); in testMarkPartialTimersAsEligible()[all …]
141 public MockBatteryStatsImpl setPartialTimers(ArrayList<StopwatchTimer> partialTimers) { in setPartialTimers() argument142 mPartialTimers = partialTimers; in setPartialTimers()
11744 public void readKernelUidCpuTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers, in readKernelUidCpuTimesLocked() argument11747 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size(); in readKernelUidCpuTimesLocked()11817 final StopwatchTimer timer = partialTimers.get(i); in readKernelUidCpuTimesLocked()11854 public void readKernelUidCpuFreqTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers, in readKernelUidCpuFreqTimesLocked() argument11858 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size(); in readKernelUidCpuFreqTimesLocked()11938 final Uid u = partialTimers.get(i).mUid; in readKernelUidCpuFreqTimesLocked()