Home
last modified time | relevance | path

Searched refs:isDone (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DFuture.java109 boolean isDone(); in isDone() method
DAbstractExecutorService.java211 if (!f.isDone()) { in invokeAll()
254 if (!f.isDone()) { in invokeAll()
DFutureTask.java131 public boolean isDone() { in isDone() method in FutureTask
DForkJoinTask.java850 public final boolean isDone() { in isDone() method in ForkJoinTask
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java184 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()
DFutureTaskTest.java27 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()
DExecutorCompletionServiceTest.java92 assertTrue(f.isDone()); in testTake()
132 assertTrue(f.isDone()); in testPoll1()
151 assertTrue(f.isDone()); in testPoll2()
DRecursiveTaskTest.java51 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()
DRecursiveActionTest.java53 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()
DScheduledExecutorSubclassTest.java34 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()
DForkJoinPoolTest.java313 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()
DScheduledExecutorTest.java646 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()
DCountedCompleterTest.java48 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());
DAbstractExecutorServiceTest.java53 assertTrue(future.isDone()); in testExecuteRunnable()
74 assertTrue(future.isDone()); in testSubmitRunnable()
595 assertTrue(future.isDone()); in testTimedInvokeAll6()
DForkJoinTaskTest.java45 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());
DJSR166TestCase.java923 boolean isDone();
929 public boolean isDone() { return done; }
DThreadPoolExecutorSubclassTest.java38 public boolean isDone() { in isDone() method in ThreadPoolExecutorSubclassTest.CustomTask
1284 assertTrue(future.isDone()); in testSubmitRunnable()
1674 assertTrue(future.isDone()); in testTimedInvokeAll6()
DThreadPoolExecutorTest.java1417 assertTrue(future.isDone()); in testSubmitRunnable()
1881 assertTrue(future.isDone()); in testTimedInvokeAll6()