Home
last modified time | relevance | path

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

12345678910

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
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()
/packages/services/Telecomm/src/com/android/server/telecom/
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()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
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()
/packages/services/Car/car-test-lib/src/android/car/test/util/
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()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipSessionTracker.java136 .collect(Collectors.toList()); in cleanupSession()
269 .collect(Collectors.toList()); in getCreateDialogRunnable()
285 .collect(Collectors.toList()); in getCloseDialogRunnable()
300 .collect(Collectors.toList());
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/
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()));
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/
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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardLoaderTest.java76 .collect(Collectors.toList()); in getDisplayableCards_twoEligibleCards_shouldShowAll()
87 .collect(Collectors.toList()); in getDisplayableCards_fourEligibleCards_shouldShowDefaultCardCount()
98 .collect(Collectors.toList()); in getDisplayableCards_oneStickyCard_shouldShowOneStickyCardAtTheTail()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java128 Collectors.toList()); in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
133 .collect(Collectors.toList()); in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
155 Collectors.toList()); in loadAudioZones_associatesNonLegacyContextsWithMediaBus()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DPreferenceFragment.java380 ListPreference toList = (ListPreference) to; in copyPreference() local
381 toList.setEntries(fromList.getEntries()); in copyPreference()
382 toList.setEntryValues(fromList.getEntryValues()); in copyPreference()
383 toList.setValue(fromList.getValue()); in copyPreference()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DTypes.java19 import static java.util.stream.Collectors.toList;
360 List<Long> cellIds = s2CellIds.stream().map(S2CellId::id).collect(toList()); in store()
379 builder.getCellIdsList().stream().map(S2CellId::new).collect(toList()); in load()
472 .collect(toList()); in load()
485 .collect(toList()); in store()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageUtils.java60 .collect(Collectors.toList())); in getAllStorageEntries()
64 .collect(Collectors.toList())); in getAllStorageEntries()
68 .collect(Collectors.toList())); in getAllStorageEntries()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java97 .collect(Collectors.toList()) in setUp()
107 .collect(Collectors.toList()); in setUp()
111 .collect(Collectors.toList()) in setUp()
120 .collect(Collectors.toList()); in setUp()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/overlays/
DOverlayManagerImpl.java27 import static java.util.stream.Collectors.toList;
70 .collect(toList())));
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightPackageInfo.kt53 pI.requestedPermissions?.toList() ?: emptyList(), in <lambda>()
54 pI.requestedPermissionsFlags?.toList() ?: emptyList(), in <lambda>()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSparseArrayStreamTest.java21 import static java.util.stream.Collectors.toList;
96 assertThat(actual.collect(toList())).containsExactlyElementsIn(expected).inOrder(); in assertContainsExactlyInOrder()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DTlvBufferUtilsTest.java107 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, tlvData).toList(); in testTlvListOperations()
125 List<byte[]> parsedList = new TlvBufferUtils.TlvIterable(0, 1, validTlv01).toList(); in testTlvParseToList()
140 List<byte[]> data = new TlvBufferUtils.TlvIterable(0, 1, invalidTlv01).toList(); in testTlvParseToListError()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java229 .collect(Collectors.toList()); in getRecommendedWidgets()
238 .collect(Collectors.toList()); in getWidgetsForPackageUser()
259 }).collect(Collectors.toList()); in getNotificationsForItem()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaItemsRepository.java21 import static java.util.stream.Collectors.toList;
268 .collect(Collectors.toList()));
298 .collect(toList()));
DMediaBrowserViewModelImpl.java55 return items.stream().filter(predicate).collect(Collectors.toList()); in filterItems()
64 return items.stream().filter(predicate).collect(Collectors.toList()); in selectBrowseableItems()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesProviderTest.java111 .collect(Collectors.toList())) in testGetAppsOnActive()
134 .collect(Collectors.toList())) in testGetAppsOnPackageAdded()
157 .collect(Collectors.toList())) in testGetAppsOnPackageRemoved()
/packages/modules/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt123 val failMessage = failuresByTest.toList().fold("") { msg, (testDescription, failures) -> in <lambda>()
147 val frequencies = failures.groupingBy(TestFailure::stacktrace).eachCount().toList() in <lambda>()
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissionsPreferenceController.java85 .collect(Collectors.toList()); in queryPermissionSummary()
104 .collect(Collectors.toList()); in updateSummary()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPackageBroadcastReceiver.kt144 for (callback in allCallbacks.toList()) { in <lambda>()
149 changeCallbacks[packageName]?.toList()?.let { callbacks -> in <lambda>()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DPreferenceControllerFragment.java96 .filter(clazz::isInstance).collect(Collectors.toList()); in getOnePreferenceController()
108 .filter(clazz::isInstance).collect(Collectors.toList()); in getPreferenceControllers()

12345678910