Home
last modified time | relevance | path

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

1234

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java154 .collect(Collectors.toList()); in sortCards()
176 .collect(Collectors.toList()); in onContextualCardUpdated()
180 .collect(Collectors.toList()); in onContextualCardUpdated()
186 updateList.values().stream().flatMap(List::stream).collect(Collectors.toList())); in onContextualCardUpdated()
330 .collect(Collectors.toList()); in getCardsToKeep()
337 .collect(Collectors.toList()); in getCardsToKeep()
/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTest.java81 final String toList = "ToA <toA@droid.com>,ToB <toB@droid.com>"; in testUpdateMessageFields_PlainAddresses() local
88 final Address[] tos = Address.fromHeader(toList); in testUpdateMessageFields_PlainAddresses()
108 assertEquals(toList, localMessage.mTo); in testUpdateMessageFields_PlainAddresses()
123 String toList = String.format("%s <toA@droid.com>,%s <toB@droid.com>", e, e); in testUpdateMessageFields_EncodedAddresses() local
130 final Address[] tos = Address.fromHeader(toList); in testUpdateMessageFields_EncodedAddresses()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java157 .collect(Collectors.toList()); in sortCards()
179 .collect(Collectors.toList()); in onContextualCardUpdated()
183 .collect(Collectors.toList()); in onContextualCardUpdated()
189 updateList.values().stream().flatMap(List::stream).collect(Collectors.toList())); in onContextualCardUpdated()
354 .collect(Collectors.toList()); in getCardsToKeep()
361 .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()
DAnalytics.java411 ).collect(Collectors.toList()); in toParcelableAnalytics()
418 ).collect(Collectors.toList()); in toParcelableAnalytics()
441 ).collect(Collectors.toList())); in toParcelableAnalytics()
623 .collect(Collectors.toList())); in dumpToParcelableAnalytics()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java94 .INPUT_METHOD_DELIMITER))).collect(Collectors.toList()).stream().map( in setUp()
102 }).collect(Collectors.toList()); in setUp()
105 .INPUT_METHOD_DELIMITER))).collect(Collectors.toList()).stream().map( in setUp()
112 }).collect(Collectors.toList()); in setUp()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DSearchedMediaItems.java19 import static java.util.stream.Collectors.toList;
46 setValue(items.stream().map(MediaItemMetadata::new).collect(toList()));
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourcesLiveDataTest.java113 .collect(Collectors.toList())) in testGetAppsOnActive()
137 .collect(Collectors.toList())) in testGetAppsOnPackageAdded()
161 .collect(Collectors.toList())) in testGetAppsOnPackageRemoved()
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissionsPreferenceController.java85 .collect(Collectors.toList()); in queryPermissionSummary()
104 .collect(Collectors.toList()); in updateSummary()
/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()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DFileServiceRepository.java66 .collect(Collectors.toList()); in getFileServicesForClasses()
94 .collect(Collectors.toList()); in createFileService()
DStreamingServiceRepository.java47 .collect(Collectors.toList()); in getStreamingServicesForClasses()
/packages/services/Car/service/src/com/android/car/
DCarStorageMonitoringService.java246 .collect(Collectors.toList()), in collectNewIoMetrics()
352 }).collect(Collectors.toList()); in doInitServiceIfNeeded()
556 .collect(Collectors.toList()); in getAggregateIoStats()
573 return mIoStatsSamples.stream().collect(Collectors.toList()); in getIoStatsDeltas()
/packages/modules/ExtServices/src/android/ext/services/storage/
DCacheQuotaServiceImpl.java84 .collect(Collectors.toList()); in onComputeCacheQuotaHints()
102 .filter(request -> request.getQuota() > 0).collect(Collectors.toList()); in onComputeCacheQuotaHints()
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConferenceController.java154 .collect(Collectors.toList()); in recalculateConferenceable()
167 .collect(Collectors.toList()); in recalculateConferenceable()
DImsConferenceController.java271 .collect(Collectors.toList()); in recalculateConferenceable()
297 .collect(Collectors.toList()); in recalculateConferenceable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java109 final List<String> actualCards = mManager.mSavedCards.stream().collect(Collectors.toList()); in constructor_hasSavedInstanceState_shouldContainExpectedSavedCards()
121 .collect(Collectors.toList()); in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
288 .collect(Collectors.toList()); in onFinishCardLoading_hasSavedCard_shouldOnlyShowSavedCard()
314 .collect(Collectors.toList()); in onFinishCardLoading_reloadData_hasNewCard_shouldOnlyShowOldCard()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DJobSchedulerWrapper.java271 List<JobInfo> fromList, List<JobInfo> toList) { in findDiffBetween() argument
274 if (!toList.contains(fromJob)) { in findDiffBetween()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppService.java197 List<ProgramInfo> plist = mProgramList.toList(); in pushProgramListUpdate()
273 if (mProgramList != null) callback.onProgramListChanged(mProgramList.toList());
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DDbTestingUtils.java26 public static List<List<String>> toList(Cursor cursor) { in toList() method in DbTestingUtils
/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/
DFilteredCountryTimeZones.java54 .collect(Collectors.toList()); in FilteredCountryTimeZones()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/model/
DFilteredCountryTimeZones.java54 .collect(Collectors.toList()); in FilteredCountryTimeZones()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java756 final List<WordListMetadata> toList = (to == null) ? new ArrayList<WordListMetadata>() in compareMetadataForUpgrade() local
759 for (WordListMetadata wlData : toList) wordListIds.add(wlData.mId); in compareMetadataForUpgrade()
762 final WordListMetadata metadataInfo = MetadataHandler.findWordListById(toList, id); in compareMetadataForUpgrade()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelWorker.java68 .collect(Collectors.toList()); in removeUninstalledPackages()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DRadioDatabase.java80 favorites.stream().map(Favorite::toProgram).collect(Collectors.toList())); in getAllFavorites()

1234