/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaButtonReceiver.java | 274 List<ResolveInfo> resolveInfos = pm.queryBroadcastReceivers(queryIntent, 0); in getMediaButtonReceiverComponent() local 275 if (resolveInfos.size() == 1) { in getMediaButtonReceiverComponent() 276 ResolveInfo resolveInfo = resolveInfos.get(0); in getMediaButtonReceiverComponent() 279 } else if (resolveInfos.size() > 1) { in getMediaButtonReceiverComponent() 298 List<ResolveInfo> resolveInfos = pm.queryIntentServices(queryIntent, 0 /* flags */); in getServiceComponentByAction() local 299 if (resolveInfos.size() == 1) { in getServiceComponentByAction() 300 ResolveInfo resolveInfo = resolveInfos.get(0); in getServiceComponentByAction() 303 } else if (resolveInfos.isEmpty()) { in getServiceComponentByAction() 307 + resolveInfos.size()); in getServiceComponentByAction()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppsQueryHelper.java | 101 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()
|
D | RegisteredServicesCache.java | 432 final List<ResolveInfo> resolveInfos = queryIntentServices(userId); in generateServicesMap() local 433 for (ResolveInfo resolveInfo : resolveInfos) { in generateServicesMap()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TtsEngines.java | 141 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, in getEngineInfo() local 146 if (resolveInfos != null && resolveInfos.size() == 1) { in getEngineInfo() 147 return getEngineInfo(resolveInfos.get(0), pm); in getEngineInfo() 161 List<ResolveInfo> resolveInfos = in getEngines() local 163 if (resolveInfos == null) return Collections.emptyList(); in getEngines() 165 List<EngineInfo> engines = new ArrayList<EngineInfo>(resolveInfos.size()); in getEngines() 167 for (ResolveInfo resolveInfo : resolveInfos) { in getEngines() 201 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, in getSettingsIntent() local 206 if (resolveInfos != null && resolveInfos.size() == 1) { in getSettingsIntent() 207 ServiceInfo service = resolveInfos.get(0).serviceInfo; in getSettingsIntent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScorerAppManager.java | 72 final List<ResolveInfo> resolveInfos = in getAllValidScorers() local 74 if (resolveInfos == null || resolveInfos.isEmpty()) { in getAllValidScorers() 80 for (int i = 0; i < resolveInfos.size(); i++) { in getAllValidScorers() 81 final ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in getAllValidScorers()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 134 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in getSettingsPackageForIntent() local 136 for (int i = 0; i < resolveInfos.size(); i++) { in getSettingsPackageForIntent() 137 return resolveInfos.get(i).activityInfo.packageName; in getSettingsPackageForIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationInfo.java | 366 final List<ResolveInfo> resolveInfos = pm.queryIntentActivities( in getAppSettingsIntent() local 370 if (resolveInfos == null || resolveInfos.size() == 0 || resolveInfos.get(0) == null) { in getAppSettingsIntent() 373 final ActivityInfo activityInfo = resolveInfos.get(0).activityInfo; in getAppSettingsIntent()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 178 List<ResolveInfo> resolveInfos = new ArrayList<>(); in addSystemAppsForIntent() local 181 resolveInfos.add(ri); in addSystemAppsForIntent() 185 .thenReturn(resolveInfos); in addSystemAppsForIntent()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
D | DreamBackend.java | 96 List<ResolveInfo> resolveInfos = pm.queryIntentServices(dreamIntent, in getDreamInfos() local 98 List<DreamInfo> dreamInfos = new ArrayList<>(resolveInfos.size()); in getDreamInfos() 99 for (ResolveInfo resolveInfo : resolveInfos) { in getDreamInfos()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbProfileGroupSettingsManager.java | 894 ArrayList<ResolveInfo> resolveInfos = new ArrayList<>(); in queryIntentActivitiesForAllProfiles() local 897 resolveInfos.addAll(mPackageManager.queryIntentActivitiesAsUser(intent, in queryIntentActivitiesForAllProfiles() 901 return resolveInfos; in queryIntentActivitiesForAllProfiles() 1020 List<ResolveInfo> resolveInfos = queryIntentActivitiesForAllProfiles(intent); in getDeviceMatchesLocked() local 1021 int count = resolveInfos.size(); in getDeviceMatchesLocked() 1023 ResolveInfo resolveInfo = resolveInfos.get(i); in getDeviceMatchesLocked() 1035 List<ResolveInfo> resolveInfos = queryIntentActivitiesForAllProfiles(intent); in getAccessoryMatchesLocked() local 1036 int count = resolveInfos.size(); in getAccessoryMatchesLocked() 1038 ResolveInfo resolveInfo = resolveInfos.get(i); in getAccessoryMatchesLocked()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 300 List<ResolveInfo> resolveInfos = resolveAllowedTrustAgents(pm, userInfo.id); in refreshAgentList() local 301 for (ResolveInfo resolveInfo : resolveInfos) { in refreshAgentList() 585 List<ResolveInfo> resolveInfos = resolveAllowedTrustAgents(pm, userId); in maybeEnableFactoryTrustAgents() local 587 for (ResolveInfo resolveInfo : resolveInfos) { in maybeEnableFactoryTrustAgents() 608 List<ResolveInfo> resolveInfos = pm.queryIntentServicesAsUser(TRUST_AGENT_INTENT, in resolveAllowedTrustAgents() local 612 ArrayList<ResolveInfo> allowedAgents = new ArrayList<>(resolveInfos.size()); in resolveAllowedTrustAgents() 613 for (ResolveInfo resolveInfo : resolveInfos) { in resolveAllowedTrustAgents()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActivityChooserModel.java | 690 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in loadActivitiesIfNeeded() local 692 final int resolveInfoCount = resolveInfos.size(); in loadActivitiesIfNeeded() 694 ResolveInfo resolveInfo = resolveInfos.get(i); in loadActivitiesIfNeeded()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 710 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in loadActivitiesIfNeeded() local 712 final int resolveInfoCount = resolveInfos.size(); in loadActivitiesIfNeeded() 714 ResolveInfo resolveInfo = resolveInfos.get(i); in loadActivitiesIfNeeded()
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 577 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentServices(intent, in onUnlockUser() local 579 if (resolveInfos != null) { in onUnlockUser() 580 int count = resolveInfos.size(); in onUnlockUser() 582 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in onUnlockUser()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 417 final List<ResolveInfo> resolveInfos = mPm.queryIntentServices(intent, 0); in resolveRankerService() local 418 for (ResolveInfo resolveInfo : resolveInfos) { in resolveRankerService()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationManagerCompat.java | 413 List<ResolveInfo> resolveInfos = mContext.getPackageManager().queryIntentServices( in updateListenerMap() local 416 for (ResolveInfo resolveInfo : resolveInfos) { in updateListenerMap()
|