Searched refs:getQueue (Results 1 - 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DScheduledThreadPoolExecutor.java307 super.getQueue().add(task);
325 super.getQueue().add(task);
338 BlockingQueue<Runnable> q = super.getQueue();
511 Delayed head = (Delayed) super.getQueue().peek();
811 public BlockingQueue<Runnable> getQueue() { method in class:ScheduledThreadPoolExecutor
812 return super.getQueue();
H A DThreadPoolExecutor.java242 * Method {@link #getQueue()} allows access to the work queue
1729 public BlockingQueue<Runnable> getQueue() { method in class:ThreadPoolExecutor
2097 e.getQueue().poll();
/libcore/jsr166-tests/src/test/java/jsr166/
H A DScheduledExecutorSubclassTest.java632 * getQueue returns the work queue, which contains queued tasks
649 BlockingQueue<Runnable> q = p.getQueue();
673 BlockingQueue<Runnable> q = p.getQueue();
744 assertTrue(p.getQueue().isEmpty());
766 assertEquals(new HashSet(tasks), new HashSet(p.getQueue()));
774 assertTrue(p.getQueue().isEmpty());
839 assertTrue(p.getQueue().containsAll(periodics));
840 assertTrue(p.getQueue().containsAll(delayeds));
854 p.getQueue().containsAll(periodics));
856 p.getQueue()
[all...]
H A DScheduledExecutorTest.java580 * getQueue returns the work queue, which contains queued tasks
597 BlockingQueue<Runnable> q = p.getQueue();
621 BlockingQueue<Runnable> q = p.getQueue();
693 assertTrue(p.getQueue().isEmpty());
715 assertEquals(new HashSet(tasks), new HashSet(p.getQueue()));
723 assertTrue(p.getQueue().isEmpty());
788 assertTrue(p.getQueue().containsAll(periodics));
789 assertTrue(p.getQueue().containsAll(delayeds));
803 p.getQueue().containsAll(periodics));
805 p.getQueue()
[all...]
H A DThreadPoolExecutorSubclassTest.java656 * getQueue returns the work queue, which contains queued tasks
672 assertSame(q, p.getQueue());
680 assertSame(q, p.getQueue());
792 assertTrue(p.getQueue().isEmpty());
1235 assertTrue(p.getQueue().contains(r2));
1237 assertFalse(p.getQueue().contains(r2));
1238 assertTrue(p.getQueue().contains(r3));
H A DThreadPoolExecutorTest.java541 * getQueue returns the work queue, which contains queued tasks
557 assertSame(q, p.getQueue());
565 assertSame(q, p.getQueue());
677 assertTrue(p.getQueue().isEmpty());
1206 assertTrue(p.getQueue().contains(r2));
1208 assertFalse(p.getQueue().contains(r2));
1209 assertTrue(p.getQueue().contains(r3));

Completed in 93 milliseconds