Home
last modified time | relevance | path

Searched refs:toList (Results 1 – 25 of 421) sorted by relevance

12345678910>>...17

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
H A DListenerSetTest.kt43 assertThat(runnableSet.toList()).isEmpty()
47 assertThat(runnableSet.toList()).containsExactly(runnable1)
51 assertThat(runnableSet.toList()).containsExactly(runnable1, runnable2)
55 assertThat(runnableSet.toList()).containsExactly(runnable1, runnable2)
63 assertThat(runnableSet.toList()).isEmpty()
70 assertThat(runnableSet.toList()).containsExactly(runnable2)
74 assertThat(runnableSet.toList()).containsExactly(runnable2)
78 assertThat(runnableSet.toList()).isEmpty()
95 assertThat(runnableSet.toList()).isEmpty()
105 assertThat(runnableSet.toList()).containsExactly(runnable2)
[all …]
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
H A DBubbleVolatileRepositoryTest.kt73 assertEquals(user0bubbles, repository.getEntities(user0.identifier).toList())
74 assertEquals(user11bubbles, repository.getEntities(user11.identifier).toList())
105 assertEquals(listOf(bubble1, bubble2), repository.getEntities(user0.identifier).toList())
113 assertEquals(listOf(bubble11), repository.getEntities(user11.identifier).toList())
125 assertEquals(listOf(bubble2, bubble3), repository.getEntities(user0.identifier).toList())
135 assertEquals(listOf(bubble3, bubble1), repository.getEntities(user0.identifier).toList())
/aosp12/frameworks/base/packages/SystemUI/monet/src/com/android/systemui/monet/
H A DColorScheme.kt89 accent1 = Shades.of(hue, chroma).toList()
90 accent2 = Shades.of(hue, ACCENT2_CHROMA).toList()
91 accent3 = Shades.of(tertiaryHue.toFloat(), ACCENT3_CHROMA).toList()
92 neutral1 = Shades.of(hue, NEUTRAL1_CHROMA).toList()
93 neutral2 = Shades.of(hue, NEUTRAL2_CHROMA).toList()
140 }.toList()
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
H A DContactThrottlingList.java67 new ContactInfo(uri, sipCode, timestamp)).collect(Collectors.toList()); in addToThrottlingList()
78 contactInfo.mContactUri).collect(Collectors.toList()); in getNotInThrottlingListUris()
91 .collect(Collectors.toList()); in getInThrottlingListUris()
102 .collect(Collectors.toList()); in cleanUpExpiredContacts()
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/engine/
H A DRuleEvaluator.java56 .collect(Collectors.toList()); in evaluateRules()
62 .collect(Collectors.toList()); in evaluateRules()
72 .collect(Collectors.toList()); in evaluateRules()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
H A DContextualCardManager.java177 .collect(Collectors.toList()); in sortCards()
180 .collect(Collectors.toList()); in sortCards()
206 .collect(Collectors.toList()); in onContextualCardUpdated()
210 .collect(Collectors.toList()); in onContextualCardUpdated()
216 updateList.values().stream().flatMap(List::stream).collect(Collectors.toList())); in onContextualCardUpdated()
377 .collect(Collectors.toList()); in getCardsToKeep()
384 .collect(Collectors.toList()); in getCardsToKeep()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DPhoneAccountSuggestionHelper.java155 .collect(Collectors.toList()); in addDefaultsToProvidedSuggestions()
158 .collect(Collectors.toList()); in addDefaultsToProvidedSuggestions()
161 .collect( Collectors.toList()); in addDefaultsToProvidedSuggestions()
207 ).collect(Collectors.toList()); in getDefaultSuggestions()
/aosp12/packages/services/Car/car-test-lib/src/android/car/test/util/
H A DUserTestingHelper.java53 .collect(Collectors.toList()); in newUsers()
60 public static List<UserInfo> toList(@NonNull UserInfo... users) { in toList() method in UserTestingHelper
61 return Arrays.stream(users).collect(Collectors.toList()); in toList()
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
H A DCountryZonesFileSupport.java52 .collect(Collectors.toList()); in extractIsoCodes()
58 .collect(Collectors.toList()); in extractIds()
/aosp12/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
H A DEpgFetcherImplTest.java195 DbTestingUtils.toList( in fetchImmediately_nochannels()
216 DbTestingUtils.toList( in fetchImmediately_testChannel()
239 DbTestingUtils.toList( in fetchImmediately_epgChannel()
265 DbTestingUtils.toList( in testUpdateNetworkAffiliation()
278 DbTestingUtils.toList( in testUpdateNetworkAffiliation()
/aosp12/frameworks/base/media/java/android/media/
H A DAudioPort.java134 .collect(Collectors.toList())); in AudioPort()
136 .collect(Collectors.toList())); in AudioPort()
138 .collect(Collectors.toList())); in AudioPort()
/aosp12/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
H A DStandardNetworkDetailsTracker.java24 import static java.util.stream.Collectors.toList;
189 .collect(toList())); in conditionallyUpdateConfig()
198 .collect(toList())); in cacheNewScanResults()
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/overlays/
H A DOverlayManagerImpl.java27 import static java.util.stream.Collectors.toList;
70 .collect(toList())));
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
H A DSystemPartitionParseTest.kt51 ?.toList()
60 it.listFiles()?.toList().orEmpty()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/
H A DDemoModeController.kt132 copy = receivers.toList()
146 copy = receivers.toList()
186 copy = receivers.toList()
/aosp12/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
H A DDialogsActivity.java55 uris.addAll(mAudio.stream().limit(mAudioCount.getValue()).collect(Collectors.toList()));
56 uris.addAll(mVideo.stream().limit(mVideoCount.getValue()).collect(Collectors.toList()));
57 uris.addAll(mImage.stream().limit(mImageCount.getValue()).collect(Collectors.toList()));
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
H A DLightPackageInfo.kt53 pI.requestedPermissions?.toList() ?: emptyList(),
54 pI.requestedPermissionsFlags?.toList() ?: emptyList(),
/aosp12/art/test/odsign/src/com/android/tests/odsign/
H A DArtifactsSignedTest.java71 .collect(Collectors.toList()); in testArtArtifactsHaveFsverity()
90 .collect(Collectors.toList()); in testGeneratesRequiredArtArtifacts()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DSparseArrayStreamTest.java21 import static java.util.stream.Collectors.toList;
96 assertThat(actual.collect(toList())).containsExactlyElementsIn(expected).inOrder(); in assertContainsExactlyInOrder()
/aosp12/frameworks/base/services/java/com/android/server/
H A DSystemConfigService.java18 import static java.util.stream.Collectors.toList;
60 .collect(toList())));
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
H A DParentalConsentHelperTest.java190 .stream().map(i -> i.getComponent().getClassName()).collect(Collectors.toList())) in testLaunchNext()
192 expectedLaunches.stream().map(i -> i.first).collect(Collectors.toList())) in testLaunchNext()
197 .collect(Collectors.toList())) in testLaunchNext()
/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/
H A DSipSessionTracker.java145 .collect(Collectors.toList()); in cleanupSession()
283 .collect(Collectors.toList()); in getCreateDialogRunnable()
303 .collect(Collectors.toList()); in getCloseDialogRunnable()
319 .collect(Collectors.toList());
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuThreadReaderDiffTest.java25 import static java.util.stream.Collectors.toList;
298 .map(t -> Arrays.stream(t.usageTimesMillis).boxed().collect(toList())) in cpuUsages()
299 .collect(toList()); in cpuUsages()
307 .collect(toList()); in threadNames()
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/
H A DAppEnumerationInternalTests.java69 assertThat(infos.stream().map(info -> info.packageName).collect(Collectors.toList())) in querySyncProviders_canSeeForceQueryable()
81 assertThat(infos.stream().map(info -> info.packageName).collect(Collectors.toList())) in querySyncProviders_cannotSeeSyncProvider()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DAppsFilterTest.java1051 assertThat(toList(systemFilter.get(SYSTEM_USER)), in testWhoCanSee()
1058 assertThat(toList(seesNothingFilter.get(SYSTEM_USER)), in testWhoCanSee()
1061 assertThat(toList(seesNothingFilter.get(SECONDARY_USER)), in testWhoCanSee()
1067 assertThat(toList(hasProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
1073 assertThat(toList(queriesProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
1085 assertThat(toList(queriesProviderFilter.get(SYSTEM_USER)), in testWhoCanSee()
1122 assertThat(toList(systemFilter.get(SYSTEM_USER)), in testOnChangeReport()
1128 assertThat(toList(seesNothingFilter.get(SYSTEM_USER)), in testOnChangeReport()
1130 assertThat(toList(seesNothingFilter.get(SECONDARY_USER)), in testOnChangeReport()
1136 assertThat(toList(hasProviderFilter.get(SYSTEM_USER)), in testOnChangeReport()
[all …]

12345678910>>...17