Home
last modified time | relevance | path

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

/packages/modules/IntentResolver/java/src/com/android/intentresolver/util/
DParallelIteration.kt52 suspend fun <A, B> Iterable<A>.mapParallelIndexed( in mapParallelIndexed() method
58 mapParallelIndexed { idx, item -> withPermit { block(idx, item) } } in mapParallelIndexed()
60 } ?: mapParallelIndexed(block) in mapParallelIndexed()
62 private suspend fun <A, B> Iterable<A>.mapParallelIndexed(block: suspend (Int, A) -> B): List<B> = in mapParallelIndexed() method
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DFetchPreviewsInteractor.kt28 import com.android.intentresolver.util.mapParallelIndexed in <lambda>()
64 .mapParallelIndexed(parallelism = 4) { index, uri -> in <lambda>()