Home
last modified time | relevance | path

Searched refs:isTerminated (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousChannelGroupTest.java42 assertFalse(acg.isTerminated()); in test_withFixedThreadPool()
63 assertFalse(acg.isTerminated()); in test_withCachedThreadPool()
78 assertFalse(acg.isTerminated()); in test_withThreadPool()
145 assertFalse(acg.isTerminated()); in test_isTerminated()
151 assertTrue(acg.isTerminated()); in test_isTerminated()
152 assertTrue(executorService.isTerminated()); in test_isTerminated()
168 assertTrue(acg.isTerminated()); in test_awaitTermination()
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousChannelGroup.java292 public abstract boolean isTerminated(); in isTerminated() method in AsynchronousChannelGroup
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java187 boolean isTerminated(); in isTerminated() method
DExecutors.java634 public boolean isTerminated() { return e.isTerminated(); }
DPhaser.java892 public boolean isTerminated() { in isTerminated() method in Phaser
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java218 public final boolean isTerminated() {
219 return pool.executor().isTerminated();
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java182 assertFalse(p.isTerminated()); in testDefaultInitialState()
248 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
259 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
264 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
267 assertTrue(p.isTerminated()); in testAwaitTermination_timesOut()
320 assertFalse(p.isTerminated()); in testIsQuiescent()
334 assertFalse(p.isTerminated()); in testIsQuiescent()
DScheduledExecutorSubclassTest.java592 assertFalse(p.isTerminated()); in testIsTerminated()
597 assertFalse(p.isTerminated()); in testIsTerminated()
602 assertTrue(p.isTerminated()); in testIsTerminated()
626 assertTrue(p.isTerminated()); in testIsTerminating()
747 assertTrue(p.isTerminated()); in testShutdownNow()
784 assertTrue(p.isTerminated()); in testShutdownNow_delayedTasks()
843 assertFalse(p.isTerminated()); in testShutdown_cancellation()
876 assertTrue(p.isTerminated()); in testShutdown_cancellation()
DForkJoinPool8Test.java49 assertFalse(ForkJoinPool.commonPool().isTerminated()); in testCommonPoolShutDown()
53 assertFalse(ForkJoinPool.commonPool().isTerminated()); in testCommonPoolShutDown()
57 assertFalse(ForkJoinPool.commonPool().isTerminated()); in testCommonPoolShutDown()
1511 assertFalse(p.isTerminated()); in testAwaitQuiescence1()
1524 assertFalse(p.isTerminated()); in testAwaitQuiescence1()
1536 assertFalse(p.isTerminated()); in testAwaitQuiescence1()
1567 assertFalse(p.isTerminated());
1587 assertFalse(p.isTerminated());
DScheduledExecutorTest.java538 assertFalse(p.isTerminated()); in testIsTerminated()
541 assertFalse(p.isTerminated()); in testIsTerminated()
550 assertTrue(p.isTerminated()); in testIsTerminated()
574 assertTrue(p.isTerminated()); in testIsTerminating()
696 assertTrue(p.isTerminated()); in testShutdownNow()
732 assertTrue(p.isTerminated()); in testShutdownNow_delayedTasks()
792 assertFalse(p.isTerminated()); in testShutdown_cancellation()
825 assertTrue(p.isTerminated()); in testShutdown_cancellation()
DPhaserTest.java43 assertFalse(phaser.isTerminated()); in assertState()
48 assertTrue(phaser.isTerminated()); in assertTerminated()
734 assertTrue(phaser.isTerminated());
743 assertTrue(phaser.isTerminated());
DThreadPoolExecutorTest.java461 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
472 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
477 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
480 assertTrue(p.isTerminated()); in testAwaitTermination_timesOut()
507 assertTrue(p.isTerminated()); in testIsTerminated()
535 assertTrue(p.isTerminated()); in testIsTerminating()
680 assertTrue(p.isTerminated()); in testShutdownNow()
DThreadPoolExecutorSubclassTest.java622 assertTrue(p.isTerminated()); in testIsTerminated()
650 assertTrue(p.isTerminated()); in testIsTerminating()
795 assertTrue(p.isTerminated()); in testShutdownNow()
DAbstractExecutorServiceTest.java57 public boolean isTerminated() { return isShutdown(); } in isTerminated() method in AbstractExecutorServiceTest.DirectExecutorService
/libcore/ojluni/src/test/java/util/concurrent/tck/
DForkJoinPoolTest.java200 assertFalse(p.isTerminated()); in testDefaultInitialState()
266 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
277 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
282 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
285 assertTrue(p.isTerminated()); in testAwaitTermination_timesOut()
338 assertFalse(p.isTerminated()); in testIsQuiescent()
352 assertFalse(p.isTerminated()); in testIsQuiescent()
DForkJoinPool8Test.java73 assertFalse(ForkJoinPool.commonPool().isTerminated()); in testCommonPoolShutDown()
77 assertFalse(ForkJoinPool.commonPool().isTerminated()); in testCommonPoolShutDown()
81 assertFalse(ForkJoinPool.commonPool().isTerminated()); in testCommonPoolShutDown()
1529 assertFalse(p.isTerminated()); in testAwaitQuiescence1()
1542 assertFalse(p.isTerminated()); in testAwaitQuiescence1()
1554 assertFalse(p.isTerminated()); in testAwaitQuiescence1()
1585 assertFalse(p.isTerminated());
1605 assertFalse(p.isTerminated());
DScheduledExecutorSubclassTest.java614 assertFalse(p.isTerminated()); in testIsTerminated()
619 assertFalse(p.isTerminated()); in testIsTerminated()
624 assertTrue(p.isTerminated()); in testIsTerminated()
648 assertTrue(p.isTerminated()); in testIsTerminating()
769 assertTrue(p.isTerminated()); in testShutdownNow()
806 assertTrue(p.isTerminated()); in testShutdownNow_delayedTasks()
865 assertFalse(p.isTerminated()); in testShutdown_cancellation()
898 assertTrue(p.isTerminated()); in testShutdown_cancellation()
DScheduledExecutorTest.java559 assertFalse(p.isTerminated()); in testIsTerminated()
562 assertFalse(p.isTerminated()); in testIsTerminated()
571 assertTrue(p.isTerminated()); in testIsTerminated()
595 assertTrue(p.isTerminated()); in testIsTerminating()
717 assertTrue(p.isTerminated()); in testShutdownNow()
753 assertTrue(p.isTerminated()); in testShutdownNow_delayedTasks()
813 assertFalse(p.isTerminated()); in testShutdown_cancellation()
846 assertTrue(p.isTerminated()); in testShutdown_cancellation()
DPhaserTest.java67 assertFalse(phaser.isTerminated()); in assertState()
72 assertTrue(phaser.isTerminated()); in assertTerminated()
758 assertTrue(phaser.isTerminated());
767 assertTrue(phaser.isTerminated());
DThreadPoolExecutorTest.java483 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
494 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
499 assertFalse(p.isTerminated()); in testAwaitTermination_timesOut()
502 assertTrue(p.isTerminated()); in testAwaitTermination_timesOut()
529 assertTrue(p.isTerminated()); in testIsTerminated()
557 assertTrue(p.isTerminated()); in testIsTerminating()
702 assertTrue(p.isTerminated()); in testShutdownNow()
DThreadPoolExecutorSubclassTest.java644 assertTrue(p.isTerminated()); in testIsTerminated()
672 assertTrue(p.isTerminated()); in testIsTerminating()
817 assertTrue(p.isTerminated()); in testShutdownNow()
DAbstractExecutorServiceTest.java80 public boolean isTerminated() { return isShutdown(); } in isTerminated() method in AbstractExecutorServiceTest.DirectExecutorService
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractExecutorServiceTest.java49 public boolean isTerminated() { in isTerminated() method in AbstractExecutorServiceTest.TestExecutorService
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java200 public boolean isTerminated() { in isTerminated() method in ThreadPoolExecutor
DExecutors.java209 public boolean isTerminated() { in isTerminated() method in Executors.DelegatedExecutorService

12