Home
last modified time | relevance | path

Searched refs:activeJobs (Results 1 – 4 of 4) sorted by relevance

/external/lottie/snapshot-tests/src/androidTest/java/com/airbnb/lottie/snapshots/utils/
DHappoSnapshotter.kt94 fun Job.activeJobs() = children.filter { it.isActive }.count() in <lambda>() method
95 var activeJobs = recordJob.activeJobs() in <lambda>() variable
96 while (activeJobs > 0) { in <lambda>()
97 activeJobs = recordJob.activeJobs() in <lambda>()
98 Log.d(L.TAG, "Waiting for record $activeJobs jobs to finish.") in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/
DTestScope.kt267 …val activeJobs = children.filter { it.isActive }.toList() // only non-empty if used with `runBlock… in legacyLeave() constant
269 if (activeJobs.isNotEmpty()) in legacyLeave()
273 "The active jobs: $activeJobs" in legacyLeave()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/
DTestCoroutineScope.kt87 private val initialJobs = coroutineContext.activeJobs()
118 val jobs = coroutineContext.activeJobs() in cleanupTestCoroutines()
124 internal fun CoroutineContext.activeJobs(): Set<Job> { in activeJobs() method
DTestBuildersDeprecated.kt86 val startJobs = completeContext.activeJobs() in runBlockingTestOnTestScope()
110 val jobs = completeContext.activeJobs() - startJobs in runBlockingTestOnTestScope()