/aosp14/frameworks/base/services/core/java/com/android/server/pm/resolution/ |
H A D | ComponentResolverLocked.java | 95 @Nullable String resolvedType, long flags, @UserIdInt int userId) { in queryActivities() argument 97 return super.queryActivities(computer, intent, resolvedType, flags, userId); in queryActivities() 104 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities() argument 123 @Nullable String resolvedType, long flags, @UserIdInt int userId) { in queryProviders() argument 125 return super.queryProviders(computer, intent, resolvedType, flags, userId); in queryProviders() 132 @Nullable String resolvedType, long flags, @NonNull List<ParsedProvider> providers, in queryProviders() argument 152 @Nullable String resolvedType, long flags, @UserIdInt int userId) { in queryReceivers() argument 154 return super.queryReceivers(computer, intent, resolvedType, flags, userId); in queryReceivers() 171 @Nullable String resolvedType, long flags, @UserIdInt int userId) { in queryServices() argument 173 return super.queryServices(computer, intent, resolvedType, flags, userId); in queryServices() [all …]
|
H A D | ComponentResolverApi.java | 58 @Nullable String resolvedType, long flags, @UserIdInt int userId); in queryActivities() argument 62 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities() argument 71 @Nullable String resolvedType, long flags, @UserIdInt int userId); in queryProviders() argument 75 @Nullable String resolvedType, long flags, @NonNull List<ParsedProvider> providers, in queryProviders() argument 84 @Nullable String resolvedType, long flags, @UserIdInt int userId); in queryReceivers() argument 88 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> receivers, in queryReceivers() argument 93 @Nullable String resolvedType, long flags, @UserIdInt int userId); in queryServices() argument 97 @Nullable String resolvedType, long flags, @NonNull List<ParsedService> services, in queryServices() argument
|
H A D | ComponentResolverBase.java | 129 @Nullable String resolvedType, long flags, int userId) { in queryActivities() argument 130 return mActivities.queryIntent(computer, intent, resolvedType, flags, userId); in queryActivities() 136 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities() argument 171 @Nullable String resolvedType, long flags, int userId) { in queryProviders() argument 172 return mProviders.queryIntent(computer, intent, resolvedType, flags, userId); in queryProviders() 178 @Nullable String resolvedType, long flags, @NonNull List<ParsedProvider> providers, in queryProviders() argument 244 @Nullable String resolvedType, long flags, int userId) { in queryReceivers() argument 245 return mReceivers.queryIntent(computer, intent, resolvedType, flags, userId); in queryReceivers() 260 @Nullable String resolvedType, long flags, @UserIdInt int userId) { in queryServices() argument 261 return mServices.queryIntent(computer, intent, resolvedType, flags, userId); in queryServices() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | StringFilter.java | 138 String resolvedType); in getValue() argument 233 String resolvedType) { 244 String resolvedType) { 255 String resolvedType) { 266 String resolvedType) { 274 String resolvedType) { 286 String resolvedType) { 287 return resolvedType; 294 String resolvedType) { 306 String resolvedType) { [all …]
|
H A D | SenderFilter.java | 70 int callerUid, int callerPid, String resolvedType, int receivingUid) { 78 int callerUid, int callerPid, String resolvedType, int receivingUid) { 86 int callerUid, int callerPid, String resolvedType, int receivingUid) { 95 int callerUid, int callerPid, String resolvedType, int receivingUid) {
|
H A D | IntentFirewall.java | 145 String resolvedType, ApplicationInfo resolvedApp) { in checkStartActivity() argument 147 callerUid, callerPid, resolvedType, resolvedApp.uid); in checkStartActivity() 151 int callerPid, String resolvedType, ApplicationInfo resolvedApp) { in checkService() argument 153 callerPid, resolvedType, resolvedApp.uid); in checkService() 157 String resolvedType, int receivingUid) { in checkBroadcast() argument 159 callerUid, callerPid, resolvedType, receivingUid); in checkBroadcast() 163 int intentType, Intent intent, int callerUid, int callerPid, String resolvedType, in checkIntent() argument 182 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType, in checkIntent() 196 logIntent(intentType, intent, callerUid, resolvedType); in checkIntent() 203 String resolvedType) { in logIntent() argument [all …]
|
H A D | AndFilter.java | 29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 32 resolvedType, receivingUid)) { in matches()
|
H A D | OrFilter.java | 29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 32 resolvedType, receivingUid)) { in matches()
|
H A D | NotFilter.java | 36 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument 37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType, in matches()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ResolveIntentHelper.java | 116 String resolvedType, Computer computer, Handler handler) { in filterNonExportedComponents() argument 163 return resolveIntentInternal(computer, intent, resolvedType, flags, in resolveIntentInternal() 185 resolvedType, flags)); in resolveIntentInternal() 195 mPlatformCompat, resolvedType, computer, mHandler); in resolveIntentInternal() 379 resolvedType != null ? new String[]{resolvedType} : null, in getLaunchIntentSenderForPackage() 412 resolvedType, flags)); in queryIntentReceiversInternal() 462 resolvedType, filterCallingUid); in queryIntentReceiversInternal() 515 @NonNull Computer computer, Intent intent, String resolvedType, in queryIntentContentProvidersInternal() argument 572 intent, resolvedType, flags, userId); in queryIntentContentProvidersInternal() 582 intent, resolvedType, flags, pkg.getProviders(), userId); in queryIntentContentProvidersInternal() [all …]
|
H A D | DefaultCrossProfileResolver.java | 79 String resolvedType, int userId, int targetUserId, in resolveIntent() argument 87 matchingFilters, intent, resolvedType, flags, userId, pkgSettingFunction); in resolveIntent() 95 matchingFilters, intent, resolvedType, flags, userId, in resolveIntent() 102 generalXpInfo = computer.getCrossProfileDomainPreferredLpr(intent, resolvedType, in resolveIntent() 163 List<CrossProfileIntentFilter> matchingFilters, Intent intent, String resolvedType, in querySkipCurrentProfileIntents() argument 174 intent, resolvedType, flags, sourceUserId, pkgSettingFunction); in querySkipCurrentProfileIntents() 204 List<CrossProfileIntentFilter> matchingFilters, Intent intent, String resolvedType, in queryCrossProfileIntents() argument 230 resolvedType, flags, sourceUserId, pkgSettingFunction); in queryCrossProfileIntents() 273 @Nullable String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in createForwardingResolveInfo() argument 281 resolvedType, flags, targetUserId); in createForwardingResolveInfo()
|
H A D | CrossProfileIntentResolverEngine.java | 95 String resolvedType, int userId, long flags, String pkgName, in resolveIntent() argument 126 Intent intent, String resolvedType, int sourceUserId, int userId, long flags, in resolveIntentInternal() argument 135 computer.getMatchingCrossProfileIntentFilters(intent, resolvedType, in resolveIntentInternal() 146 .getCrossProfileDomainPreferredLpr(intent, resolvedType, flags, in resolveIntentInternal() 201 .resolveIntent(computer, intent, resolvedType, userId, in resolveIntentInternal() 225 resolvedType, sourceUserId, targetUserId, flags, pkgName, in resolveIntentInternal() 283 @Nullable String resolvedType, @UserIdInt int sourceUserId, in canReachTo() argument 303 @Nullable String resolvedType, @UserIdInt int sourceUserId, in canReachToInternal() argument 330 if (canReachToInternal(computer, intent, resolvedType, in canReachToInternal() 388 Computer computer, Intent intent, String resolvedType, String instantAppPkgName, in combineFilterAndCreateQueryActivitiesResponse() argument [all …]
|
H A D | IPackageManagerBase.java | 153 String resolvedType, int userId) { in activitySupportsIntentAsUser() argument 155 resolvedType, userId); in activitySupportsIntentAsUser() 207 public final boolean canForwardTo(@NonNull Intent intent, @Nullable String resolvedType, in canForwardTo() argument 209 return snapshot().canForwardTo(intent, resolvedType, sourceUserId, targetUserId); in canForwardTo() 1001 resolvedType, flags, userId)); in queryIntentActivities() 1041 snapshot(), intent, resolvedType, flags, userId)); in queryIntentContentProviders() 1100 public final ResolveInfo resolveIntent(Intent intent, String resolvedType, in resolveIntent() argument 1103 resolvedType, flags, 0 /*privateResolveFlags*/, userId, false, in resolveIntent() 1109 public final ResolveInfo resolveService(Intent intent, String resolvedType, in resolveService() argument 1113 resolvedType, flags, userId, callingUid); in resolveService() [all …]
|
H A D | PackageManagerInternalBase.java | 310 return snapshot().queryIntentActivitiesInternal(intent, resolvedType, flags, in queryIntentActivities() 317 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in queryIntentReceivers() argument 320 resolvedType, flags, userId, filterCallingUid, forSend); in queryIntentReceivers() 329 return snapshot().queryIntentServicesInternal(intent, resolvedType, flags, userId, in queryIntentServices() 412 Intent origIntent, String resolvedType, String callingPackage, in requestInstantAppResolutionPhaseTwo() argument 416 resolvedType, callingPackage, callingFeatureId, isRequesterInstantApp, in requestInstantAppResolutionPhaseTwo() 458 public final ResolveInfo resolveIntent(Intent intent, String resolvedType, in resolveIntent() argument 463 intent, resolvedType, flags, privateResolveFlags, userId, resolveForStart, in resolveIntent() 472 public final ResolveInfo resolveIntentExported(Intent intent, String resolvedType, in resolveIntentExported() argument 483 public final ResolveInfo resolveService(Intent intent, String resolvedType, in resolveService() argument [all …]
|
H A D | PreferredActivityHelper.java | 79 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in findPreferredActivityNotLocked() argument 82 return findPreferredActivityNotLocked(snapshot, intent, resolvedType, flags, query, always, in findPreferredActivityNotLocked() 90 Intent intent, String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in findPreferredActivityNotLocked() argument 101 intent, resolvedType, flags, query, always, in findPreferredActivityNotLocked() 703 snapshot.isImplicitImageCaptureIntentAndNotSetByDpc(intent, userId, resolvedType, 706 resolvedType, flags, userId); 715 String resolvedType, int flags, WatchedIntentFilter filter, int match, 723 + " resolvedType=" + resolvedType 732 resolvedType, flags, userId); 742 String resolvedType, int flags) { [all …]
|
H A D | Computer.java | 112 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() argument 116 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() argument 118 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() argument 120 @NonNull List<ResolveInfo> queryIntentServicesInternal(Intent intent, String resolvedType, in queryIntentServicesInternal() argument 123 String resolvedType, long flags, int filterCallingUid, int userId, in queryIntentActivitiesInternalBody() argument 165 CrossProfileDomainInfo getCrossProfileDomainPreferredLpr(Intent intent, String resolvedType, in getCrossProfileDomainPreferredLpr() argument 169 String resolvedType, int userId); in getMatchingCrossProfileIntentFilters() argument 235 String resolvedType, long flags); in isImplicitImageCaptureIntentAndNotSetByDpc() argument 334 ResolveInfo findPersistentPreferredActivity(Intent intent, String resolvedType, long flags, in findPersistentPreferredActivity() argument 375 @NonNull ComponentName component, @NonNull Intent intent, String resolvedType, in activitySupportsIntentAsUser() argument [all …]
|
H A D | InstantAppResolver.java | 155 instantAppResolveInfoList, origIntent, requestObj.resolvedType, in doInstantAppResolutionPhaseOne() 230 requestObj.resolvedType, in doInstantAppResolutionPhaseTwo() 275 @NonNull String resolvedType, in buildEphemeralInstallerIntent() argument 321 new String[] { resolvedType }, in buildEphemeralInstallerIntent() 342 new String[] { resolvedType }, in buildEphemeralInstallerIntent() 395 String resolvedType, int userId, String packageName, String token, in filterInstantAppIntent() argument 428 computer, userManager, origIntent, resolvedType, userId, packageName, token, in filterInstantAppIntent() 473 String resolvedType, int userId, String packageName, String token, in computeResolveFilters() argument 527 instantAppResolver.queryIntent(computer, origIntent, resolvedType, in computeResolveFilters()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | InstantAppRequest.java | 36 public final String resolvedType; field in InstantAppRequest 63 String resolvedType, String callingPackage, @Nullable String callingFeatureId, in InstantAppRequest() argument 69 this.resolvedType = resolvedType; in InstantAppRequest()
|
H A D | IPackageManager.aidl | 93 String resolvedType, int userId); in activitySupportsIntentAsUser() argument 128 ResolveInfo resolveIntent(in Intent intent, String resolvedType, long flags, int userId); in resolveIntent() argument 132 boolean canForwardTo(in Intent intent, String resolvedType, int sourceUserId, int targetUserId); in canForwardTo() argument 135 String resolvedType, long flags, int userId); in queryIntentActivities() argument 140 String resolvedType, long flags, int userId); in queryIntentActivityOptions() argument 143 String resolvedType, long flags, int userId); in queryIntentReceivers() argument 146 String resolvedType, long flags, int userId); in resolveService() argument 149 String resolvedType, long flags, int userId); in queryIntentServices() argument 152 String resolvedType, long flags, int userId); in queryIntentContentProviders() argument 256 String resolvedType, int flags); in getLastChosenActivity() argument [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | IntentResolver.java | 84 IntentFilter filter, Intent intent, String resolvedType) { in intentMatchesFilter() argument 374 String resolvedType, boolean defaultOnly, @UserIdInt int userId) { in queryIntent() argument 375 return queryIntent(snapshot, intent, resolvedType, defaultOnly, userId, 0); in queryIntent() 388 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme in queryIntent() 398 if (resolvedType != null) { in queryIntent() 399 int slashpos = resolvedType.indexOf('/'); in queryIntent() 401 final String baseType = resolvedType.substring(0, slashpos); in queryIntent() 403 if (resolvedType.length() != slashpos+2 in queryIntent() 404 || resolvedType.charAt(slashpos+1) != '*') { in queryIntent() 407 firstTypeCut = mTypeToFilter.get(resolvedType); in queryIntent() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PendingIntentRecord.java | 315 public void send(int code, Intent intent, String resolvedType, IBinder allowlistToken, in send() argument 317 sendInner(null, code, intent, resolvedType, allowlistToken, finishedReceiver, in send() 324 sendInner(caller, code, intent, resolvedType, allowlistToken, finishedReceiver, in send() 329 String resolvedType, IBinder allowlistToken, IIntentReceiver finishedReceiver, in sendWithResult() argument 401 return sendInner(null, code, intent, resolvedType, allowlistToken, finishedReceiver, in sendInner() 407 String resolvedType, IBinder allowlistToken, IIntentReceiver finishedReceiver, in sendInner() argument 435 resolvedType = key.requestResolvedType; in sendInner() 438 resolvedType = key.requestResolvedType; in sendInner() 444 resolvedType = key.requestResolvedType; in sendInner() 492 allResolvedTypes[allResolvedTypes.length - 1] = resolvedType; in sendInner() [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | IActivityTaskManager.aidl | 97 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivity() argument 104 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivityAsUser() argument 111 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivityIntentSender() argument 114 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivityAndWait() argument 118 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivityWithConfig() argument 122 int callingUid, in Intent intent, in String resolvedType, in startVoiceActivity() argument 127 … int callingUid, in Intent intent, in String resolvedType, in Bundle options, int userId); in startAssistantActivity() argument 136 in Intent intent, in String resolvedType, in IBinder resultTo, in String resultWho, in startActivityAsCaller() argument 140 boolean isActivityStartAllowedOnDisplay(int displayId, in Intent intent, in String resolvedType, in isActivityStartAllowedOnDisplay() argument
|
H A D | ContextImpl.java | 1197 String resolvedType = null; in startIntentSender() local 1207 fillInIntent, resolvedType, null, null, in startIntentSender() 1221 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcast() local 1236 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcast() local 1254 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcastMultiplePermissions() local 1271 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcastMultiplePermissions() local 1287 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcastAsUserMultiplePermissions() local 1681 if (resolvedType != null) { in removeStickyBroadcast() 1683 intent.setDataAndType(intent.getData(), resolvedType); in removeStickyBroadcast() local 1765 if (resolvedType != null) { in removeStickyBroadcastAsUser() [all …]
|
H A D | PendingIntent.java | 565 String resolvedType = intent.resolveTypeIfNeeded(context.getContentResolver()); in getActivityAsUser() local 574 resolvedType != null ? new String[] { resolvedType } : null, in getActivityAsUser() 752 String resolvedType = intent.resolveTypeIfNeeded(context.getContentResolver()); in getBroadcastAsUser() local 760 resolvedType != null ? new String[] { resolvedType } : null, in getBroadcastAsUser() 831 String resolvedType = intent.resolveTypeIfNeeded(context.getContentResolver()); in buildServicePendingIntent() local 839 resolvedType != null ? new String[] { resolvedType } : null, in buildServicePendingIntent() 1089 String resolvedType = intent != null ? in sendAndReturnResult() local 1106 mTarget, mWhitelistToken, code, intent, resolvedType, in sendAndReturnResult()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | PackageManagerWrapper.java | 77 final String resolvedType = in resolveActivity() local 81 intent, resolvedType, flags, UserHandle.getCallingUserId()); in resolveActivity()
|