Home
last modified time | relevance | path

Searched refs:onCancelled (Results 1 – 25 of 27) sorted by relevance

12

/external/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/test/
DPublisherAsFlowTest.kt16 var onCancelled = 0 in <lambda>() variable
21 if (it is CancellationException) ++onCancelled in <lambda>()
42 assertEquals(1, onCancelled) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DAbstractCoroutineTest.kt31 override fun onCancelled(cause: Throwable, handled: Boolean) { in <lambda>() method
70 override fun onCancelled(cause: Throwable, handled: Boolean) { in <lambda>() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DAbstractCoroutine.kt95 protected open fun onCancelled(cause: Throwable, handled: Boolean) {} in onCancelled() method
102 onCancelled(state.cause, state.handled) in cancellationExceptionMessage()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DObservableAsFlowTest.kt21 var onCancelled = 0 in testCancellation() variable
26 if (it is CancellationException) ++onCancelled in testCancellation()
47 assertEquals(1, onCancelled) in testCancellation()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DObservableAsFlowTest.kt21 var onCancelled = 0 in testCancellation() variable
26 if (it is CancellationException) ++onCancelled in testCancellation()
47 assertEquals(1, onCancelled) in testCancellation()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DPublisherAsFlowTest.kt17 var onCancelled = 0 in <lambda>() variable
22 if (it is CancellationException) ++onCancelled in <lambda>()
43 assertEquals(1, onCancelled) in <lambda>()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAsyncTaskTest.java198 protected void onCancelled(String result) { in onCancelled() method in ShadowAsyncTaskTest.MyAsyncTask
201 super.onCancelled(result); in onCancelled()
205 protected void onCancelled() { in onCancelled() method in ShadowAsyncTaskTest.MyAsyncTask
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAsyncTaskBridge.java35 public void onCancelled() { in onCancelled() method in ShadowAsyncTaskBridge
DShadowAsyncTask.java47 getBridge().onCancelled(); in ShadowAsyncTask()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/src/
DRxCompletable.kt51 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DRxMaybe.kt52 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DRxSingle.kt51 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DRxObservable.kt185 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/src/
DRxCompletable.kt65 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DRxMaybe.kt66 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DRxSingle.kt65 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DRxObservable.kt199 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DSuppressionTests.kt34 override fun onCancelled(cause: Throwable, handled: Boolean) { in <lambda>() method
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactor/src/
DMono.kt69 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DProduce.kt150 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
DBroadcast.kt156 override fun onCancelled(cause: Throwable, handled: Boolean) { in <lambda>() method
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/
DUrlDownloaderTask.java139 protected void onCancelled() { in onCancelled() method in UrlDownloaderTask
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/src/future/
DFuture.kt60 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/src/
DListenableFuture.kt314 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/src/
DPublish.kt279 override fun onCancelled(cause: Throwable, handled: Boolean) { in onCancelled() method

12