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()
11738 public void readKernelUidCpuTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers, in readKernelUidCpuTimesLocked() argument11741 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size(); in readKernelUidCpuTimesLocked()11811 final StopwatchTimer timer = partialTimers.get(i); in readKernelUidCpuTimesLocked()11848 public void readKernelUidCpuFreqTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers, in readKernelUidCpuFreqTimesLocked() argument11852 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size(); in readKernelUidCpuFreqTimesLocked()11932 final Uid u = partialTimers.get(i).mUid; in readKernelUidCpuFreqTimesLocked()