Home
last modified time | relevance | path

Searched refs:isDone (Results 1 – 25 of 74) 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()
/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/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DVSyncMonitorTest.java35 public boolean isDone() { in isDone() method in VSyncMonitorTest.VSyncDataCollector
62 while (!isDone()) { in waitTillDone()
97 assertFalse(collector.isDone());
100 assertTrue(collector.isDone());
132 assertTrue(collector.isDone());
/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/chromium_org/third_party/WebKit/Source/core/html/imports/
DHTMLImportChild.cpp69 if (!m_loader->isDone()) in ownerInserted()
146 if (!isDone() && !formsCycle()) { in createCustomElementMicrotaskStepIfNeeded()
155 bool HTMLImportChild::isDone() const in isDone() function in blink::HTMLImportChild
159 …return m_loader->isDone() && m_loader->microtaskQueue()->isEmpty() && !m_customElementMicrotaskSte… in isDone()
DHTMLImportStateResolver.cpp70 return !m_import->isDone(); in isActive()
DHTMLImportTreeRoot.h24 virtual bool isDone() const OVERRIDE;
/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()) {
/external/chromium_org/tools/perf/benchmarks/
Dblink_perf.js7 window.testRunner.isDone = false;
12 this.isDone = true;
/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/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/deqp/modules/glshared/
DglsCalibration.cpp178 bool MeasureState::isDone (void) const in isDone() function in deqp::gls::MeasureState
248 DE_ASSERT(m_state == INTERNALSTATE_CALIBRATING || !m_measureState.isDone()); in getState()
249 return m_measureState.isDone() ? STATE_RECOMPUTE_PARAMS : STATE_MEASURE; in getState()
255 …ate == INTERNALSTATE_CALIBRATING || m_state == INTERNALSTATE_RUNNING) && !m_measureState.isDone()); in recordIteration()
258 if (m_state == INTERNALSTATE_RUNNING && m_measureState.isDone()) in recordIteration()
265 DE_ASSERT(m_measureState.isDone()); in recomputeParameters()
/external/glide/library/src/main/java/com/bumptech/glide/volley/
DVolleyRequestFuture.java80 if (isDone()) { in cancel()
148 public synchronized boolean isDone() { in isDone() method in VolleyRequestFuture
/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/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c328 eap->isDone = eap_tls_isDone; in eap_server_tls_register()
358 eap->isDone = eap_tls_isDone; in eap_server_unauth_tls_register()
389 eap->isDone = eap_tls_isDone; in eap_server_wfa_unauth_tls_register()

123