Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java101 final List<ResolveInfo> resolveInfos = queryIntentActivitiesAsUser(intent, in queryApps() local
105 final int resolveInfosSize = resolveInfos.size(); in queryApps()
107 appsWithLaunchers.add(resolveInfos.get(i).activityInfo.packageName); in queryApps()
137 final List<ResolveInfo> resolveInfos = queryIntentServicesAsUser( in queryApps() local
139 final int resolveInfosSize = resolveInfos.size(); in queryApps()
142 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in queryApps()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java143 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, in getEngineInfo() local
148 if (resolveInfos != null && resolveInfos.size() == 1) { in getEngineInfo()
149 return getEngineInfo(resolveInfos.get(0), pm); in getEngineInfo()
164 List<ResolveInfo> resolveInfos = in getEngines() local
166 if (resolveInfos == null) return Collections.emptyList(); in getEngines()
168 List<EngineInfo> engines = new ArrayList<EngineInfo>(resolveInfos.size()); in getEngines()
170 for (ResolveInfo resolveInfo : resolveInfos) { in getEngines()
205 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, in getSettingsIntent() local
210 if (resolveInfos != null && resolveInfos.size() == 1) { in getSettingsIntent()
211 ServiceInfo service = resolveInfos.get(0).serviceInfo; in getSettingsIntent()
/frameworks/base/services/core/java/com/android/server/pm/
DNoFilteringResolver.java103 List<ResolveInfo> resolveInfos = mComponentResolver.queryActivities(computer, in resolveIntent() local
106 if (resolveInfos != null) { in resolveIntent()
108 for (int index = 0; index < resolveInfos.size(); index++) { in resolveIntent()
109 crossProfileDomainInfos.add(new CrossProfileDomainInfo(resolveInfos.get(index), in resolveIntent()
DResolveIntentHelper.java517 final List<ResolveInfo> resolveInfos = componentResolver.queryProviders(computer, in queryIntentContentProvidersInternal() local
519 if (resolveInfos == null) { in queryIntentContentProvidersInternal()
522 return applyPostContentProviderResolutionFilter(computer, resolveInfos, in queryIntentContentProvidersInternal()
527 final List<ResolveInfo> resolveInfos = componentResolver.queryProviders(computer, in queryIntentContentProvidersInternal() local
529 if (resolveInfos == null) { in queryIntentContentProvidersInternal()
532 return applyPostContentProviderResolutionFilter(computer, resolveInfos, in queryIntentContentProvidersInternal()
539 List<ResolveInfo> resolveInfos, String instantAppPkgName, in applyPostContentProviderResolutionFilter() argument
541 for (int i = resolveInfos.size() - 1; i >= 0; i--) { in applyPostContentProviderResolutionFilter()
542 final ResolveInfo info = resolveInfos.get(i); in applyPostContentProviderResolutionFilter()
562 resolveInfos.remove(i); in applyPostContentProviderResolutionFilter()
[all …]
DSaferIntentUtils.java267 IntentArgs args, List<ResolveInfo> resolveInfos) { in enforceIntentFilterMatching() argument
285 for (int i = resolveInfos.size() - 1; i >= 0; --i) { in enforceIntentFilterMatching()
286 final ComponentInfo info = resolveInfos.get(i).getComponentInfo(); in enforceIntentFilterMatching()
348 resolveInfos.remove(i); in enforceIntentFilterMatching()
DComputerEngine.java735 final List<ResolveInfo> resolveInfos = mComponentResolver.queryServices(this, intent, in queryIntentServicesInternalBody() local
737 if (resolveInfos == null) { in queryIntentServicesInternalBody()
741 resolveInfos, instantAppPkgName, userId, callingUid); in queryIntentServicesInternalBody()
745 final List<ResolveInfo> resolveInfos = mComponentResolver.queryServices(this, intent, in queryIntentServicesInternalBody() local
748 if (resolveInfos == null) { in queryIntentServicesInternalBody()
752 resolveInfos, instantAppPkgName, userId, callingUid); in queryIntentServicesInternalBody()
1091 List<ResolveInfo> resolveInfos = queryIntentActivitiesInternal(intent, null, in getHomeActivitiesAsUser() local
1094 if (resolveInfos == null) { in getHomeActivitiesAsUser()
1097 allHomeCandidates.addAll(resolveInfos); in getHomeActivitiesAsUser()
1111 findPreferredActivityInternal(intent, null, 0, resolveInfos, true, false, in getHomeActivitiesAsUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt78 val resolveInfos = mPm.queryIntentActivitiesAsUser( in resolvePanelActivity() constant
86 if (resolveInfos.isNotEmpty() && verifyResolveInfo(resolveInfos[0])) { in resolvePanelActivity()
/frameworks/base/services/core/java/com/android/server/media/
DMediaButtonReceiverHolder.java328 List<ResolveInfo> resolveInfos = Collections.emptyList(); in getComponentName() local
331 resolveInfos = pendingIntent.queryIntentComponents( in getComponentName()
338 resolveInfos = pendingIntent.queryIntentComponents( in getComponentName()
342 resolveInfos = pendingIntent.queryIntentComponents( in getComponentName()
347 for (ResolveInfo resolveInfo : resolveInfos) { in getComponentName()
DMediaServerUtils.java51 List<ResolveInfo> resolveInfos = in isValidActivityComponentName() local
54 return !resolveInfos.isEmpty(); in isValidActivityComponentName()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java74 final List<ResolveInfo> resolveInfos = in getAllValidScorers() local
76 if (resolveInfos == null || resolveInfos.isEmpty()) { in getAllValidScorers()
82 for (int i = 0; i < resolveInfos.size(); i++) { in getAllValidScorers()
83 final ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in getAllValidScorers()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DCurrentUserServiceSupplier.java262 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in hasMatchingService() local
266 return !resolveInfos.isEmpty(); in hasMatchingService()
305 List<ResolveInfo> resolveInfos = mContext.getPackageManager().queryIntentServicesAsUser( in getServiceInfo() local
309 for (ResolveInfo resolveInfo : resolveInfos) { in getServiceInfo()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DRecognitionServiceInfo.java63 List<ResolveInfo> resolveInfos = in getAvailableServices() local
69 for (ResolveInfo resolveInfo : resolveInfos) { in getAvailableServices()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPersonalAppsSuspensionHelper.java197 final List<ResolveInfo> resolveInfos = in hasLauncherIntent() local
199 return resolveInfos != null && !resolveInfos.isEmpty(); in hasLauncherIntent()
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java394 List<ResolveInfo> resolveInfos; in componentMapsToRecognitionService() local
398 resolveInfos = in componentMapsToRecognitionService()
405 if (resolveInfos == null) { in componentMapsToRecognitionService()
409 for (ResolveInfo ri : resolveInfos) { in componentMapsToRecognitionService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java664 List<ResolveInfo> resolveInfos = fullScreenIntent.queryIntentComponents(0); in launchFullScreenIntent() local
665 if (resolveInfos.size() > 0 && resolveInfos.get(0) != null in launchFullScreenIntent()
666 && resolveInfos.get(0).activityInfo != null in launchFullScreenIntent()
667 && resolveInfos.get(0).activityInfo.name != null) { in launchFullScreenIntent()
668 activityName = resolveInfos.get(0).activityInfo.name; in launchFullScreenIntent()
/frameworks/base/core/java/android/service/credentials/
DCredentialProviderInfoFactory.java381 final List<ResolveInfo> resolveInfos = new ArrayList<>(); in getAvailableSystemServiceInfos() local
383 resolveInfos.addAll( in getAvailableSystemServiceInfos()
390 for (ResolveInfo resolveInfo : resolveInfos) { in getAvailableSystemServiceInfos()
639 final List<ResolveInfo> resolveInfos = in getUserProviders() local
645 for (ResolveInfo resolveInfo : resolveInfos) { in getUserProviders()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletServiceInfo.java134 List<ResolveInfo> resolveInfos = in getWalletServiceInfo() local
140 return resolveInfos.isEmpty() ? null : resolveInfos.get(0).serviceInfo; in getWalletServiceInfo()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppCopyingHelperTest.java175 final List<ResolveInfo> resolveInfos = new ArrayList<>(); in addSystemAppsForIntent() local
178 resolveInfos.add(ri); in addSystemAppsForIntent()
182 .thenReturn(resolveInfos); in addSystemAppsForIntent()
DAppRestrictionsHelperTest.java181 List<ResolveInfo> resolveInfos = new ArrayList<>(); in addSystemAppsForIntent() local
184 resolveInfos.add(ri); in addSystemAppsForIntent()
188 .thenReturn(resolveInfos); in addSystemAppsForIntent()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java128 List<ResolveInfo> resolveInfos = in getSettings() local
131 Log.d(TAG, "Found services for profile id " + profileId + ": " + resolveInfos); in getSettings()
136 List<InjectedSetting> settings = new ArrayList<InjectedSetting>(resolveInfos.size()); in getSettings()
137 for (ResolveInfo resolveInfo : resolveInfos) { in getSettings()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java349 List<ResolveInfo> resolveInfos = mActivity.getPackageManager() in startSystemActivityForResult() local
351 if (resolveInfos.isEmpty()) { in startSystemActivityForResult()
355 intent.setPackage(resolveInfos.get(0).activityInfo.packageName); in startSystemActivityForResult()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java993 List<ResolveInfo> resolveInfos = new ArrayList<>(); in getCarrierPackageNamesForIntent() local
994 resolveInfos.addAll(mPackageManager.queryBroadcastReceivers(intent, 0)); in getCarrierPackageNamesForIntent()
995 resolveInfos.addAll(mPackageManager.queryIntentActivities(intent, 0)); in getCarrierPackageNamesForIntent()
996 resolveInfos.addAll(mPackageManager.queryIntentServices(intent, 0)); in getCarrierPackageNamesForIntent()
997 resolveInfos.addAll(mPackageManager.queryIntentContentProviders(intent, 0)); in getCarrierPackageNamesForIntent()
1007 for (ResolveInfo resolveInfo : resolveInfos) { in getCarrierPackageNamesForIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java556 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities(
560 if (resolveInfos == null || resolveInfos.size() == 0 || resolveInfos.get(0) == null) {
563 final ActivityInfo activityInfo = resolveInfos.get(0).activityInfo;
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java480 final List<ResolveInfo> resolveInfos = in getAnglePackageName() local
482 if (resolveInfos.size() != 1) { in getAnglePackageName()
484 + resolveInfos.size()); in getAnglePackageName()
486 for (ResolveInfo resolveInfo : resolveInfos) { in getAnglePackageName()
494 return resolveInfos.get(0).activityInfo.packageName; in getAnglePackageName()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java759 ArrayList<ResolveInfo> resolveInfos = new ArrayList<>(); in queryIntentActivitiesForAllProfiles() local
762 resolveInfos.addAll(mSettingsManager.getSettingsForUser(profiles.get(i).id) in queryIntentActivitiesForAllProfiles()
766 return resolveInfos; in queryIntentActivitiesForAllProfiles()
885 List<ResolveInfo> resolveInfos = queryIntentActivitiesForAllProfiles(intent); in getDeviceMatchesLocked() local
886 int count = resolveInfos.size(); in getDeviceMatchesLocked()
888 ResolveInfo resolveInfo = resolveInfos.get(i); in getDeviceMatchesLocked()
900 List<ResolveInfo> resolveInfos = queryIntentActivitiesForAllProfiles(intent); in getAccessoryMatchesLocked() local
901 int count = resolveInfos.size(); in getAccessoryMatchesLocked()
903 ResolveInfo resolveInfo = resolveInfos.get(i); in getAccessoryMatchesLocked()

12