Home
last modified time | relevance | path

Searched refs:isCanceled (Results 1 – 25 of 36) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCacheUtil.java124 @Nullable AtomicBoolean isCanceled) in cache() argument
130 isCanceled, in cache()
160 @Nullable AtomicBoolean isCanceled, in cache() argument
184 throwExceptionIfInterruptedOrCancelled(isCanceled); in cache()
200 isCanceled, in cache()
248 @Nullable AtomicBoolean isCanceled, in readAndDiscard() argument
262 throwExceptionIfInterruptedOrCancelled(isCanceled); in readAndDiscard()
289 throwExceptionIfInterruptedOrCancelled(isCanceled); in readAndDiscard()
372 private static void throwExceptionIfInterruptedOrCancelled(@Nullable AtomicBoolean isCanceled) in throwExceptionIfInterruptedOrCancelled() argument
374 if (Thread.interrupted() || (isCanceled != null && isCanceled.get())) { in throwExceptionIfInterruptedOrCancelled()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/src/
DTasks.kt54 CompletableDeferred<T>().apply { if (isCanceled) cancel() else complete(result as T) } in asDeferred()
65 if (isCanceled) result.cancel() else result.complete(it.result as T) in asDeferred()
85 if (isCanceled) { in await()
101 if (isCanceled) cont.cancel() else cont.resume(result as T) in await()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DProgressiveDownloader.java36 private final AtomicBoolean isCanceled; field in ProgressiveDownloader
72 isCanceled = new AtomicBoolean(); in ProgressiveDownloader()
87 isCanceled, in download()
99 isCanceled.set(true); in cancel()
DSegmentDownloader.java74 private final AtomicBoolean isCanceled; field in SegmentDownloader
95 isCanceled = new AtomicBoolean(); in SegmentDownloader()
167 isCanceled, in download()
183 isCanceled.set(true); in cancel()
DDownloadManager.java1061 if (task.isCanceled) { in onTaskStopped()
1244 private volatile boolean isCanceled; field in DownloadManager.Task
1274 if (!isCanceled) { in cancel()
1275 isCanceled = true; in cancel()
1291 while (!isCanceled) { in run()
1296 if (!isCanceled) { in run()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DPlayerMessage.java69 private boolean isCanceled; field in PlayerMessage
262 isCanceled = true; in cancel()
268 public synchronized boolean isCanceled() { in isCanceled() method in PlayerMessage
269 return isCanceled; in isCanceled()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DRpcController.java95 boolean isCanceled(); in isCanceled() method
/external/deqp/execserver/
DxsPosixTestProcess.cpp126 while (!m_buf->isCanceled()) in run()
161 DE_ASSERT(m_buf->isCanceled()); in stop()
DxsWin32TestProcess.cpp251 if (m_dstBuf->isCanceled()) in run()
256 if (m_dstBuf->isCanceled()) in run()
278 if (m_dstBuf->isCanceled()) in run()
283 if (m_dstBuf->isCanceled()) in run()
DxsPosixFileReader.cpp71 while (!m_buf.isCanceled()) in run()
/external/volley/src/main/java/com/android/volley/toolbox/
DClearCacheRequest.java44 public boolean isCanceled() { in isCanceled() method in ClearCacheRequest
DRequestFuture.java139 return mRequest.isCanceled(); in isCancelled()
/external/volley/src/main/java/com/android/volley/
DExecutorDelivery.java95 if (mRequest.isCanceled()) { in run()
DRequest.java354 public boolean isCanceled() { in isCanceled() method in Request
710 return (isCanceled() ? "[X] " : "[ ] ") in toString()
DCacheDispatcher.java125 if (request.isCanceled()) { in processRequest()
DNetworkDispatcher.java123 if (request.isCanceled()) { in processRequest()
DAsyncRequestQueue.java198 if (mRequest.isCanceled()) { in run()
328 if (mRequest.isCanceled()) { in run()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPendingIntentTest.java521 assertThat(shadowOf(canceled).isCanceled()).isTrue(); in send_canceledPendingIntent_throwsCanceledException()
522 assertThat(shadowOf(current).isCanceled()).isFalse(); in send_canceledPendingIntent_throwsCanceledException()
540 assertThat(shadowOf(pendingIntent).isCanceled()).isFalse(); in send_oneShotPendingIntent_shouldCancel()
543 assertThat(shadowOf(pendingIntent).isCanceled()).isTrue(); in send_oneShotPendingIntent_shouldCancel()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowFingerprintManager.java88 if (cancel.isCanceled()) { in authenticate()
DShadowPendingIntent.java267 public boolean isCanceled() { in isCanceled() method in ShadowPendingIntent
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/
DTaskTest.kt58 assertTrue(task.isCanceled) in testCancelledAsTask()
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.hpp66 bool isCanceled (void) const { return !!m_canceled; } in isCanceled() function in de::BlockBuffer
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCall.java134 public boolean isCanceled() { in isCanceled() method in Call
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCall.java136 public boolean isCanceled() { in isCanceled() method in Call
/external/deqp/executor/
DxeTcpIpLink.cpp207 while (!m_buffer.isCanceled()) in run()

12