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.java287 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.java320 if (!isShutdown()) in canRunInCurrentRunState()
344 if (isShutdown()) in delayedExecute()
753 if (!value && isShutdown()) in setContinueExistingPeriodicTasksAfterShutdownPolicy()
784 if (!value && isShutdown()) in setExecuteExistingDelayedTasksAfterShutdownPolicy()
DExecutors.java687 public boolean isShutdown() {
689 return e.isShutdown();
DThreadPoolExecutor.java1433 public boolean isShutdown() { in isShutdown() method in ThreadPoolExecutor
2053 if (!e.isShutdown()) { in rejectedExecution()
2140 if (!e.isShutdown()) { in rejectedExecution()
/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()
DThreadPoolExecutorTest.java446 assertFalse(p.isShutdown()); in testIsShutdown()
448 assertTrue(p.isShutdown()); in testIsShutdown()
676 assertTrue(p.isShutdown()); in testShutdownNow()
1412 assertTrue(p.isShutdown()); in testTerminated()
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/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.java600 assertFalse(p.isShutdown()); in testIsShutdown()
602 assertTrue(p.isShutdown()); in testIsShutdown()
767 assertTrue(p.isShutdown()); in testShutdownNow()
797 assertTrue(p.isShutdown()); in testShutdownNow_delayedTasks()
869 assertTrue(p.isShutdown()); in testShutdown_cancellation()
DScheduledExecutorTest.java544 assertFalse(p.isShutdown()); in testIsShutdown()
548 assertTrue(p.isShutdown()); in testIsShutdown()
715 assertTrue(p.isShutdown()); in testShutdownNow()
745 assertTrue(p.isShutdown()); in testShutdownNow_delayedTasks()
817 assertTrue(p.isShutdown()); in testShutdown_cancellation()
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/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java192 public boolean isShutdown() { in isShutdown() method in ThreadPoolExecutor

12