Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/media/session/
DMediaButtonReceiver.java87 List<ResolveInfo> resolveInfos = pm.queryIntentServices(queryIntent, 0); in onReceive() local
88 if (resolveInfos.isEmpty()) { in onReceive()
91 resolveInfos = pm.queryIntentServices(queryIntent, 0); in onReceive()
93 if (resolveInfos.isEmpty()) { in onReceive()
96 } else if (resolveInfos.size() != 1) { in onReceive()
98 queryIntent.getAction() + ", found " + resolveInfos.size() ); in onReceive()
100 ResolveInfo resolveInfo = resolveInfos.get(0); in onReceive()
DMediaSessionCompat.java1199 List<ResolveInfo> resolveInfos = pm.queryBroadcastReceivers(queryIntent, 0); in MediaSessionImplBase() local
1203 if (resolveInfos.size() == 1) { in MediaSessionImplBase()
1204 ResolveInfo resolveInfo = resolveInfos.get(0); in MediaSessionImplBase()
1207 } else if (resolveInfos.size() > 1) { in MediaSessionImplBase()
/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.java386 final List<ResolveInfo> resolveInfos = queryIntentServices(userId); in generateServicesMap() local
387 for (ResolveInfo resolveInfo : resolveInfos) { in generateServicesMap()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java141 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/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java96 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/core/java/com/android/server/trust/
DTrustManagerService.java271 List<ResolveInfo> resolveInfos = resolveAllowedTrustAgents(pm, userInfo.id); in refreshAgentList() local
272 for (ResolveInfo resolveInfo : resolveInfos) { in refreshAgentList()
509 List<ResolveInfo> resolveInfos = resolveAllowedTrustAgents(pm, userId); in maybeEnableFactoryTrustAgents() local
511 for (ResolveInfo resolveInfo : resolveInfos) { in maybeEnableFactoryTrustAgents()
532 List<ResolveInfo> resolveInfos = pm.queryIntentServicesAsUser(TRUST_AGENT_INTENT, in resolveAllowedTrustAgents() local
535 ArrayList<ResolveInfo> allowedAgents = new ArrayList<>(resolveInfos.size()); in resolveAllowedTrustAgents()
536 for (ResolveInfo resolveInfo : resolveInfos) { in resolveAllowedTrustAgents()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActivityChooserModel.java691 List<ResolveInfo> resolveInfos = mContext.getPackageManager() in loadActivitiesIfNeeded() local
693 final int resolveInfoCount = resolveInfos.size(); in loadActivitiesIfNeeded()
695 ResolveInfo resolveInfo = resolveInfos.get(i); in loadActivitiesIfNeeded()
/frameworks/base/core/java/android/widget/
DActivityChooserModel.java710 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/usb/java/com/android/server/usb/
DUsbSettingsManager.java708 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentActivities(intent, in getDeviceMatchesLocked() local
710 int count = resolveInfos.size(); in getDeviceMatchesLocked()
712 ResolveInfo resolveInfo = resolveInfos.get(i); in getDeviceMatchesLocked()
723 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentActivities(intent, in getAccessoryMatchesLocked() local
725 int count = resolveInfos.size(); in getAccessoryMatchesLocked()
727 ResolveInfo resolveInfo = resolveInfos.get(i); in getAccessoryMatchesLocked()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java576 List<ResolveInfo> resolveInfos = mPackageManager.queryIntentServices(intent, in onUnlockUser() local
578 if (resolveInfos != null) { in onUnlockUser()
579 int count = resolveInfos.size(); in onUnlockUser()
581 ServiceInfo serviceInfo = resolveInfos.get(i).serviceInfo; in onUnlockUser()
/frameworks/support/v4/java/android/support/v4/app/
DNotificationManagerCompat.java487 List<ResolveInfo> resolveInfos = mContext.getPackageManager().queryIntentServices( in updateListenerMap() local
490 for (ResolveInfo resolveInfo : resolveInfos) { in updateListenerMap()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java5572 private List<ResolveInfo> filterIfNotSystemUser(List<ResolveInfo> resolveInfos, int userId) {
5574 return resolveInfos;
5576 for (int i = resolveInfos.size() - 1; i >= 0; i--) {
5577 ResolveInfo info = resolveInfos.get(i);
5579 resolveInfos.remove(i);
5582 return resolveInfos;
5589 private boolean hasNonNegativePriority(List<ResolveInfo> resolveInfos) {
5590 return resolveInfos.size() > 0 && resolveInfos.get(0).priority >= 0;