Searched refs:isCancelled (Results 1 - 25 of 33) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DListenableFutureTester.java57 assertFalse(future.isCancelled());
67 assertFalse(future.isCancelled());
71 assertFalse(future.isCancelled());
79 assertTrue(future.isCancelled());
83 assertTrue(future.isCancelled());
94 assertFalse(future.isCancelled());
98 assertFalse(future.isCancelled());
H A DFuturesTransformAsyncFunctionTest.java101 assertTrue(resultFuture.isCancelled());
102 assertTrue(inputFuture.isCancelled());
103 assertFalse(outputFuture.isCancelled());
114 assertTrue(resultFuture.isCancelled());
115 assertFalse(inputFuture.isCancelled());
116 assertTrue(outputFuture.isCancelled());
136 assertTrue(resultFuture.isCancelled());
137 assertFalse(inputFuture.isCancelled());
138 assertFalse(outputFuture.isCancelled());
156 assertFalse(resultFuture.isCancelled());
[all...]
H A DListenableFutureTaskTest.java84 assertFalse(task.isCancelled());
93 assertFalse(task.isCancelled());
101 assertFalse(task.isCancelled());
121 assertFalse(task.isCancelled());
127 assertTrue(task.isCancelled());
133 assertTrue(task.isCancelled());
146 assertTrue(task.isCancelled());
152 assertTrue(task.isCancelled());
H A DAbstractFutureTest.java69 assertTrue(future.isCancelled());
77 assertTrue(future.isCancelled());
89 assertFalse(future.isCancelled());
H A DAbstractListeningExecutorServiceTest.java630 assertFalse(f1.isCancelled());
632 assertFalse(f2.isCancelled());
634 assertTrue(f3.isCancelled());
H A DJdkFutureAdaptersTest.java152 public boolean isCancelled() { method in class:JdkFutureAdaptersTest.RuntimeExceptionThrowingFuture
/external/webkit/Source/WebKit/gtk/webkit/
H A Dwebkitwebpolicydecision.cpp46 gboolean isCancelled; member in struct:_WebKitWebPolicyDecisionPrivate
68 priv->isCancelled = FALSE;
87 if (!priv->isCancelled)
105 if (!priv->isCancelled)
123 if (!priv->isCancelled)
133 priv->isCancelled = TRUE;
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
H A DAbstractCheckedFutureTest.java74 assertFalse(future.isCancelled());
91 assertTrue(future.isCancelled());
104 assertFalse(future.isCancelled());
130 assertFalse(future.isCancelled());
138 assertFalse(future.isCancelled());
155 assertFalse(future.isCancelled());
H A DAbstractListenableFutureTest.java75 assertFalse(future.isCancelled());
103 assertFalse(future.isCancelled());
127 * This method checks the cancel, isCancelled, and isDone methods.
132 assertFalse(future.isCancelled());
151 assertFalse(future.isCancelled());
156 assertTrue(future.isCancelled());
191 assertTrue(future.isCancelled());
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowVibrator.java39 public boolean isCancelled() { method in class:ShadowVibrator
H A DShadowAccountManager.java64 return isCancelled();
71 if (!isCancelled()) {
82 if (!isCancelled()) {
90 public boolean isCancelled() {
122 return isCancelled();
129 if (!isCancelled()) {
140 if (!isCancelled()) {
148 public boolean isCancelled() {
H A DShadowAsyncTask.java56 public boolean isCancelled() { method in class:ShadowAsyncTask
57 return future.isCancelled();
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingFuture.java52 public boolean isCancelled() { method in class:ForwardingFuture
53 return delegate().isCancelled();
H A DAbstractFuture.java120 public boolean isCancelled() { method in class:AbstractFuture
121 return sync.isCancelled();
313 boolean isCancelled() { method in class:AbstractFuture.Sync
H A DAbstractScheduledService.java357 if (currentFuture == null || !currentFuture.isCancelled()) {
373 // N.B. Only protect cancel and isCancelled because those are the only methods that are
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DVibratorTest.java51 assertThat(shadowVibrator.isCancelled(), is(false));
55 assertThat(shadowVibrator.isCancelled(), is(true));
H A DAsyncTaskTest.java53 assertTrue(asyncTask.isCancelled());
74 assertFalse(asyncTask.isCancelled());
H A DAccountManagerTest.java48 assertThat(future.isCancelled(), equalTo(false));
50 assertThat(future.isCancelled(), equalTo(true));
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DPipeline.java61 private boolean isCancelled; field in class:Pipeline.MyTimer
68 if (this.isCancelled)
80 this.isCancelled = true;
/external/webkit/Tools/DumpRenderTree/chromium/
H A DTestShellMac.mm76 ![currentThread isCancelled]) {
81 if (![currentThread isCancelled]) {
/external/smack/src/org/jivesoftware/smackx/packet/
H A DMessageEvent.java150 public boolean isCancelled() { method in class:MessageEvent
175 if (!isMessageEventRequest() && isCancelled()) {
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
H A DUpdateControl.java75 while (task.isCancelled()) {
/external/guava/guava-tests/test/com/google/common/testing/
H A DGcFinalizationTest.java46 assertFalse(future.isCancelled());
57 assertTrue(future.isCancelled());
/external/jmonkeyengine/engine/src/core/com/jme3/app/
H A DAppTask.java118 public boolean isCancelled() { method in class:AppTask
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DConnection.java644 boolean isCancelled = false;
692 if (state.isCancelled)
738 state.isCancelled = true;

Completed in 1441 milliseconds

12