Home
last modified time | relevance | path

Searched refs:isShutdown (Results 1 – 25 of 29) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousChannelGroupTest.java41 assertFalse(acg.isShutdown()); in test_withFixedThreadPool()
62 assertFalse(acg.isShutdown()); in test_withCachedThreadPool()
77 assertFalse(acg.isShutdown()); in test_withThreadPool()
94 assertTrue(acg.isShutdown()); in test_shutdown()
125 assertTrue(acg.isShutdown()); in test_shutdownNow()
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractExecutorServiceTest.java42 return isShutdown(); in awaitTermination()
45 public boolean isShutdown() { in isShutdown() method in AbstractExecutorServiceTest.TestExecutorService
50 return isShutdown(); in isTerminated()
/libcore/luni/src/test/java/libcore/java/net/
DServerSocketConcurrentCloseTest.java151 if (serverRunnable.isShutdown()) { in checkConnectIterationAndCloseSocket()
169 assertTrue(serverRunnable.isShutdown()); in checkConnectIterationAndCloseSocket()
200 while (!serverRunnable.isShutdown()) { in run()
256 public boolean isShutdown() { in isShutdown() method in ServerSocketConcurrentCloseTest.ServerRunnable
/libcore/ojluni/src/main/java/sun/nio/ch/
DPort.java67 if (isShutdown()) in register()
104 if (checkForShutdown && isShutdown()) { in unregister()
DEPollPort.java303 if (remaining == 0 && isShutdown()) { in run()
DAsynchronousChannelGroupImpl.java213 public final boolean isShutdown() {
/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousChannelGroup.java282 public abstract boolean isShutdown(); in isShutdown() method in AsynchronousChannelGroup
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutorService.java178 boolean isShutdown(); in isShutdown() method
DScheduledThreadPoolExecutor.java333 if (isShutdown()) in delayedExecute()
337 if (isShutdown() && in delayedExecute()
696 if (!value && isShutdown()) in setContinueExistingPeriodicTasksAfterShutdownPolicy()
728 if (!value && isShutdown()) in setExecuteExistingDelayedTasksAfterShutdownPolicy()
DExecutors.java633 public boolean isShutdown() { return e.isShutdown(); }
DThreadPoolExecutor.java1453 public boolean isShutdown() { in isShutdown() method in ThreadPoolExecutor
2060 if (!e.isShutdown()) { in rejectedExecution()
2131 if (!e.isShutdown()) { in rejectedExecution()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DForkJoinPool8Test.java71 assertFalse(ForkJoinPool.commonPool().isShutdown()); in testCommonPoolShutDown()
75 assertFalse(ForkJoinPool.commonPool().isShutdown()); in testCommonPoolShutDown()
79 assertFalse(ForkJoinPool.commonPool().isShutdown()); in testCommonPoolShutDown()
1527 assertFalse(p.isShutdown()); in testAwaitQuiescence1()
1540 assertFalse(p.isShutdown()); in testAwaitQuiescence1()
1552 assertFalse(p.isShutdown()); in testAwaitQuiescence1()
1583 assertFalse(p.isShutdown());
1603 assertFalse(p.isShutdown());
DAbstractExecutorServiceTest.java79 public boolean isShutdown() { return shutdown; } in isShutdown() method in AbstractExecutorServiceTest.DirectExecutorService
80 public boolean isTerminated() { return isShutdown(); } in isTerminated()
82 return isShutdown(); in awaitTermination()
DForkJoinPoolTest.java198 assertFalse(p.isShutdown()); in testDefaultInitialState()
336 assertFalse(p.isShutdown()); in testIsQuiescent()
350 assertFalse(p.isShutdown()); in testIsQuiescent()
377 assertTrue(p.isShutdown());
DScheduledExecutorSubclassTest.java598 assertFalse(p.isShutdown()); in testIsShutdown()
600 assertTrue(p.isShutdown()); in testIsShutdown()
765 assertTrue(p.isShutdown()); in testShutdownNow()
795 assertTrue(p.isShutdown()); in testShutdownNow_delayedTasks()
864 assertTrue(p.isShutdown()); in testShutdown_cancellation()
DScheduledExecutorTest.java542 assertFalse(p.isShutdown()); in testIsShutdown()
546 assertTrue(p.isShutdown()); in testIsShutdown()
713 assertTrue(p.isShutdown()); in testShutdownNow()
743 assertTrue(p.isShutdown()); in testShutdownNow_delayedTasks()
812 assertTrue(p.isShutdown()); in testShutdown_cancellation()
DThreadPoolExecutorSubclassTest.java615 assertFalse(p.isShutdown()); in testIsShutdown()
617 assertTrue(p.isShutdown()); in testIsShutdown()
813 assertTrue(p.isShutdown()); in testShutdownNow()
1427 assertTrue(p.isShutdown()); in testTerminated()
DThreadPoolExecutorTest.java468 assertFalse(p.isShutdown()); in testIsShutdown()
470 assertTrue(p.isShutdown()); in testIsShutdown()
698 assertTrue(p.isShutdown()); in testShutdownNow()
1429 assertTrue(p.isShutdown()); in testTerminated()
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPool8Test.java47 assertFalse(ForkJoinPool.commonPool().isShutdown()); in testCommonPoolShutDown()
51 assertFalse(ForkJoinPool.commonPool().isShutdown()); in testCommonPoolShutDown()
55 assertFalse(ForkJoinPool.commonPool().isShutdown()); in testCommonPoolShutDown()
1509 assertFalse(p.isShutdown()); in testAwaitQuiescence1()
1522 assertFalse(p.isShutdown()); in testAwaitQuiescence1()
1534 assertFalse(p.isShutdown()); in testAwaitQuiescence1()
1565 assertFalse(p.isShutdown());
1585 assertFalse(p.isShutdown());
DAbstractExecutorServiceTest.java56 public boolean isShutdown() { return shutdown; } in isShutdown() method in AbstractExecutorServiceTest.DirectExecutorService
57 public boolean isTerminated() { return isShutdown(); } in isTerminated()
59 return isShutdown(); in awaitTermination()
DForkJoinPoolTest.java180 assertFalse(p.isShutdown()); in testDefaultInitialState()
318 assertFalse(p.isShutdown()); in testIsQuiescent()
332 assertFalse(p.isShutdown()); in testIsQuiescent()
359 assertTrue(p.isShutdown());
DScheduledExecutorSubclassTest.java576 assertFalse(p.isShutdown()); in testIsShutdown()
578 assertTrue(p.isShutdown()); in testIsShutdown()
743 assertTrue(p.isShutdown()); in testShutdownNow()
773 assertTrue(p.isShutdown()); in testShutdownNow_delayedTasks()
842 assertTrue(p.isShutdown()); in testShutdown_cancellation()
DScheduledExecutorTest.java522 assertFalse(p.isShutdown()); in testIsShutdown()
527 assertTrue(p.isShutdown()); in testIsShutdown()
692 assertTrue(p.isShutdown()); in testShutdownNow()
722 assertTrue(p.isShutdown()); in testShutdownNow_delayedTasks()
791 assertTrue(p.isShutdown()); in testShutdown_cancellation()
DThreadPoolExecutorSubclassTest.java593 assertFalse(p.isShutdown()); in testIsShutdown()
595 assertTrue(p.isShutdown()); in testIsShutdown()
791 assertTrue(p.isShutdown()); in testShutdownNow()
1405 assertTrue(p.isShutdown()); in testTerminated()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java192 public boolean isShutdown() { in isShutdown() method in ThreadPoolExecutor

12