Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsUtils.java87 Intent queryIntent = new Intent(); in getMiddlewareServiceInfo() local
88 queryIntent.setAction(serviceAction); in getMiddlewareServiceInfo()
93 services = packageManager.queryIntentServices(queryIntent, in getMiddlewareServiceInfo()
96 queryIntent.setComponent(overrideService); in getMiddlewareServiceInfo()
97 services = packageManager.queryIntentServices(queryIntent, in getMiddlewareServiceInfo()
DMbmsDownloadReceiver.java562 Intent queryIntent = new Intent(context, MbmsDownloadReceiver.class); in verifyPermissionIntegrity() local
563 List<ResolveInfo> infos = pm.queryBroadcastReceivers(queryIntent, 0); in verifyPermissionIntegrity()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DVendorUtils.java150 Intent queryIntent = new Intent(); in getAppReceiverFromPackageName() local
151 queryIntent.setComponent(candidate); in getAppReceiverFromPackageName()
153 context.getPackageManager().queryBroadcastReceivers(queryIntent, 0); in getAppReceiverFromPackageName()
/frameworks/support/media/src/main/java/androidx/media/session/
DMediaButtonReceiver.java282 Intent queryIntent = new Intent(Intent.ACTION_MEDIA_BUTTON); in getMediaButtonReceiverComponent() local
283 queryIntent.setPackage(context.getPackageName()); in getMediaButtonReceiverComponent()
285 List<ResolveInfo> resolveInfos = pm.queryBroadcastReceivers(queryIntent, 0); in getMediaButtonReceiverComponent()
307 Intent queryIntent = new Intent(action); in getServiceComponentByAction() local
308 queryIntent.setPackage(context.getPackageName()); in getServiceComponentByAction()
309 List<ResolveInfo> resolveInfos = pm.queryIntentServices(queryIntent, 0 /* flags */); in getServiceComponentByAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java255 Intent queryIntent = new Intent(TileService.ACTION_QS_TILE);
256 queryIntent.setPackage(pkgName);
259 queryIntent, 0, ActivityManager.getCurrentUser());
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/
DSliceProviderCompat.java356 Intent queryIntent = new Intent(intent); in bindSlice() local
357 if (!queryIntent.hasCategory(CATEGORY_SLICE)) { in bindSlice()
358 queryIntent.addCategory(CATEGORY_SLICE); in bindSlice()
361 context.getPackageManager().queryIntentContentProviders(queryIntent, 0); in bindSlice()
478 Intent queryIntent = new Intent(intent); in mapIntentToUri() local
479 if (!queryIntent.hasCategory(CATEGORY_SLICE)) { in mapIntentToUri()
480 queryIntent.addCategory(CATEGORY_SLICE); in mapIntentToUri()
483 context.getPackageManager().queryIntentContentProviders(queryIntent, 0); in mapIntentToUri()
/frameworks/base/core/java/android/preference/
DPreferenceManager.java243 private List<ResolveInfo> queryIntentActivities(Intent queryIntent) { in queryIntentActivities() argument
244 return mContext.getPackageManager().queryIntentActivities(queryIntent, in queryIntentActivities()
263 PreferenceScreen inflateFromIntent(Intent queryIntent, PreferenceScreen rootPreferences) { in inflateFromIntent() argument
264 final List<ResolveInfo> activities = queryIntentActivities(queryIntent); in inflateFromIntent()
/frameworks/base/core/java/android/app/slice/
DSliceManager.java328 Intent queryIntent = new Intent(intent); in getAuthority() local
329 if (!queryIntent.hasCategory(CATEGORY_SLICE)) { in getAuthority()
330 queryIntent.addCategory(CATEGORY_SLICE); in getAuthority()
333 mContext.getPackageManager().queryIntentContentProviders(queryIntent, 0); in getAuthority()
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java255 Intent queryIntent = new Intent(serviceName); in loadComponentNames() local
257 queryIntent, in loadComponentNames()
/frameworks/base/core/java/android/app/
DLauncherActivity.java443 protected List<ResolveInfo> onQueryPackageManager(Intent queryIntent) { in onQueryPackageManager() argument
444 return mPackageManager.queryIntentActivities(queryIntent, /* no flags */ 0); in onQueryPackageManager()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DSearchView.java1586 Intent queryIntent = new Intent(Intent.ACTION_SEARCH); in createVoiceAppSearchIntent() local
1587 queryIntent.setComponent(searchActivity); in createVoiceAppSearchIntent()
1588 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent, in createVoiceAppSearchIntent()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java685 Intent queryIntent = new Intent(mConfig.serviceInterface); in queryPackageForServices() local
687 queryIntent.setPackage(packageName); in queryPackageForServices()
690 queryIntent, in queryPackageForServices()
DZenModeHelper.java467 Intent queryIntent = new Intent(); in getServiceInfo() local
468 queryIntent.setComponent(owner); in getServiceInfo()
470 queryIntent, in getServiceInfo()
/frameworks/base/core/java/android/widget/
DSearchView.java1649 Intent queryIntent = new Intent(Intent.ACTION_SEARCH); in createVoiceAppSearchIntent() local
1650 queryIntent.setComponent(searchActivity); in createVoiceAppSearchIntent()
1651 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent, in createVoiceAppSearchIntent()
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java154 candidateRules = resolver.queryIntent(intent, resolvedType, false /*defaultOnly*/, 0); in checkIntent()
/frameworks/base/services/core/java/com/android/server/pm/
DInstantAppResolver.java497 instantAppResolver.queryIntent( in computeResolveFilters()
DPackageManagerService.java6255 ? ppir.queryIntent(intent, resolvedType,
6329 ? pir.queryIntent(intent, resolvedType,
6526 return resolver.queryIntent(intent, resolvedType, false /*defaultOnly*/, userId);
6656 result = filterIfNotSystemUser(mActivities.queryIntent(
6748 final List<ResolveInfo> instantApps = mActivities.queryIntent(intent, resolvedType,
6854 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent,
7294 List<ResolveInfo> resultTargetUser = mActivities.queryIntent(intent,
7602 mReceivers.queryIntent(intent, resolvedType, flags, userId);
7706 mServices.queryIntent(intent, resolvedType, flags, userId),
7824 mProviders.queryIntent(intent, resolvedType, flags, userId),
[all …]
DSettings.java3425 List<ResolveInfo> ri = service.mActivities.queryIntent(intent, in applyDefaultPreferredActivityLPw()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java399 public List<R> queryIntent(Intent intent, String resolvedType, boolean defaultOnly, in queryIntent() method in IntentResolver
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java21681 mReceiverResolver.queryIntent(intent, in broadcastIntentLocked()
21690 registeredReceivers = mReceiverResolver.queryIntent(intent, in broadcastIntentLocked()