Home
last modified time | relevance | path

Searched refs:mapParallel (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/
DParallelIteration.kt26 suspend fun <A, B> Iterable<A>.mapParallel( in <lambda>() method
31 withSemaphore(permits = permits) { mapParallel { withPermit { block(it) } } } in <lambda>()
33 ?: mapParallel(block)
36 suspend fun <A, B> Sequence<A>.mapParallel( in mapParallel() method
39 ): List<B> = asIterable().mapParallel(parallelism, block) in mapParallel()
41 private suspend fun <A, B> Iterable<A>.mapParallel(block: suspend (A) -> B): List<B> = in mapParallel() method
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractor.kt38 import com.android.intentresolver.util.mapParallel in <lambda>()
285 mapParallel(parallelism = 4) { row -> createPreviewModel(row, unclaimedRecords) } in <lambda>()