Home
last modified time | relevance | path

Searched refs:isCancelled (Results 1 – 24 of 24) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DFuturesTransformAsyncFunctionTest.java101 assertTrue(resultFuture.isCancelled()); in testFutureCancelBeforeInputCompletion()
102 assertTrue(inputFuture.isCancelled()); in testFutureCancelBeforeInputCompletion()
103 assertFalse(outputFuture.isCancelled()); in testFutureCancelBeforeInputCompletion()
114 assertTrue(resultFuture.isCancelled()); in testFutureCancellableBeforeOutputCompletion()
115 assertFalse(inputFuture.isCancelled()); in testFutureCancellableBeforeOutputCompletion()
116 assertTrue(outputFuture.isCancelled()); in testFutureCancellableBeforeOutputCompletion()
136 assertTrue(resultFuture.isCancelled()); in testFutureCancellableBeforeFunctionCompletion()
137 assertFalse(inputFuture.isCancelled()); in testFutureCancellableBeforeFunctionCompletion()
138 assertFalse(outputFuture.isCancelled()); in testFutureCancellableBeforeFunctionCompletion()
156 assertFalse(resultFuture.isCancelled()); in testFutureCancelAfterCompletion()
[all …]
DListenableFutureTester.java57 assertFalse(future.isCancelled()); in setUp()
67 assertFalse(future.isCancelled()); in testCompletedFuture()
71 assertFalse(future.isCancelled()); in testCompletedFuture()
79 assertTrue(future.isCancelled()); in testCancelledFuture()
83 assertTrue(future.isCancelled()); in testCancelledFuture()
94 assertFalse(future.isCancelled()); in testFailedFuture()
98 assertFalse(future.isCancelled()); in testFailedFuture()
DListenableFutureTaskTest.java84 assertFalse(task.isCancelled()); in testListenerDoesNotRunUntilTaskCompletes()
93 assertFalse(task.isCancelled()); in testListenerDoesNotRunUntilTaskCompletes()
101 assertFalse(task.isCancelled()); in testListenerDoesNotRunUntilTaskCompletes()
121 assertFalse(task.isCancelled()); in testListenerCalledOnException()
127 assertTrue(task.isCancelled()); in testListenerCalledOnCancelFromNotRunning()
133 assertTrue(task.isCancelled()); in testListenerCalledOnCancelFromNotRunning()
146 assertTrue(task.isCancelled()); in testListenerCalledOnCancelFromRunning()
152 assertTrue(task.isCancelled()); in testListenerCalledOnCancelFromRunning()
DAbstractFutureTest.java69 assertTrue(future.isCancelled()); in testCancel_notDoneNoInterrupt()
77 assertTrue(future.isCancelled()); in testCancel_notDoneInterrupt()
89 assertFalse(future.isCancelled()); in testCancel_done()
DAbstractListeningExecutorServiceTest.java630 assertFalse(f1.isCancelled()); in testTimedInvokeAll6()
632 assertFalse(f2.isCancelled()); in testTimedInvokeAll6()
634 assertTrue(f3.isCancelled()); in testTimedInvokeAll6()
DJdkFutureAdaptersTest.java152 public boolean isCancelled() { in isCancelled() method in JdkFutureAdaptersTest.RuntimeExceptionThrowingFuture
DAbstractScheduledServiceTest.java64 assertTrue(future.isCancelled()); in testServiceStartStop()
DFuturesTest.java1290 assertFalse(checked.isCancelled());
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebpolicydecision.cpp46 gboolean isCancelled; member
68 priv->isCancelled = FALSE; in webkit_web_policy_decision_new()
87 if (!priv->isCancelled) in webkit_web_policy_decision_use()
105 if (!priv->isCancelled) in webkit_web_policy_decision_ignore()
123 if (!priv->isCancelled) in webkit_web_policy_decision_download()
133 priv->isCancelled = TRUE; in webkit_web_policy_decision_cancel()
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
DAbstractCheckedFutureTest.java74 assertFalse(future.isCancelled()); in testCheckedGetThrowsApplicationExceptionOnCancellation()
91 assertTrue(future.isCancelled()); in testCheckedGetThrowsApplicationExceptionOnCancellation()
104 assertFalse(future.isCancelled()); in testCheckedGetThrowsApplicationExceptionOnInterruption()
130 assertFalse(future.isCancelled()); in testCheckedGetThrowsApplicationExceptionOnInterruption()
138 assertFalse(future.isCancelled()); in testCheckedGetThrowsApplicationExceptionOnError()
155 assertFalse(future.isCancelled()); in testCheckedGetThrowsApplicationExceptionOnError()
DAbstractListenableFutureTest.java75 assertFalse(future.isCancelled()); in testGetBlocksUntilValueAvailable()
103 assertFalse(future.isCancelled()); in testGetBlocksUntilValueAvailable()
132 assertFalse(future.isCancelled()); in testCanceledFutureThrowsCancellation()
151 assertFalse(future.isCancelled()); in testCanceledFutureThrowsCancellation()
156 assertTrue(future.isCancelled()); in testCanceledFutureThrowsCancellation()
191 assertTrue(future.isCancelled()); in testListenersNotifiedOnError()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java61 private boolean isCancelled; field in Pipeline.MyTimer
68 if (this.isCancelled) in runTask()
80 this.isCancelled = true; in cancel()
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractFuture.java120 public boolean isCancelled() { in isCancelled() method in AbstractFuture
121 return sync.isCancelled(); in isCancelled()
313 boolean isCancelled() { in isCancelled() method in AbstractFuture.Sync
DForwardingFuture.java52 public boolean isCancelled() { in isCancelled() method in ForwardingFuture
53 return delegate().isCancelled(); in isCancelled()
DFutures.java546 public boolean isCancelled() {
547 return future.isCancelled();
731 if (isCancelled()) {
DAbstractScheduledService.java357 if (currentFuture == null || !currentFuture.isCancelled()) {
/external/guava/guava-tests/test/com/google/common/testing/
DGcFinalizationTest.java46 assertFalse(future.isCancelled()); in testAwaitDone_Future()
57 assertTrue(future.isCancelled()); in testAwaitDone_Future_Cancel()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DUpdateControl.java75 while (task.isCancelled()) { in controlUpdate()
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DAppTask.java118 public boolean isCancelled() { in isCancelled() method in AppTask
DApplication.java581 while (task.isCancelled()) { in update()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DConnection.java644 boolean isCancelled = false; in connect() field in Connection.TimeoutState
692 if (state.isCancelled) in connect()
738 state.isCancelled = true; in connect()
/external/webkit/Tools/DumpRenderTree/chromium/
DTestShellMac.mm76 ![currentThread isCancelled]) {
81 if (![currentThread isCancelled]) {
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/
DPhysicsSpace.java188 while (task.isCancelled()) { in preTick_native()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/
DPhysicsSpace.java241 while (task.isCancelled()) { in setTickCallback()