/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/ |
D | CoroutineExceptionHandler.kt | 24 context[CoroutineExceptionHandler]?.let { in handleCoroutineExceptionImpl() 48 public inline fun CoroutineExceptionHandler(crossinline handler: (CoroutineContext, Throwable) -> U… in CoroutineExceptionHandler() method 49 object : AbstractCoroutineContextElement(CoroutineExceptionHandler), CoroutineExceptionHandler { in CoroutineExceptionHandler() 98 public interface CoroutineExceptionHandler : CoroutineContext.Element { interface 102 public companion object Key : CoroutineContext.Key<CoroutineExceptionHandler>
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/ |
D | CoroutineExceptionHandlerImpl.kt | 20 private val handlers: List<CoroutineExceptionHandler> = ServiceLoader.load( 21 CoroutineExceptionHandler::class.java, 22 CoroutineExceptionHandler::class.java.classLoader
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/ |
D | TestRunBlockingTest.kt | 293 runBlockingTest(CoroutineExceptionHandler { _, _ -> Unit} ) { in <lambda>() 379 assertNotNull(coroutineContext[CoroutineExceptionHandler]) in <lambda>() 380 assertNotSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>() 390 assertSame(coroutineContext[CoroutineExceptionHandler], exceptionHandler) in <lambda>() 394 … fun testOverrideExceptionHandlerError() = runBlockingTest(CoroutineExceptionHandler { _, _ -> }) { in <lambda>()
|
D | TestCoroutineScopeTest.kt | 14 val handler = CoroutineExceptionHandler { _, _ -> Unit } in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/ |
D | TestCoroutineExceptionHandler.kt | 39 …AbstractCoroutineContextElement(CoroutineExceptionHandler), UncaughtExceptionCaptor, CoroutineExce… in cleanupTestCoroutines()
|
D | TestCoroutineScope.kt | 52 if (context[CoroutineExceptionHandler] == null) safeContext += TestCoroutineExceptionHandler() in TestCoroutineScope() 58 val handler = this[CoroutineExceptionHandler]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CoroutineExceptionHandlerTest.kt | 15 val handler = CoroutineExceptionHandler { _, ex -> in <lambda>() 34 val handler = CoroutineExceptionHandler { _, _ -> in <lambda>()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/src/ |
D | AndroidExceptionPreHandler.kt | 15 AbstractCoroutineContextElement(CoroutineExceptionHandler), CoroutineExceptionHandler
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/ |
D | CombineStressTest.kt | 14 withContext(Dispatchers.Default + CoroutineExceptionHandler { _, _ -> expectUnreached() }) { in <lambda>() 32 withContext(Dispatchers.Default + CoroutineExceptionHandler { _, _ -> expectUnreached() }) { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/ |
D | Exceptions.kt | 37 class CapturingHandler : AbstractCoroutineContextElement(CoroutineExceptionHandler), 38 CoroutineExceptionHandler
|
D | CoroutineExceptionHandlerJvmTest.kt | 30 val job = GlobalScope.launch(CoroutineExceptionHandler { _, _ -> throw AssertionError() }) { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/native/test/ |
D | TestBase.kt | 77 runBlocking(block = block, context = CoroutineExceptionHandler { context, e -> in <lambda>() 78 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in <lambda>()
|
D | DelayExceptionTest.kt | 21 CoroutineScope(Dispatcher + CoroutineExceptionHandler { _, e -> exception = e }).launch { in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/test_/ |
D | TestCoroutineContext.kt | 41 private val ctxHandler = CoroutineExceptionHandler { _, exception -> in <lambda>() 67 key === CoroutineExceptionHandler -> ctxHandler as E in <lambda>() 73 key === CoroutineExceptionHandler -> ctxDispatcher in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | ThreadContextElementTest.kt | 15 val exceptionHandler = coroutineContext[CoroutineExceptionHandler]!! in <lambda>() 41 val exceptionHandler = coroutineContext[CoroutineExceptionHandler]!! in testUndispatched()
|
D | TestBase.kt | 194 runBlocking(block = block, context = CoroutineExceptionHandler { _, e -> in <lambda>() 195 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in <lambda>()
|
D | JobChildStressTest.kt | 31 val handler = CoroutineExceptionHandler { _, ex -> in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/test/ |
D | TestBase.kt | 82 … return GlobalScope.promise(block = block, context = CoroutineExceptionHandler { context, e -> in <lambda>() 83 if (e is CancellationException) return@CoroutineExceptionHandler // are ignored in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/ |
D | example-supervision-03.kt | 12 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
D | example-exceptions-02.kt | 11 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
D | example-exceptions-06.kt | 12 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
D | example-exceptions-04.kt | 11 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
D | example-exceptions-05.kt | 14 val handler = CoroutineExceptionHandler { _, exception -> in <lambda>()
|
D | example-supervision-01.kt | 14 val firstChild = launch(CoroutineExceptionHandler { _, _ -> }) { in <lambda>()
|
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/ |
D | TestComponent.kt | 12 …CoroutineScope(SupervisorJob() + Dispatchers.Main + CoroutineExceptionHandler { _, e -> caughtExce… in <lambda>()
|