Home
last modified time | relevance | path

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

12

/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()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngineJob.java20 private boolean isCancelled; field in EngineJob
56 if (isComplete || isCancelled) { in cancel()
59 isCancelled = true; in cancel()
64 boolean isCancelled() { in isCancelled() method in EngineJob
65 return isCancelled; in isCancelled()
76 + " cancelled: " + isCancelled); in onResourceReady()
78 if (isCancelled) { in onResourceReady()
115 + " cancelled: " + isCancelled); in onException()
117 if (isCancelled) { in onException()
DResourceRunner.java37 private volatile boolean isCancelled; field in ResourceRunner
62 isCancelled = true; in cancel()
75 if (isCancelled) { in run()
DSourceResourceRunner.java45 private volatile boolean isCancelled; field in SourceResourceRunner
70 isCancelled = true; in cancel()
78 if (isCancelled) { in run()
/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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAccountManager.java64 return isCancelled(); in getAuthToken()
71 if (!isCancelled()) { in getAuthToken()
82 if (!isCancelled()) { in getAuthToken()
90 public boolean isCancelled() { in getAuthToken() method
122 return isCancelled(); in getAuthTokenByFeatures()
129 if (!isCancelled()) { in getAuthTokenByFeatures()
140 if (!isCancelled()) { in getAuthTokenByFeatures()
148 public boolean isCancelled() { in getAuthTokenByFeatures() method
DShadowAsyncTask.java56 public boolean isCancelled() { in isCancelled() method in ShadowAsyncTask
57 return future.isCancelled(); in isCancelled()
DShadowVibrator.java39 public boolean isCancelled() { in isCancelled() method in ShadowVibrator
/external/glide/library/src/main/java/com/bumptech/glide/volley/
DVolleyRequestFuture.java117 if (isCancelled()) { in doGet()
131 if (isCancelled()) { in doGet()
143 public boolean isCancelled() { in isCancelled() method in VolleyRequestFuture
149 return mResultReceived || mException != null || isCancelled(); in isDone()
/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()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DVibratorTest.java51 assertThat(shadowVibrator.isCancelled(), is(false)); in cancelled()
55 assertThat(shadowVibrator.isCancelled(), is(true)); in cancelled()
DAsyncTaskTest.java53 assertTrue(asyncTask.isCancelled()); in testCancelBeforeBackground()
74 assertFalse(asyncTask.isCancelled()); in testCancelBeforePostExecute()
DAccountManagerTest.java48 assertThat(future.isCancelled(), equalTo(false)); in testGetAuthTokenByFeatures_isCancelled()
50 assertThat(future.isCancelled(), equalTo(true)); in testGetAuthTokenByFeatures_isCancelled()
/external/smack/src/org/jivesoftware/smackx/packet/
DMessageEvent.java150 public boolean isCancelled() { in isCancelled() method in MessageEvent
175 if (!isMessageEventRequest() && isCancelled()) { in getEventTypes()
/external/glide/library/src/main/java/com/bumptech/glide/request/
DGenericRequest.java56 private boolean isCancelled; field in GenericRequest
132 isCancelled = false; in recycle()
234 isCancelled = true; in cancel()
302 if (isCancelled) { in onSizeReady()
/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/chromium_org/ui/file_manager/file_manager/foreground/js/
Ddirectory_contents.js693 if (prefetchMetadataQueue.isCancelled())
699 if (!prefetchMetadataQueue.isCancelled()) {
/external/chromium_org/ui/file_manager/file_manager/common/js/
Dasync_util.js112 AsyncUtil.ConcurrentQueue.prototype.isCancelled = function() { method in AsyncUtil.ConcurrentQueue

12