Searched refs:partialTimers (Results 1 – 3 of 3) sorted by relevance
186 final ArrayList<BatteryStatsImpl.StopwatchTimer> partialTimers = getPartialTimers( in testMarkPartialTimersAsEligible() local189 = new ArrayList<>(partialTimers); in testMarkPartialTimersAsEligible()190 mBatteryStatsImpl.setPartialTimers(partialTimers); in testMarkPartialTimersAsEligible()193 for (int i = 0; i < partialTimers.size(); ++i) { in testMarkPartialTimersAsEligible()194 partialTimers.get(i).mInList = inList[i]; in testMarkPartialTimersAsEligible()201 assertTrue(ArrayUtils.referenceEquals(partialTimers, lastPartialTimers)); in testMarkPartialTimersAsEligible()202 for (int i = 0; i < partialTimers.size(); ++i) { in testMarkPartialTimersAsEligible()203 assertTrue("Timer id=" + i, partialTimers.get(i).mInList); in testMarkPartialTimersAsEligible()207 partialTimers.addAll(getPartialTimers(10077, 10099)); in testMarkPartialTimersAsEligible()208 partialTimers.remove(1 /* index */); in testMarkPartialTimersAsEligible()[all …]
232 public MockBatteryStatsImpl setPartialTimers(ArrayList<StopwatchTimer> partialTimers) { in setPartialTimers() argument233 mPartialTimers = partialTimers; in setPartialTimers()
14341 public void readKernelUidCpuTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers,14344 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size();14413 final StopwatchTimer timer = partialTimers.get(i);14454 public void readKernelUidCpuFreqTimesLocked(@Nullable ArrayList<StopwatchTimer> partialTimers,14459 final int numWakelocks = partialTimers == null ? 0 : partialTimers.size();14545 final Uid u = partialTimers.get(i).mUid;