Searched refs:QueuedRunnable (Results 1 – 2 of 2) sorted by relevance
28 private PriorityQueue<QueuedRunnable> mQueuedRunnables = new PriorityQueue<>();156 QueuedRunnable container = new QueuedRunnable(r, uptimeMillis); in executeAtTime()194 private static class QueuedRunnable implements Comparable<QueuedRunnable> { class in FakeExecutor201 private QueuedRunnable(Runnable r, long when) { in QueuedRunnable() method in FakeExecutor.QueuedRunnable213 public int compareTo(QueuedRunnable other) { in compareTo()
38 static class QueuedRunnable { class in TestThreadingDomain40 static final Comparator<? super QueuedRunnable> COMPARATOR =47 QueuedRunnable(@NonNull Runnable runnable, @Nullable Object token, in QueuedRunnable() method in TestThreadingDomain.QueuedRunnable65 private ArrayList<QueuedRunnable> mQueue = new ArrayList<>();94 mQueue.add(new QueuedRunnable(r, token, mCurrentTimeMillis + delayMillis)); in postDelayed()95 mQueue.sort(QueuedRunnable.COMPARATOR); in postDelayed()140 QueuedRunnable queued = mQueue.remove(0); in executeNext()