Home
last modified time | relevance | path

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

123

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTester.java56 assertFalse(future.isDone()); in setUp()
66 assertTrue(future.isDone()); in testCompletedFuture()
70 assertTrue(future.isDone()); in testCompletedFuture()
78 assertTrue(future.isDone()); in testCancelledFuture()
82 assertTrue(future.isDone()); in testCancelledFuture()
93 assertTrue(future.isDone()); in testFailedFuture()
97 assertTrue(future.isDone()); in testFailedFuture()
DListenableFutureTaskTest.java83 assertFalse(task.isDone()); in testListenerDoesNotRunUntilTaskCompletes()
92 assertFalse(task.isDone()); in testListenerDoesNotRunUntilTaskCompletes()
100 assertTrue(task.isDone()); in testListenerDoesNotRunUntilTaskCompletes()
120 assertTrue(task.isDone()); in testListenerCalledOnException()
126 assertTrue(task.isDone()); in testListenerCalledOnCancelFromNotRunning()
132 assertTrue(task.isDone()); in testListenerCalledOnCancelFromNotRunning()
145 assertTrue(task.isDone()); in testListenerCalledOnCancelFromRunning()
151 assertTrue(task.isDone()); in testListenerCalledOnCancelFromRunning()
DAbstractFutureTest.java70 assertTrue(future.isDone()); in testCancel_notDoneNoInterrupt()
78 assertTrue(future.isDone()); in testCancel_notDoneInterrupt()
90 assertTrue(future.isDone()); in testCancel_done()
102 if (!future.isDone()) { in testCompletionFinishesWithDone()
111 if (!future.isDone()) { in testCompletionFinishesWithDone()
120 if (!future.isDone()) { in testCompletionFinishesWithDone()
DJdkFutureAdaptersTest.java66 assertTrue(listenableFuture.isDone()); // We call AbstractFuture#set above. in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()
77 assertTrue(listenableFuture.isDone()); in testListenInPoolThreadIgnoresExecutorWhenDelegateIsDone()
94 assertFalse(listenableFuture.isDone()); in testListenInPoolThreadUsesGivenExecutor()
103 assertTrue(listenableFuture.isDone()); in testListenInPoolThreadUsesGivenExecutor()
157 public boolean isDone() { in isDone() method in JdkFutureAdaptersTest.RuntimeExceptionThrowingFuture
DFuturesTest.java551 assertFalse(compound.isDone());
553 assertFalse(compound.isDone());
555 assertFalse(compound.isDone());
558 assertTrue(compound.isDone());
571 assertTrue(compound.isDone());
582 assertTrue(compound.isDone());
599 assertTrue(compound.isDone());
649 assertTrue(compound.isDone());
673 assertFalse(compound.isDone());
706 assertTrue(compound.isDone());
[all …]
DMoreExecutorsTest.java73 assertTrue(future.isDone()); in testSameThreadExecutorServiceInThreadExecution()
84 assertTrue(future.isDone()); in testSameThreadExecutorServiceInThreadExecution()
118 assertTrue("Task should have been run before being returned", future.isDone()); in testSameThreadExecutorInvokeAll()
155 assertTrue(future.isDone()); in testSameThreadExecutorServiceTermination()
DSettableFutureTest.java66 assertFalse(future.isDone()); in testSetFailureNull()
DAbstractListeningExecutorServiceTest.java83 assertTrue(future.isDone()); in testSubmitRunnable()
629 assertTrue(f1.isDone()); in testTimedInvokeAll6()
631 assertTrue(f2.isDone()); in testTimedInvokeAll6()
633 assertTrue(f3.isDone()); in testTimedInvokeAll6()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java116 if (future.isDone()) { in awaitDone()
123 if (future.isDone()) { in awaitDone()
194 boolean isDone(); in isDone() method
204 if (predicate.isDone()) { in awaitDone()
211 if (predicate.isDone()) { in awaitDone()
217 if (predicate.isDone()) { in awaitDone()
242 public boolean isDone() { in awaitClear()
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DAbstractCheckedFutureTest.java73 assertFalse(future.isDone()); in testCheckedGetThrowsApplicationExceptionOnCancellation()
90 assertTrue(future.isDone()); in testCheckedGetThrowsApplicationExceptionOnCancellation()
103 assertFalse(future.isDone()); in testCheckedGetThrowsApplicationExceptionOnInterruption()
129 assertFalse(future.isDone()); in testCheckedGetThrowsApplicationExceptionOnInterruption()
137 assertFalse(future.isDone()); in testCheckedGetThrowsApplicationExceptionOnError()
154 assertTrue(future.isDone()); in testCheckedGetThrowsApplicationExceptionOnError()
DAbstractListenableFutureTest.java74 assertFalse(future.isDone()); in testGetBlocksUntilValueAvailable()
102 assertTrue(future.isDone()); in testGetBlocksUntilValueAvailable()
131 assertFalse(future.isDone()); in testCanceledFutureThrowsCancellation()
150 assertFalse(future.isDone()); in testCanceledFutureThrowsCancellation()
155 assertTrue(future.isDone()); in testCanceledFutureThrowsCancellation()
192 assertTrue(future.isDone()); in testListenersNotifiedOnError()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DRobolectricBackgroundExecutorServiceTest.java50 assertFalse(future.isDone()); in submitRunnable_shouldRunStuffOnBackgroundThread()
54 assertTrue(future.isDone()); in submitRunnable_shouldRunStuffOnBackgroundThread()
69 assertFalse(future.isDone()); in submitCallable_shouldRunStuffOnBackgroundThread()
73 assertTrue(future.isDone()); in submitCallable_shouldRunStuffOnBackgroundThread()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractFuture.java115 public boolean isDone() { in isDone() method in AbstractFuture
116 return sync.isDone(); in isDone()
233 if (isDone()) { in tryAcquireShared()
306 boolean isDone() { in isDone() method in AbstractFuture.Sync
DForwardingFuture.java57 public boolean isDone() { in isDone() method in ForwardingFuture
58 return delegate().isDone(); in isDone()
DFutures.java551 public boolean isDone() {
552 return future.isDone();
610 if (!isDone()) {
646 if (!isDone()) {
1354 if (isDone() || localValues == null) {
1364 checkState(future.isDone(),
1396 checkState(isDone());
1418 if (oldFutures != null && !isDone()) {
1423 while (!future.isDone()) {
DAbstractListeningExecutorService.java161 if (!f.isDone()) { in invokeAll()
210 if (!f.isDone()) { in invokeAll()
DJdkFutureAdapters.java130 if (delegate.isDone()) { in addListener()
/external/guava/guava-tests/test/com/google/common/testing/
DGcFinalizationTest.java45 assertTrue(future.isDone()); in testAwaitDone_Future()
56 assertTrue(future.isDone()); in testAwaitDone_Future_Cancel()
70 public boolean isDone() { in testAwaitDone_FinalizationPredicate()
164 public boolean isDone() { in testAwaitDone_FinalizationPredicate_Interrupted()
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DAppTask.java88 while (!isDone()) { in get()
103 if (!isDone()) { in get()
127 public boolean isDone() { in isDone() method in AppTask
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAccountManagerTest.java58 assertThat(future.isDone(), equalTo(false)); in testGetAuthTokenByFeatures_isDoneWithCancel()
60 assertThat(future.isDone(), equalTo(true)); in testGetAuthTokenByFeatures_isDoneWithCancel()
68 assertThat(future.isDone(), equalTo(false)); in testGetAuthTokenByFeatures_isDoneWithGetResult()
70 assertThat(future.isDone(), equalTo(true)); in testGetAuthTokenByFeatures_isDoneWithGetResult()
/external/smack/src/org/jivesoftware/smackx/filetransfer/
DOutgoingFileTransfer.java117 if (isDone() || outputStream != null) { in sendFile()
158 if (isDone() || outputStream != null) { in sendFile()
181 if (transferThread != null && transferThread.isAlive() || isDone()) { in checkTransferThread()
/external/webkit/Source/WebCore/loader/
DNetscapePlugInStreamLoader.h56 bool isDone() const;
DNetscapePlugInStreamLoader.cpp58 bool NetscapePlugInStreamLoader::isDone() const in isDone() function in WebCore::NetscapePlugInStreamLoader
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAccountManager.java95 public boolean isDone() { in getAuthToken() method
153 public boolean isDone() { in getAuthTokenByFeatures() method
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c302 eap->isDone = eap_tls_isDone; in eap_server_tls_register()
332 eap->isDone = eap_tls_isDone; in eap_server_unauth_tls_register()

123