/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | CoroutineExceptionHandler.kt | 22 context[CoroutineExceptionHandler]?.let { in handleCoroutineException() 46 public inline fun CoroutineExceptionHandler(crossinline handler: (CoroutineContext, Throwable) -> U… in CoroutineExceptionHandler() method 47 object : AbstractCoroutineContextElement(CoroutineExceptionHandler), CoroutineExceptionHandler { in CoroutineExceptionHandler() 97 public interface CoroutineExceptionHandler : CoroutineContext.Element { interface 101 public companion object Key : CoroutineContext.Key<CoroutineExceptionHandler>
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/ |
D | CoroutineExceptionHandlerImpl.kt | 17 internal actual val platformExceptionHandlers: Collection<CoroutineExceptionHandler> = ServiceLoade… 18 CoroutineExceptionHandler::class.java, 19 CoroutineExceptionHandler::class.java.classLoader 22 internal actual fun ensurePlatformExceptionHandlerLoaded(callback: CoroutineExceptionHandler) { in ensurePlatformExceptionHandlerLoaded()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jsAndWasmShared/src/internal/ |
D | CoroutineExceptionHandlerImpl.kt | 6 private val platformExceptionHandlers_ = mutableSetOf<CoroutineExceptionHandler>() 8 internal actual val platformExceptionHandlers: Collection<CoroutineExceptionHandler> 11 internal actual fun ensurePlatformExceptionHandlerLoaded(callback: CoroutineExceptionHandler) { in ensurePlatformExceptionHandlerLoaded()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/src/internal/ |
D | CoroutineExceptionHandlerImpl.kt | 9 internal actual val platformExceptionHandlers: Collection<CoroutineExceptionHandler> 12 private val platformExceptionHandlers_ = mutableSetOf<CoroutineExceptionHandler>() 14 internal actual fun ensurePlatformExceptionHandlerLoaded(callback: CoroutineExceptionHandler) { in ensurePlatformExceptionHandlerLoaded()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/ |
D | TestCoroutineScope.kt | 82 …(coroutineContext[CoroutineExceptionHandler] as? TestCoroutineExceptionHandler)?.cleanupTestCorout… in cleanupTestCoroutines() 139 …object : AbstractCoroutineContextElement(CoroutineExceptionHandler), TestCoroutineScopeExceptionHa… in createTestCoroutineScope() 145 …val exceptionHandler = when (val exceptionHandler = ctxWithDispatcher[CoroutineExceptionHandler]) { in createTestCoroutineScope() 164 private interface TestCoroutineScopeExceptionHandler : CoroutineExceptionHandler
|
D | TestCoroutineExceptionHandler.kt | 8 AbstractCoroutineContextElement(CoroutineExceptionHandler), CoroutineExceptionHandler {
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/internal/ |
D | ExceptionCollector.kt | 19 …eptionCollector : AbstractCoroutineContextElement(CoroutineExceptionHandler), CoroutineExceptionHa… 93 internal class ExceptionCollectorAsService: CoroutineExceptionHandler by ExceptionCollector { in equals()
|
/external/kotlinx.coroutines/test-utils/jvm/src/ |
D | Exceptions.kt | 22 class CapturingHandler : AbstractCoroutineContextElement(CoroutineExceptionHandler), 23 CoroutineExceptionHandler 49 crossinline operation: suspend (CoroutineExceptionHandler) -> Unit): E { in assertCallsExceptionHandlerWith()
|
D | TestBase.kt | 140 runBlocking(block = block, context = CoroutineExceptionHandler { _, e -> in runTest() 141 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in runTest()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/migration/ |
D | TestRunBlockingTest.kt | 313 runBlockingTest(CoroutineExceptionHandler { _, _ -> }) { in <lambda>() 369 assertNotNull(coroutineContext[CoroutineExceptionHandler]) in <lambda>() 370 assertNotSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>() 384 assertSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>() 390 runBlockingTest(CoroutineExceptionHandler { _, _ -> }) { in <lambda>()
|
D | TestCoroutineScopeTest.kt | 193 scope1.coroutineContext.minusKey(CoroutineExceptionHandler), in <lambda>() 194 scope2.coroutineContext.minusKey(CoroutineExceptionHandler)) in <lambda>() 212 CoroutineExceptionHandler { _, _ -> }, // not an [UncaughtExceptionCaptor] in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/ |
D | module-info.java | 1 import kotlinx.coroutines.CoroutineExceptionHandler; 14 provides CoroutineExceptionHandler with ExceptionCollectorAsService;
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/ |
D | CoroutineExceptionHandlerImpl.common.kt | 10 internal expect val platformExceptionHandlers: Collection<CoroutineExceptionHandler> 15 internal expect fun ensurePlatformExceptionHandlerLoaded(callback: CoroutineExceptionHandler) in ensurePlatformExceptionHandlerLoaded()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/src/ |
D | AndroidExceptionPreHandler.kt | 9 AbstractCoroutineContextElement(CoroutineExceptionHandler), CoroutineExceptionHandler
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CoroutineExceptionHandlerTest.kt | 12 val handler = CoroutineExceptionHandler { _, ex -> in <lambda>() 31 val handler = CoroutineExceptionHandler { _, _ -> in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/flow/ |
D | CombineStressTest.kt | 11 withContext(Dispatchers.Default + CoroutineExceptionHandler { _, _ -> expectUnreached() }) { in <lambda>() 29 withContext(Dispatchers.Default + CoroutineExceptionHandler { _, _ -> expectUnreached() }) { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/ |
D | module-info.java | 1 import kotlinx.coroutines.CoroutineExceptionHandler; 26 uses CoroutineExceptionHandler;
|
/external/kotlinx.coroutines/test-utils/native/src/ |
D | TestBase.kt | 34 runBlocking(block = block, context = CoroutineExceptionHandler { _, e -> in <lambda>() 35 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in <lambda>()
|
/external/kotlinx.coroutines/test-utils/wasmWasi/src/ |
D | TestBase.kt | 39 runTestCoroutine(block = block, context = CoroutineExceptionHandler { _, e -> in runTest() 40 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in runTest()
|
/external/kotlinx.coroutines/test-utils/js/src/ |
D | TestBase.kt | 69 … val result = GlobalScope.promise(block = block, context = CoroutineExceptionHandler { _, e -> in runTest() 70 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in runTest()
|
/external/kotlinx.coroutines/test-utils/wasmJs/src/ |
D | TestBase.kt | 68 … val result = GlobalScope.promise(block = block, context = CoroutineExceptionHandler { _, e -> in runTest() 69 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in runTest()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/ |
D | TestScope.kt | 165 val exceptionHandler = when (ctxWithDispatcher[CoroutineExceptionHandler]) { in advanceUntilIdle() 166 null -> CoroutineExceptionHandler { _, exception -> in advanceUntilIdle()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-supervision-03.kt | 8 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
D | example-exceptions-02.kt | 8 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/ |
D | TestComponent.kt | 8 …CoroutineScope(SupervisorJob() + Dispatchers.Main + CoroutineExceptionHandler { _, e -> caughtExce… in <lambda>()
|