Home
last modified time | relevance | path

Searched refs:endingTime (Results 1 – 1 of 1) sorted by relevance

/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DScheduler.java78 long endingTime = currentTime + intervalMs; in advanceBy() local
79 return advanceTo(endingTime); in advanceBy()
82 public boolean advanceTo(long endingTime) { in advanceTo() argument
83 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() argument
159 return enqueuedTaskCount() > 0 && postedRunnables.get(0).scheduledTime <= endingTime; in nextTaskIsScheduledBefore()