/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/echo/ |
D | LogcatEchoSettingsFormatTest.kt | 45 assertEquals(expectedOverrides.toSet(), storedAndLoadedOverrides.toSet()) in testReversibility() 58 assertEquals(expectedOverrides.toSet(), storedAndLoadedOverrides.toSet()) in testSemicolonEscaping()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentCaptureOptionsTest.java | 67 /* whitelistedComponents= */ toSet(COMPONENT1, COMPONENT2)); 86 ContentCaptureOptions options = new ContentCaptureOptions(toSet((ComponentName) null)); in testIsWhitelisted_emptyWhitelistedComponents() 92 ContentCaptureOptions options = new ContentCaptureOptions(toSet(COMPONENT1, COMPONENT2)); in testIsWhitelisted_notWhitelisted() 99 new ContentCaptureOptions(toSet(COMPONENT1, CONTEXT_COMPONENT)); in testIsWhitelisted_whitelisted() 105 ContentCaptureOptions options = new ContentCaptureOptions(toSet(CONTEXT_COMPONENT)); in testIsWhitelisted_invalidContext() 112 ContentCaptureOptions options = new ContentCaptureOptions(toSet(CONTEXT_COMPONENT)); in testIsWhitelisted_clientWithNullComponentName() 204 private static ArraySet<ComponentName> toSet(@Nullable ComponentName... comps) { in toSet() method in ContentCaptureOptionsTest
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataCombineLatest.kt | 53 listeners.toSet().forEach { it.onSmartspaceMediaDataLoaded(key, data) } in onSmartspaceMediaDataLoaded() 61 listeners.toSet().forEach { it.onSmartspaceMediaDataRemoved(key, immediately) } in onSmartspaceMediaDataRemoved() 90 val listenersCopy = listeners.toSet() in addListener() 97 val listenersCopy = listeners.toSet() in remove()
|
D | MediaSessionBasedFilter.kt | 173 listeners.toSet().forEach { it.onMediaDataLoaded(key, oldKey, info, immediately) } in <lambda>() 179 listeners.toSet().forEach { it.onMediaDataRemoved(key, userInitiated) } in <lambda>() 185 listeners.toSet().forEach { it.onSmartspaceMediaDataLoaded(key, info) } in <lambda>() 191 listeners.toSet().forEach { it.onSmartspaceMediaDataRemoved(key, immediately) } in <lambda>()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest12.java | 89 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testSetDynamicShortcuts_PersistsShortcutsToDisk() 117 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testAddDynamicShortcuts_PersistsShortcutsToDisk() 141 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testPushDynamicShortcuts_PersistsShortcutsToDisk() 158 shortcutIds = shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testPushDynamicShortcuts_PersistsShortcutsToDisk() 186 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testRemoveDynamicShortcuts_RemovesShortcutsFromDisk() 210 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testRemoveLongLivedShortcuts_RemovesShortcutsFromDisk() 235 shortcuts.stream().map(ShortcutInfo::getId).collect(Collectors.toSet()); in testDisableShortcuts_RemovesShortcutsFromDisk()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/ |
D | DisplayRepository.kt | 165 enabledDisplaysSet.map { it.displayId }.toSet() in enabledDisplaysSet() 193 traceSection("$TAG#getDisplays()") { displayManager.displays?.toSet() ?: emptySet() } in getDisplays() 203 .toSet() in getInitialConnectedDisplays() 223 trySend(connectedIds.toSet()) in <lambda>() 232 trySend(connectedIds.toSet()) in <lambda>() 235 trySend(connectedIds.toSet()) in <lambda>() 261 .toSet() in connectedDisplayIds() 367 resultSet = currentMap.values.toSet() // Creates a **copy** of values in mapElementsLazily()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/ |
D | FaceWakeUpTriggersConfig.kt | 47 resources.getIntArray(R.array.config_face_auth_wake_up_triggers).toSet() in shouldTriggerFaceAuthOnWakeUpFrom() 71 .toSet() in shouldTriggerFaceAuthOnWakeUpFrom() 94 stringSetting.split("|").stream().map(Integer::parseInt).collect(Collectors.toSet()) in shouldTriggerFaceAuthOnWakeUpFrom()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
D | FakeDeviceProvisionedController.kt | 35 callbacks.toSet().forEach { it.onUserSwitched() } in setCurrentUser() 44 callbacks.toSet().forEach { it.onUserSetupChanged() } in setUserSetup()
|
/frameworks/libs/systemui/animationlib/tests/src/com/android/app/animation/ |
D | InterpolatorsAndroidXTest.kt | 55 .toSet() 58 fields.filter { Modifier.isPublic(it.modifiers) }.map { it.name }.toSet() in getPublicFields()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/ |
D | NotificationIconsViewData.kt | 76 val prevKeys = prev.visibleIcons.asSequence().map { it.notifKey }.toSet() in <lambda>() 77 val newKeys = new.visibleIcons.asSequence().map { it.notifKey }.toSet() in <lambda>() 82 new.visibleIcons.asSequence().map { it.groupInfo }.toSet() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/provider/ |
D | SectionStyleProvider.kt | 42 lowPrioritySections = sections.toSet() in setMinimizedSections() 66 silentSections = sections.toSet() in setSilentSections()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationHostViewController.java | 117 .collect(Collectors.toSet()); in updateComplications() 122 .collect(Collectors.toSet()); in updateComplications() 134 .collect(Collectors.toSet()); in updateComplications()
|
D | ComplicationCollectionViewModel.java | 53 .collect(Collectors.toSet()); in convert()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataUtils.java | 118 .collect(Collectors.toSet()); in getNetworkCapabilitiesFromString() 412 .boxed().collect(Collectors.toSet()), 415 .boxed().collect(Collectors.toSet()), 417 .boxed().collect(Collectors.toSet()) 427 .boxed().collect(Collectors.toSet()),
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/ |
D | ActionReceiverTest.kt | 67 val actions = actionsIterator()?.asSequence()?.toSet() ?: emptySet() in sameNotNull() 68 val categories = categoriesIterator()?.asSequence()?.toSet() ?: emptySet() in sameNotNull() 69 return (it.actionsIterator()?.asSequence()?.toSet() ?: emptySet()) == actions && in sameNotNull() 70 (it.categoriesIterator()?.asSequence()?.toSet() ?: emptySet()) == categories && in sameNotNull()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppListRepository.kt | 142 .toSet() in getSystemPackageNames() 163 loadAndFilterApps(userId = userId, isSystemApp = true).map { it.packageName }.toSet() in getSystemPackageNames() 202 .toSet() in getSystemPackageNames()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/data/repository/ |
D | HeadsUpNotificationsRepositoryExt.kt | 26 this.activeHeadsUpRows.value = notifications.toSet() in FakeHeadsUpNotificationRepository()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmGenerator.java | 209 Arrays.stream(createInfo.getPromotedClasses()).collect(Collectors.toSet()); in AsmGenerator() 214 Arrays.stream(createInfo.getKeepClassNatives()).collect(Collectors.toSet()); in AsmGenerator() 217 … Arrays.stream(createInfo.getDelegateClassNativesToNatives()).collect(Collectors.toSet()); in AsmGenerator() 219 … mMethodReplacers = Arrays.stream(createInfo.getMethodReplacers()).collect(Collectors.toSet()); in AsmGenerator() 222 … Arrays.stream(createInfo.getDeferredStaticInitializerClasses()).collect(Collectors.toSet()); in AsmGenerator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/shared/model/ |
D | SceneContainerConfig.kt | 65 check(navigationDistances.keys == sceneKeys.toSet()) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | TilesSettingConverter.kt | 17 .toSet()
|
/frameworks/base/core/java/android/os/ |
D | SystemConfigManager.java | 209 return parcels.stream().map(SignedPackage::new).collect(Collectors.toSet()); in getEnhancedConfirmationTrustedPackages() 242 return parcels.stream().map(SignedPackage::new).collect(Collectors.toSet()); in getEnhancedConfirmationTrustedInstallers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/ |
D | AccessibilityQsShortcutsRepository.kt | 142 .toSet() in getAccessibilityTileServices() 159 .toSet() in getAccessibilityTileServices()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | TestUtils.java | 24 import static java.util.stream.Collectors.toSet; 128 .collect(toSet())) in assertLogcat()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/clocks/ |
D | ClockRegistryTest.kt | 198 list.toSet(), in pluginRegistration_CorrectState() 231 list.toSet(), in clockIdConflict_ErrorWithoutCrash_unloadDuplicate() 460 assertEquals(registry.getClocks().toSet(), setOf( in pluginAddRemove_concurrentModification() 551 list.toSet() in testTransitClockFlag() 559 list.toSet() in testTransitClockFlag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventCoordinator.kt | 158 return one.map { it.application.uid to it.privacyType.permGroupName }.toSet() == in uniqueItemsMatch() 159 two.map { it.application.uid to it.privacyType.permGroupName }.toSet() in uniqueItemsMatch()
|