Home
last modified time | relevance | path

Searched refs:wrapperDispatcher (Results 1 – 19 of 19) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DWithContextTest.kt34 withContext<Unit>(wrapperDispatcher(coroutineContext)) { in <lambda>()
141 withContext(job + wrapperDispatcher(coroutineContext)) { in <lambda>()
179 withContext<Unit>(wrapperDispatcher(coroutineContext)) { in <lambda>()
207 withContext<Unit>(wrapperDispatcher(coroutineContext)) { in <lambda>()
236 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
264 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
300 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
315 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
346 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
356 withContext(wrapperDispatcher()) { in <lambda>()
DTestBase.common.kt71 public fun wrapperDispatcher(context: CoroutineContext): CoroutineContext { in wrapperDispatcher() method
81 public suspend fun wrapperDispatcher(): CoroutineContext = wrapperDispatcher(coroutineContext) in wrapperDispatcher() method
DImmediateYieldTest.kt39 launch(wrapperDispatcher(Dispatchers.Unconfined)) { in isDispatchNeeded()
50 withContext(wrapperDispatcher(Dispatchers.Unconfined)) { in <lambda>()
DUndispatchedResultTest.kt14 invokeTest { block -> withContext(wrapperDispatcher(coroutineContext), block) } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DStackTraceRecoveryResumeModeTest.kt40 testResumeModeFastPath(wrapperDispatcher()) in <lambda>()
45 val dispatcher = wrapperDispatcher() in <lambda>()
53 withContext(wrapperDispatcher()) { in <lambda>()
101 testResumeModeSuspending(wrapperDispatcher()) in <lambda>()
106 val dispatcher = wrapperDispatcher() in <lambda>()
114 withContext(wrapperDispatcher()) { in <lambda>()
DStackTraceRecoveryCustomExceptionsTest.kt33 withContext(wrapperDispatcher(coroutineContext)) { in testStackTraceNotRecovered()
46 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
63 withContext(wrapperDispatcher(coroutineContext)) { in <lambda>()
DWithContextExceptionHandlingTest.kt199 private fun wrapperDispatcher(context: CoroutineContext): CoroutineContext { in <lambda>() method in kotlinx.coroutines.exceptions.WithContextExceptionHandlingTest
216 withCtx(wrapperDispatcher(coroutineContext)) { job -> in <lambda>()
237 withCtx(wrapperDispatcher(coroutineContext).minusKey(Job)) { in <lambda>()
268 withContext(wrapperDispatcher(coroutineContext) + job) { in <lambda>()
DWithContextCancellationStressTest.kt37 withContext(wrapperDispatcher(coroutineContext)) { in testConcurrentFailure()
83 private fun wrapperDispatcher(context: CoroutineContext): CoroutineContext { in wrapperDispatcher() method in kotlinx.coroutines.exceptions.WithContextCancellationStressTest
DStackTraceRecoveryChannelsTest.kt109 channel.sendWithContext(wrapperDispatcher(coroutineContext)) in <lambda>()
178 sendWithContext(wrapperDispatcher(coroutineContext)) in <lambda>()
DStackTraceRecoveryNestedScopesTest.kt31 …private suspend fun callWithContext(doYield: Boolean) = withContext(wrapperDispatcher(coroutineCon… in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DBufferTest.kt139 flowOn(wrapperDispatcher()) in <lambda>()
145 flowOn(wrapperDispatcher()).buffer(5) in <lambda>()
151 buffer(6).flowOn(wrapperDispatcher()) in <lambda>()
169 flowOn(wrapperDispatcher()).buffer(3) in <lambda>()
171 .flowOn(wrapperDispatcher()).buffer(5) in <lambda>()
DCatchTest.kt101 val d1 = wrapperDispatcher(coroutineContext) in <lambda>()
102 val d2 = wrapperDispatcher(coroutineContext) in <lambda>()
DFlowOnTest.kt272 }.flowOn(wrapperDispatcher()) in testCancellation()
289 .flowOn(wrapperDispatcher()) in <lambda>()
353 }.flowOn(wrapperDispatcher()).collect { in <lambda>()
DFlowContextOptimizationsTest.kt15 val flowDispatcher = wrapperDispatcher(currentContext) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-debug/test/
DToStringTest.kt128 withContext(wrapperDispatcher(coroutineContext)) { in CoroutineScope()
140 private fun wrapperDispatcher(context: CoroutineContext): CoroutineContext { in wrapperDispatcher() method in kotlinx.coroutines.debug.ToStringTest
DScopedBuildersTest.kt42 withContext(wrapperDispatcher(coroutineContext)) { in doWithContext()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/test/
DPublisherAsFlowTest.kt95 publisher.asFlow().flowOn(wrapperDispatcher()).buffer(1).collect { in <lambda>()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DPublisherAsFlowTest.kt96 publisher.asFlow().flowOn(wrapperDispatcher()).buffer(1).collect { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/channels/
DChannelBuildersFlowTest.kt272 val scope = CoroutineScope(wrapperDispatcher()) in testProduceInAtomicity()