/libcore/luni/src/main/java/java/util/concurrent/ |
D | Future.java | 109 boolean isDone(); in isDone() method
|
D | AbstractExecutorService.java | 211 if (!f.isDone()) { in invokeAll() 254 if (!f.isDone()) { in invokeAll()
|
D | FutureTask.java | 131 public boolean isDone() { in isDone() method in FutureTask
|
D | ForkJoinTask.java | 850 public final boolean isDone() { in isDone() method in ForkJoinTask
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ExecutorsTest.java | 184 assertFalse(f.isDone()); in testNewSingleThreadScheduledExecutor() 188 assertTrue(f.isDone()); in testNewSingleThreadScheduledExecutor() 210 assertFalse(f.isDone()); in testNewScheduledThreadPool() 214 assertTrue(f.isDone()); in testNewScheduledThreadPool() 238 assertFalse(f.isDone()); in testUnconfigurableScheduledExecutorService() 242 assertTrue(f.isDone()); in testUnconfigurableScheduledExecutorService()
|
D | FutureTaskTest.java | 27 assertTrue(f.isDone()); in checkIsDone() 60 assertTrue(f.isDone()); in checkIsDone() 65 assertFalse(f.isDone()); in checkNotDone() 191 assertTrue(isDone()); in done() 242 assertFalse(task.isDone()); in testIsDone() 244 assertTrue(task.isDone()); in testIsDone() 341 assertTrue(task.isDone()); in testCancelBeforeRun() 358 assertTrue(task.isDone()); in testCancelBeforeRun2() 413 assertTrue(task.isDone()); in testCancelInterrupt() 455 assertTrue(task.isDone()); in testCancelInterrupt_ThrowsSecurityException()
|
D | ExecutorCompletionServiceTest.java | 92 assertTrue(f.isDone()); in testTake() 132 assertTrue(f.isDone()); in testPoll1() 151 assertTrue(f.isDone()); in testPoll2()
|
D | RecursiveTaskTest.java | 51 assertFalse(a.isDone()); in checkNotDone() 82 assertTrue(a.isDone()); in checkCompletedNormally() 120 assertTrue(a.isDone()); in checkCancelled() 147 assertTrue(a.isDone()); in checkCompletedAbnormally() 723 assertTrue(f.isDone()); in testInvokeAll3() 724 assertTrue(g.isDone()); in testInvokeAll3() 725 assertTrue(h.isDone()); in testInvokeAll3() 748 assertTrue(f.isDone()); in testInvokeAllCollection() 749 assertTrue(g.isDone()); in testInvokeAllCollection() 750 assertTrue(h.isDone()); in testInvokeAllCollection()
|
D | RecursiveActionTest.java | 53 assertFalse(a.isDone()); in checkNotDone() 84 assertTrue(a.isDone()); in checkCompletedNormally() 102 assertTrue(a.isDone()); in checkCancelled() 129 assertTrue(a.isDone()); in checkCompletedAbnormally() 904 assertTrue(f.isDone()); in testInvokeAll3() 905 assertTrue(g.isDone()); in testInvokeAll3() 906 assertTrue(h.isDone()); in testInvokeAll3() 931 assertTrue(f.isDone()); in testInvokeAllCollection() 932 assertTrue(g.isDone()); in testInvokeAllCollection() 933 assertTrue(h.isDone()); in testInvokeAllCollection()
|
D | ScheduledExecutorSubclassTest.java | 34 public boolean isDone() { return task.isDone(); } in isDone() method in ScheduledExecutorSubclassTest.CustomTask 695 assertFalse(task.isDone()); in testShutdown1() 703 assertTrue(task.isDone()); in testShutdown1() 729 assertTrue(task.isDone()); in testShutdown2() 752 assertTrue(task.isDone()); in testShutdown3() 774 assertFalse(task.isDone()); in testShutdown4() 783 assertTrue(task.isDone()); in testShutdown4() 815 assertTrue(future.isDone()); in testSubmitRunnable() 1205 assertTrue(future.isDone()); in testTimedInvokeAll6()
|
D | ForkJoinPoolTest.java | 313 assertTrue(f.isDone()); in testIsQuiescent() 378 assertFalse(r.isDone()); in testPollSubmission() 400 assertFalse(r.isDone()); in testDrainTasksTo() 425 assertTrue(future.isDone()); in testExecuteRunnable() 440 assertTrue(future.isDone()); in testSubmitCallable() 455 assertTrue(future.isDone()); in testSubmitRunnable() 470 assertTrue(future.isDone()); in testSubmitRunnable2()
|
D | ScheduledExecutorTest.java | 646 assertFalse(task.isDone()); in testShutdown1() 654 assertTrue(task.isDone()); in testShutdown1() 680 assertTrue(task.isDone()); in testShutdown2() 703 assertTrue(task.isDone()); in testShutdown3() 725 assertFalse(task.isDone()); in testShutdown4() 734 assertTrue(task.isDone()); in testShutdown4() 766 assertTrue(future.isDone()); in testSubmitRunnable() 1156 assertTrue(future.isDone()); in testTimedInvokeAll6()
|
D | CountedCompleterTest.java | 48 assertFalse(a.isDone()); in testInvokeOnPool() 57 assertTrue(a.isDone()); in testInvokeOnPool() 69 assertFalse(a.isDone()); in checkNotDone() 84 assertTrue(a.isDone()); in checkCompletedNormally() 118 assertTrue(a.isDone()); 155 assertTrue(a.isDone()); 489 assertTrue(a.isDone()); 490 assertFalse(b.isDone()); 491 assertFalse(c.isDone());
|
D | AbstractExecutorServiceTest.java | 53 assertTrue(future.isDone()); in testExecuteRunnable() 74 assertTrue(future.isDone()); in testSubmitRunnable() 595 assertTrue(future.isDone()); in testTimedInvokeAll6()
|
D | ForkJoinTaskTest.java | 45 assertFalse(a.isDone()); in testInvokeOnPool() 54 assertTrue(a.isDone()); in testInvokeOnPool() 66 assertFalse(a.isDone()); in checkNotDone() 85 assertTrue(a.isDone()); in checkCompletedNormally() 119 assertTrue(a.isDone()); 156 assertTrue(a.isDone());
|
D | JSR166TestCase.java | 923 boolean isDone(); 929 public boolean isDone() { return done; }
|
D | ThreadPoolExecutorSubclassTest.java | 38 public boolean isDone() { in isDone() method in ThreadPoolExecutorSubclassTest.CustomTask 1284 assertTrue(future.isDone()); in testSubmitRunnable() 1674 assertTrue(future.isDone()); in testTimedInvokeAll6()
|
D | ThreadPoolExecutorTest.java | 1417 assertTrue(future.isDone()); in testSubmitRunnable() 1881 assertTrue(future.isDone()); in testTimedInvokeAll6()
|