Home
last modified time | relevance | path

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

/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()
DRegisteredServicesCache.java477 final List<ResolveInfo> resolveInfos = queryIntentServices(userId); in generateServicesMap() local
478 for (ResolveInfo resolveInfo : resolveInfos) { in generateServicesMap()
/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/
DNetworkScorerAppManager.java73 final List<ResolveInfo> resolveInfos = in getAllValidScorers() local
75 if (resolveInfos == null || resolveInfos.isEmpty()) { in getAllValidScorers()
81 for (int i = 0; i < resolveInfos.size(); i++) { in getAllValidScorers()
82 final ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in getAllValidScorers()
/frameworks/base/services/core/java/com/android/server/policy/role/
DLegacyRoleResolutionPolicy.java128 List<ResolveInfo> resolveInfos = new ArrayList<>(); in getRoleHolders() local
129 ComponentName componentName = packageManager.getHomeActivities(resolveInfos); in getRoleHolders()
/frameworks/base/core/java/android/app/
DKeyguardManager.java278 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in getSettingsPackageForIntent() local
280 for (int i = 0; i < resolveInfos.size(); i++) { in getSettingsPackageForIntent()
281 return resolveInfos.get(i).activityInfo.packageName; in getSettingsPackageForIntent()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbProfileGroupSettingsManager.java587 ArrayList<ResolveInfo> resolveInfos = new ArrayList<>(); in queryIntentActivitiesForAllProfiles() local
590 resolveInfos.addAll(mSettingsManager.getSettingsForUser(profiles.get(i).id) in queryIntentActivitiesForAllProfiles()
594 return resolveInfos; in queryIntentActivitiesForAllProfiles()
713 List<ResolveInfo> resolveInfos = queryIntentActivitiesForAllProfiles(intent); in getDeviceMatchesLocked() local
714 int count = resolveInfos.size(); in getDeviceMatchesLocked()
716 ResolveInfo resolveInfo = resolveInfos.get(i); in getDeviceMatchesLocked()
728 List<ResolveInfo> resolveInfos = queryIntentActivitiesForAllProfiles(intent); in getAccessoryMatchesLocked() local
729 int count = resolveInfos.size(); in getAccessoryMatchesLocked()
731 ResolveInfo resolveInfo = resolveInfos.get(i); in getAccessoryMatchesLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DSettingsInjector.java127 List<ResolveInfo> resolveInfos = in getSettings() local
130 Log.d(TAG, "Found services for profile id " + profileId + ": " + resolveInfos); in getSettings()
132 List<InjectedSetting> settings = new ArrayList<InjectedSetting>(resolveInfos.size()); in getSettings()
133 for (ResolveInfo resolveInfo : resolveInfos) { in getSettings()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java179 List<ResolveInfo> resolveInfos = new ArrayList<>(); in addSystemAppsForIntent() local
182 resolveInfos.add(ri); in addSystemAppsForIntent()
186 .thenReturn(resolveInfos); in addSystemAppsForIntent()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java125 final List<ResolveInfo> resolveInfos = mPm.queryIntentActivitiesAsUser(launcherIntent, in getLaunchableApps() local
132 for (ResolveInfo resolveInfo : resolveInfos) { in getLaunchableApps()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java117 List<ResolveInfo> resolveInfos = pm.queryIntentServices(dreamIntent, in getDreamInfos() local
119 List<DreamInfo> dreamInfos = new ArrayList<>(resolveInfos.size()); in getDreamInfos()
120 for (ResolveInfo resolveInfo : resolveInfos) { in getDreamInfos()
/frameworks/base/core/java/android/os/
DGraphicsEnvironment.java391 final List<ResolveInfo> resolveInfos = in getAnglePackageName() local
393 if (resolveInfos.size() != 1) { in getAnglePackageName()
395 + resolveInfos.size()); in getAnglePackageName()
396 for (ResolveInfo resolveInfo : resolveInfos) { in getAnglePackageName()
403 return resolveInfos.get(0).activityInfo.packageName; in getAnglePackageName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java719 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities(
723 if (resolveInfos == null || resolveInfos.size() == 0 || resolveInfos.get(0) == null) {
726 final ActivityInfo activityInfo = resolveInfos.get(0).activityInfo;
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkRegistry.java77 List<ResolveInfo> resolveInfos = pm.queryIntentActivities(intent, in loadBenchmarks() local
80 for (ResolveInfo inf : resolveInfos) { in loadBenchmarks()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java525 List<ResolveInfo> resolveInfos = resolveAllowedTrustAgents(pm, userInfo.id); in refreshAgentList() local
526 for (ResolveInfo resolveInfo : resolveInfos) { in refreshAgentList()
847 List<ResolveInfo> resolveInfos = resolveAllowedTrustAgents(pm, userId); in maybeEnableFactoryTrustAgents() local
856 for (ResolveInfo resolveInfo : resolveInfos) { in maybeEnableFactoryTrustAgents()
891 List<ResolveInfo> resolveInfos = pm.queryIntentServicesAsUser(TRUST_AGENT_INTENT, in resolveAllowedTrustAgents() local
895 ArrayList<ResolveInfo> allowedAgents = new ArrayList<>(resolveInfos.size()); in resolveAllowedTrustAgents()
896 for (ResolveInfo resolveInfo : resolveInfos) { in resolveAllowedTrustAgents()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java717 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in loadActivitiesIfNeeded() local
719 final int resolveInfoCount = resolveInfos.size(); in loadActivitiesIfNeeded()
721 ResolveInfo resolveInfo = resolveInfos.get(i); in loadActivitiesIfNeeded()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java574 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentServices(intent, in onUnlockUser() local
576 if (resolveInfos != null) { in onUnlockUser()
577 int count = resolveInfos.size(); in onUnlockUser()
579 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in onUnlockUser()
/frameworks/base/core/java/com/android/internal/app/
DResolverRankerServiceResolverComparator.java339 final List<ResolveInfo> resolveInfos = mPm.queryIntentServices(intent, 0); in resolveRankerService() local
340 for (ResolveInfo resolveInfo : resolveInfos) { in resolveRankerService()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java162 List<ResolveInfo> resolveInfos = new ArrayList<>(); in queryIntentActivitiesAsUser() local
169 resolveInfos.add(resolveInfo); in queryIntentActivitiesAsUser()
170 return resolveInfos; in queryIntentActivitiesAsUser()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java7477 private List<ResolveInfo> filterIfNotSystemUser(List<ResolveInfo> resolveInfos, int userId) {
7479 return resolveInfos;
7481 for (int i = resolveInfos.size() - 1; i >= 0; i--) {
7482 ResolveInfo info = resolveInfos.get(i);
7484 resolveInfos.remove(i);
7487 return resolveInfos;
7501 private List<ResolveInfo> applyPostResolutionFilter(List<ResolveInfo> resolveInfos,
7505 for (int i = resolveInfos.size() - 1; i >= 0; i--) {
7506 final ResolveInfo info = resolveInfos.get(i);
7509 resolveInfos.remove(i);
[all …]