Home
last modified time | relevance | path

Searched refs:asHandler (Results 1 – 15 of 15) sorted by relevance

/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/test/
DHandlerDispatcherTest.kt49 val main = Looper.getMainLooper().asHandler(async = true).asCoroutineDispatcher() in <lambda>()
68 val main = Looper.getMainLooper().asHandler(async = true).asCoroutineDispatcher() in <lambda>()
87 val main = Looper.getMainLooper().asHandler(async = true).asCoroutineDispatcher() in <lambda>()
106 val main = Looper.getMainLooper().asHandler(async = false).asCoroutineDispatcher() in <lambda>()
124 val main = Looper.getMainLooper().asHandler(async = true).asCoroutineDispatcher("testName") in testToString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/
DCompletionHandler.kt13 internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler get() = this in invoke() constant
19 internal actual inline val CancelHandlerBase.asHandler: CompletionHandler get() = this constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/
DCompletionHandler.kt13 internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler get() = this in invoke() constant
19 internal actual inline val CancelHandlerBase.asHandler: CompletionHandler get() = this constant
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DCompletionHandler.common.kt34 internal expect val CompletionHandlerBase.asHandler: CompletionHandler in invoke() constant
41 internal expect val CancelHandlerBase.asHandler: CompletionHandler constant
DAwait.kt79 handle = deferred.invokeOnCompletion(asHandler) in await()
91 cont.invokeOnCancellation(handler = disposer.asHandler) in await()
DCancellableContinuation.kt360 invokeOnCancellation(handler = RemoveOnCancel(node).asHandler) in removeOnCancellation()
374 invokeOnCancellation(handler = DisposeOnCancel(handle).asHandler) in removeOnCancellation()
DJobSupport.kt556 … cont.disposeOnCancellation(invokeOnCompletion(handler = ResumeOnCompletion(this, cont).asHandler)) in <lambda>()
576 …isposeOnSelect(invokeOnCompletion(handler = SelectJoinOnCompletion(this, select, block).asHandler)) in <lambda>()
917 handler = ChildCompletion(this, state, child, proposedUpdate).asHandler in <lambda>()
967 …eOnCompletion(onCancelling = true, handler = ChildHandleNode(this, child).asHandler) as ChildHandle in <lambda>()
1230 … cont.disposeOnCancellation(invokeOnCompletion(ResumeAwaitOnCompletion(this, cont).asHandler)) in <lambda>()
1257 …sposeOnSelect(invokeOnCompletion(handler = SelectAwaitOnCompletion(this, select, block).asHandler)) in <lambda>()
DJob.kt493 invokeOnCompletion(handler = DisposeOnCompletion(this, handle).asHandler) in childCancelled()
DCancellableContinuationImpl.kt125 handler = ChildContinuation(parent, this).asHandler in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DCompletionHandler.kt15 internal actual inline val CompletionHandlerBase.asHandler: CompletionHandler get() = asDynamic() in invoke() constant
23 internal actual inline val CancelHandlerBase.asHandler: CompletionHandler get() = asDynamic() constant
DJSDispatcher.kt46 continuation.invokeOnCancellation(handler = ClearTimeout(handle).asHandler) in <lambda>()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/src/
DHandlerDispatcher.kt55 HandlerContext(Looper.getMainLooper().asHandler(async = true)) in createDispatcher()
75 internal fun Looper.asHandler(async: Boolean): Handler { in createDispatcher() method
100 …andlerDispatcher? = runCatching { HandlerContext(Looper.getMainLooper().asHandler(async = true)) }… in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DSemaphore.kt203 cont.invokeOnCancellation(CancelSemaphoreAcquisitionHandler(segment, i).asHandler) in addAcquireToQueue()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/selects/
DSelect.kt330 onCancelling = true, handler = SelectOnCancelling(parent).asHandler) in next()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DAbstractChannel.kt813 cont.invokeOnCancellation(handler = RemoveReceiveOnCancel(receive).asHandler) in removeReceiveOnCancel()