Home
last modified time | relevance | path

Searched refs:flatMap (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/mappers/
DCredentialSelectorUiStateGetMapper.kt29 .flatMap { it.credentialEntryList } in <lambda>()
53 authenticationEntryList = providerInfos.flatMap { it.authenticationEntryList } in <lambda>()
63 actionEntryList = providerInfos.flatMap { it.actionEntryList }, in <lambda>()
64 authenticationEntryList = providerInfos.flatMap { it.authenticationEntryList } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt117 .flatMap { layout -> layout.allViews.asSequence() } in updateAnimatedImageDrawables()
118 .flatMap { view -> in view()
122 .flatMap { messagingGroup -> messagingGroup.messageContainer.children } in messagingGroup()
167 ?.flatMap(::getLayouts) in updateNotificationRanking()
274 .flatMap { layout -> layout.allViews.asSequence() } in resetBadgeUi()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DSystemPartitionParseTest.kt49 .flatMap { listOfNotNull(it.appFolder, it.privAppFolder, it.overlayFolder) } in <lambda>()
50 .flatMap { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/
DValueParser.kt112 inline fun <R, T> Result<T>.flatMap(transform: (value: T) -> Result<R>): Result<R> { in <lambda>() method
137 this.parseValue(value).flatMap { a -> in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ui/
DAnimatedValue.kt133 inline fun <T> AnimatedValue<AnimatedValue<T>>.flatten(): AnimatedValue<T> = flatMap { it } in flatten()
153 inline fun <A, B> AnimatedValue<A>.flatMap(block: (A) -> AnimatedValue<B>): AnimatedValue<B> = in flatMap() method
/frameworks/base/tools/codegen/src/com/android/codegen/
DConstDef.kt16 val CONST_NAMES get() = values.flatMap { it.variables }.map { it.nameAsString } in <lambda>()
DFileInfo.kt70 .flatMap { it.plusNested() } in <lambda>()
112 .flatMap { (it as CodeChunk.Code).lines } in <lambda>()
285 .flatMap { it.plusNested() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/truth/
DTruthUtils.kt28 .flatMap { (key, value) -> sequenceOf(key, value) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DEllipseOverlapDetectorTest.kt121 return (innerXs + outerXs).flatMap { x -> in genPositiveTestCases()
135 return outerXs.flatMap { x -> in genNegativeTestCase()
DNormalizedTouchDataTest.kt75 return xs.flatMap { x -> ys.map { y -> NormalizedTouchDataTest.TestCase(x, y, expected) } } in genTestCases()
DBoundingBoxOverlapDetectorTest.kt95 return xs.flatMap { x -> in genTestCases()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DSceneContainerFlagParameterization.kt60 flatMap { it.andSceneContainer() }.toList() in andSceneContainer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsControllerImplTest.kt499 val favorites = controller.getFavorites().flatMap { it.controls } in <lambda>()
515 val favorites = controller.getFavorites().flatMap { it.controls } in <lambda>()
532 val favorites = controller.getFavorites().flatMap { it.controls } in <lambda>()
604 controller.getFavoritesForComponent(TEST_COMPONENT).flatMap { it.controls }) in <lambda>()
615 controller.getFavoritesForComponent(TEST_COMPONENT).flatMap { it.controls }) in <lambda>()
646 controller.getFavoritesForComponent(TEST_COMPONENT).flatMap { it.controls }) in <lambda>()
672 .getFavoritesForComponent(newComponent).flatMap { it.controls }) in <lambda>()
686 .flatMap { it.controls }) in <lambda>()
696 .flatMap { it.controls }) in <lambda>()
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DMultiUserRollbackTest.java60 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
62 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
DNetworkStagedRollbackTest.java99 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
101 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in cleanUp()
DStagedRollbackTest.java151 rm.getAvailableRollbacks().stream().flatMap(info -> info.getPackages().stream()) in expireRollbacks()
153 rm.getRecentlyCommittedRollbacks().stream().flatMap(info -> info.getPackages().stream()) in expireRollbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAnnotationLinkSpan.java66 linkInfo.flatMap(info -> info.mListener).ifPresent(listener -> { in linkify()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DProviderRegistryGetSession.java191 mProviderResponse.stream().flatMap((Function<CredentialDescriptionRegistry in prepareUiData()
270 mCredentialEntries = mProviderResponse.stream().flatMap( in invokeSession()
/frameworks/base/tests/TaskOrganizerTest/src/com/android/test/taskembed/
DResizeTasksSyncTest.kt78 val frame = trace.entries.flatMap { it.flattenedLayers.toList() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt66 groupedTasks.flatMap { in loadRecentTasks()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetCredentialComponents.kt433 .flatMap { it.sortedCredentialEntryList }.size + authenticationEntryList in PrimarySelectionCard()
434 .size + providerInfoList.flatMap { it.actionEntryList }.size in PrimarySelectionCard()
603 .flatMap { it.sortedCredentialEntryList }.size + authenticationEntryList in PrimarySelectionCardVImpl()
604 .size + providerInfoList.flatMap { it.actionEntryList }.size in PrimarySelectionCardVImpl()
768 val actionChips = providerInfoList.flatMap { it.actionEntryList } in ActionChips()
/frameworks/base/core/tests/coretests/src/android/content/res/
DFontScaleConverterFactoryTest.kt195 .flatMap{ table -> in <lambda>()
284 return flatMap { i -> in Sequence()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderDiffTest.java303 .flatMap(p -> p.threadCpuUsages.stream()) in cpuUsages()
311 .flatMap(p -> p.threadCpuUsages.stream()) in threadNames()
/frameworks/base/tests/Input/src/android/hardware/input/
DInputManagerTest.kt97 val list = deviceGenerationMap.flatMap { listOf(it.key, it.value) } in notifyDeviceChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintInternalEnumerateClientTest.java115 .flatMap(x -> Stream.of(x.getBiometricId())) in internalEnumerate_unknownTemplates()

123