Searched refs:endingTime (Results 1 – 1 of 1) sorted by relevance
78 long endingTime = currentTime + intervalMs; in advanceBy() local79 return advanceTo(endingTime); in advanceBy()82 public boolean advanceTo(long endingTime) { in advanceTo() argument83 if (endingTime - currentTime < 0 || enqueuedTaskCount() < 1) { in advanceTo()88 while (nextTaskIsScheduledBefore(endingTime)) { in advanceTo()92 currentTime = endingTime; in advanceTo()158 private boolean nextTaskIsScheduledBefore(long endingTime) { in nextTaskIsScheduledBefore() argument159 return enqueuedTaskCount() > 0 && postedRunnables.get(0).scheduledTime <= endingTime; in nextTaskIsScheduledBefore()