Home
last modified time | relevance | path

Searched refs:resolveInfos (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java103 List<ResolveInfo> resolveInfos = getAllOnDevice(context); in getAll() local
107 for (int i = 0; i < resolveInfos.size(); i++) { in getAll()
108 ResolveInfo resolveInfo = resolveInfos.get(i); in getAll()
138 List<ResolveInfo> resolveInfos; in getFromSpecifiedPackage() local
140 resolveInfos = getAllContainingServiceNames(context, serviceNames); in getFromSpecifiedPackage()
142 resolveInfos = getAllOnDevice(context); in getFromSpecifiedPackage()
148 for (int i = 0; i < resolveInfos.size(); i++) { in getFromSpecifiedPackage()
149 ResolveInfo resolveInfo = resolveInfos.get(i); in getFromSpecifiedPackage()
211 List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAllOnDevice() local
219 Iterator<ResolveInfo> iter = resolveInfos.iterator(); in getAllOnDevice()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DTopLevelDisplayPreferenceControllerTest.java81 final List<ResolveInfo> resolveInfos = new ArrayList<>(); in getSummary_hasWallpaper_shouldReturnWallpaperSummary() local
82 resolveInfos.add(mock(ResolveInfo.class)); in getSummary_hasWallpaper_shouldReturnWallpaperSummary()
84 .thenReturn(resolveInfos); in getSummary_hasWallpaper_shouldReturnWallpaperSummary()
94 final List<ResolveInfo> resolveInfos = new ArrayList<>(); in getSummary_hasWallpaperWithStyles_shouldReturnWallpaperSummary() local
95 resolveInfos.add(mock(ResolveInfo.class)); in getSummary_hasWallpaperWithStyles_shouldReturnWallpaperSummary()
97 .thenReturn(resolveInfos); in getSummary_hasWallpaperWithStyles_shouldReturnWallpaperSummary()
105 final List<ResolveInfo> resolveInfos = new ArrayList<>(); in getSummary_hasWallpaper_shouldReturnNoWallpaperSummary() local
107 .thenReturn(resolveInfos); in getSummary_hasWallpaper_shouldReturnNoWallpaperSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/
DLocationFooterPreferenceController.java149 final List<ResolveInfo> resolveInfos = in getFooterData() local
152 if (resolveInfos == null) { in getFooterData()
158 Log.d(TAG, "Found broadcast receivers: " + resolveInfos); in getFooterData()
161 final Collection<FooterData> footerDataList = new ArrayList<>(resolveInfos.size()); in getFooterData()
162 for (ResolveInfo resolveInfo : resolveInfos) { in getFooterData()
/packages/apps/Car/Settings/src/com/android/car/settings/location/
DLocationFooterPreferenceController.java132 List<ResolveInfo> resolveInfos = mPackageManager.queryBroadcastReceivers( in getInjectedLocationFooters() local
134 if (resolveInfos == null) { in getInjectedLocationFooters()
138 LOG.d("Found broadcast receivers: " + resolveInfos); in getInjectedLocationFooters()
141 List<LocationFooter> locationFooters = new ArrayList<>(resolveInfos.size()); in getInjectedLocationFooters()
142 for (ResolveInfo resolveInfo : resolveInfos) { in getInjectedLocationFooters()
/packages/apps/Settings/src/com/android/settings/location/
DLocationFooterPreferenceController.java149 final List<ResolveInfo> resolveInfos = in getFooterData() local
152 if (resolveInfos == null) { in getFooterData()
158 Log.d(TAG, "Found broadcast receivers: " + resolveInfos); in getFooterData()
161 final Collection<FooterData> footerDataList = new ArrayList<>(resolveInfos.size()); in getFooterData()
162 for (ResolveInfo resolveInfo : resolveInfos) { in getFooterData()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerActivity.java74 List<ResolveInfo> resolveInfos = getComponents(packages, categories); in onResume() local
76 if (resolveInfos != null && resolveInfos.size() == 1) { in onResume()
78 ResolveInfo rInfo = resolveInfos.get(0); in onResume()
91 mPagedListView.setAdapter(new LensPickerAdapter(this, resolveInfos, facetId, in onResume()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java108 List<ResolveInfo> resolveInfos = packageManager.queryIntentServices(intent, in getBrowseServiceInfo() local
110 if (resolveInfos == null || resolveInfos.isEmpty()) { in getBrowseServiceInfo()
115 return resolveInfos.get(0).serviceInfo; in getBrowseServiceInfo()
117 for (ResolveInfo resolveInfo : resolveInfos) { in getBrowseServiceInfo()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/autofill/
DAutofillHelper.java55 final List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAutofillCandidates() local
57 for (ResolveInfo info : resolveInfos) { in getAutofillCandidates()
114 final List<ResolveInfo> resolveInfos = pm.queryIntentServices( in getAutofillSettingsIntent() local
117 for (ResolveInfo resolveInfo : resolveInfos) { in getAutofillSettingsIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DWallpaperPreferenceController.java96 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0 /* flags */); in canResolveWallpaperComponent() local
97 return resolveInfos != null && !resolveInfos.isEmpty(); in canResolveWallpaperComponent()
/packages/apps/Settings/tests/unit/src/com/android/settings/core/
DSettingsGatewayTest.java79 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentActivities(intent, in allRestrictedActivityMustBeDefinedInManifest() local
82 + resolveInfos.size()); in allRestrictedActivityMustBeDefinedInManifest()
83 assertFalse(className + " is not-defined in manifest", resolveInfos.isEmpty()); in allRestrictedActivityMustBeDefinedInManifest()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DBrowserRoleBehavior.java99 List<ResolveInfo> resolveInfos = userPackageManager.queryIntentActivities(intent, in getQualifyingPackagesAsUserInternal() local
104 int resolveInfosSize = resolveInfos.size(); in getQualifyingPackagesAsUserInternal()
106 ResolveInfo resolveInfo = resolveInfos.get(i); in getQualifyingPackagesAsUserInternal()
DRequiredComponent.java136 List<ResolveInfo> resolveInfos = queryIntentComponentsAsUser(intent, flags, user, context); in getQualifyingComponentsInternal() local
140 int resolveInfosSize = resolveInfos.size(); in getQualifyingComponentsInternal()
142 ResolveInfo resolveInfo = resolveInfos.get(resolveInfosIndex); in getQualifyingComponentsInternal()
DHomeRoleBehavior.java69 List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(intent, in getFallbackHolder() local
75 int resolveInfosSize = resolveInfos.size(); in getFallbackHolder()
77 ResolveInfo resolveInfo = resolveInfos.get(i); in getFallbackHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/defaultapps/
DDefaultAutofillPicker.java201 final List<ResolveInfo> resolveInfos = mPm.queryIntentServicesAsUser( in getCandidates() local
204 for (ResolveInfo info : resolveInfos) { in getCandidates()
286 final List<ResolveInfo> resolveInfos = mContext.getPackageManager() in getIntent() local
290 for (ResolveInfo resolveInfo : resolveInfos) { in getIntent()
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/
DDefaultAutofillPicker.java201 final List<ResolveInfo> resolveInfos = mPm.queryIntentServicesAsUser( in getCandidates() local
204 for (ResolveInfo info : resolveInfos) { in getCandidates()
286 final List<ResolveInfo> resolveInfos = mContext.getPackageManager() in getIntent() local
290 for (ResolveInfo resolveInfo : resolveInfos) { in getIntent()
/packages/apps/Settings/src/com/android/settings/display/
DWallpaperPreferenceController.java113 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0 /* flags */); in canResolveWallpaperComponent() local
114 return resolveInfos != null && !resolveInfos.isEmpty(); in canResolveWallpaperComponent()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailProviderListPreference.java121 List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, 0); in initVoicemailProviders() local
122 for (int i = 0; i < resolveInfos.size(); i++) { in initVoicemailProviders()
123 final ResolveInfo ri= resolveInfos.get(i); in initVoicemailProviders()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/utils/
DZenServiceListing.java122 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser( in getActivities() local
127 for (int i = 0, count = resolveInfos.size(); i < count; i++) { in getActivities()
128 ResolveInfo resolveInfo = resolveInfos.get(i); in getActivities()
/packages/apps/Settings/src/com/android/settings/utils/
DZenServiceListing.java122 List<ResolveInfo> resolveInfos = pm.queryIntentActivitiesAsUser( in getActivities() local
127 for (int i = 0, count = resolveInfos.size(); i < count; i++) { in getActivities()
128 ResolveInfo resolveInfo = resolveInfos.get(i); in getActivities()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationSettingsBase.java227 final List<ResolveInfo> resolveInfos = mPm.queryIntentActivities( in collectConfigActivities() local
232 Log.d(TAG, "Found " + resolveInfos.size() + " preference activities" in collectConfigActivities()
233 + (resolveInfos.size() == 0 ? " ;_;" : "")); in collectConfigActivities()
235 for (ResolveInfo ri : resolveInfos) { in collectConfigActivities()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationSettingsBase.java220 final List<ResolveInfo> resolveInfos = mPm.queryIntentActivities( in collectConfigActivities() local
225 Log.d(TAG, "Found " + resolveInfos.size() + " preference activities" in collectConfigActivities()
226 + (resolveInfos.size() == 0 ? " ;_;" : "")); in collectConfigActivities()
228 for (ResolveInfo ri : resolveInfos) { in collectConfigActivities()
/packages/apps/Camera2/src/com/android/camera/util/
DIntentHelper.java38 List<ResolveInfo> resolveInfos = in getGalleryIntent() local
40 if (resolveInfos.size() == 0) { in getGalleryIntent()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DAddMobileNetworkPreferenceController.java63 List<ResolveInfo> resolveInfos = getContext().getPackageManager().queryIntentActivities( in getAvailabilityStatus() local
65 if (resolveInfos.isEmpty()) { in getAvailabilityStatus()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneCapabilityTester.java88 final List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(intent, 0); in getSmsComponent() local
89 for (ResolveInfo resolveInfo : resolveInfos) { in getSmsComponent()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerPreferenceController.java53 List<ResolveInfo> resolveInfos = getContext().getPackageManager().queryIntentServices( in getCandidates() local
55 for (ResolveInfo info : resolveInfos) { in getCandidates()

12