Home
last modified time | relevance | path

Searched refs:resolvedType (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverLocked.java95 @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
107 return super.queryActivities(computer, intent, resolvedType, flags, activities, userId); in queryActivities()
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
135 return super.queryProviders(computer, intent, resolvedType, flags, providers, userId); in queryProviders()
152 @Nullable String resolvedType, long flags, @UserIdInt int userId) { in queryReceivers() argument
154 return super.queryReceivers(computer, intent, resolvedType, flags, userId); in queryReceivers()
[all …]
DComponentResolverApi.java58 @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
DComponentResolverBase.java129 @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
138 return mActivities.queryIntentForPackage(computer, intent, resolvedType, flags, activities, in queryActivities()
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
180 return mProviders.queryIntentForPackage(computer, intent, resolvedType, flags, providers, in queryProviders()
244 @Nullable String resolvedType, long flags, int userId) { in queryReceivers() argument
245 return mReceivers.queryIntent(computer, intent, resolvedType, flags, userId); in queryReceivers()
[all …]
/frameworks/base/services/core/java/com/android/server/firewall/
DStringFilter.java122 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
123 String value = mValueProvider.getValue(resolvedComponent, intent, resolvedType); in matches()
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;
[all …]
DSenderFilter.java83 int callerUid, int callerPid, String resolvedType, int receivingUid) {
91 int callerUid, int callerPid, String resolvedType, int receivingUid) {
99 int callerUid, int callerPid, String resolvedType, int receivingUid) {
108 int callerUid, int callerPid, String resolvedType, int receivingUid) {
DIntentFirewall.java144 String resolvedType, ApplicationInfo resolvedApp) { in checkStartActivity() argument
146 callerUid, callerPid, resolvedType, resolvedApp.uid); in checkStartActivity()
150 int callerPid, String resolvedType, ApplicationInfo resolvedApp) { in checkService() argument
152 callerPid, resolvedType, resolvedApp.uid); in checkService()
156 String resolvedType, int receivingUid) { in checkBroadcast() argument
158 callerUid, callerPid, resolvedType, receivingUid); in checkBroadcast()
162 int intentType, Intent intent, int callerUid, int callerPid, String resolvedType, in checkIntent() argument
170 candidateRules = resolver.queryIntent(getPackageManager().snapshot(), intent, resolvedType, in checkIntent()
181 if (rule.matches(this, resolvedComponent, intent, callerUid, callerPid, resolvedType, in checkIntent()
195 logIntent(intentType, intent, callerUid, resolvedType); in checkIntent()
[all …]
DAndFilter.java29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
32 resolvedType, receivingUid)) { in matches()
DOrFilter.java29 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
32 resolvedType, receivingUid)) { in matches()
DNotFilter.java36 int callerUid, int callerPid, String resolvedType, int receivingUid) { in matches() argument
37 return !mChild.matches(ifw, resolvedComponent, intent, callerUid, callerPid, resolvedType, in matches()
/frameworks/base/services/core/java/com/android/server/pm/
DResolveIntentHelper.java108 public ResolveInfo resolveIntentInternal(Computer computer, Intent intent, String resolvedType, in resolveIntentInternal() argument
119 resolvedType, flags)); in resolveIntentInternal()
125 resolvedType, flags, privateResolveFlags, filterCallingUid, userId, in resolveIntentInternal()
133 final ResolveInfo bestChoice = chooseBestActivity(computer, intent, resolvedType, flags, in resolveIntentInternal()
146 private ResolveInfo chooseBestActivity(Computer computer, Intent intent, String resolvedType, in chooseBestActivity() argument
174 intent, resolvedType, flags, query, true, false, debug, in chooseBestActivity()
277 String resolvedType = intentToResolve.resolveTypeIfNeeded(contentResolver); in getLaunchIntentSenderForPackage() local
278 … List<ResolveInfo> ris = computer.queryIntentActivitiesInternal(intentToResolve, resolvedType, in getLaunchIntentSenderForPackage()
285 resolvedType = intentToResolve.resolveTypeIfNeeded(contentResolver); in getLaunchIntentSenderForPackage()
286 ris = computer.queryIntentActivitiesInternal(intentToResolve, resolvedType, in getLaunchIntentSenderForPackage()
[all …]
DIPackageManagerBase.java152 String resolvedType) { in activitySupportsIntent() argument
154 resolvedType); in activitySupportsIntent()
206 public final boolean canForwardTo(@NonNull Intent intent, @Nullable String resolvedType, in canForwardTo() argument
208 return snapshot().canForwardTo(intent, resolvedType, sourceUserId, targetUserId); in canForwardTo()
998 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, int userId) { in queryIntentActivities() argument
1003 resolvedType, flags, userId)); in queryIntentActivities()
1031 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, int userId) { in queryIntentActivityOptions() argument
1033 snapshot(), caller, specifics, specificTypes, intent, resolvedType, flags, in queryIntentActivityOptions()
1041 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, int userId) { in queryIntentContentProviders() argument
1043 snapshot(), intent, resolvedType, flags, userId)); in queryIntentContentProviders()
[all …]
DComputer.java111 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() argument
115 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() argument
117 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() argument
119 @NonNull List<ResolveInfo> queryIntentServicesInternal(Intent intent, String resolvedType, in queryIntentServicesInternal() argument
122 String resolvedType, long flags, int filterCallingUid, int userId, in queryIntentActivitiesInternalBody() argument
157 CrossProfileDomainInfo getCrossProfileDomainPreferredLpr(Intent intent, String resolvedType, in getCrossProfileDomainPreferredLpr() argument
161 String resolvedType, int userId); in getMatchingCrossProfileIntentFilters() argument
219 String resolvedType, long flags); in isImplicitImageCaptureIntentAndNotSetByDpc() argument
289 Intent intent, String resolvedType, long flags, List<ResolveInfo> query, boolean always, in findPreferredActivityInternal() argument
291 ResolveInfo findPersistentPreferredActivity(Intent intent, String resolvedType, long flags, in findPersistentPreferredActivity() argument
[all …]
DPreferredActivityHelper.java80 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in findPreferredActivityNotLocked() argument
83 return findPreferredActivityNotLocked(snapshot, intent, resolvedType, flags, query, always, in findPreferredActivityNotLocked()
91 Intent intent, String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in findPreferredActivityNotLocked() argument
102 intent, resolvedType, flags, query, always, in findPreferredActivityNotLocked()
684 final String resolvedType = intent.resolveTypeIfNeeded(mPm.mContext.getContentResolver());
687 snapshot.isImplicitImageCaptureIntentAndNotSetByDpc(intent, userId, resolvedType,
690 resolvedType, flags, userId);
691 return snapshot.findPersistentPreferredActivity(intent, resolvedType, flags, query, false,
699 String resolvedType, int flags, WatchedIntentFilter filter, int match,
707 + " resolvedType=" + resolvedType
[all …]
DPackageManagerInternalBase.java309 Intent intent, String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in queryIntentActivities() argument
311 return snapshot().queryIntentActivitiesInternal(intent, resolvedType, flags, in queryIntentActivities()
318 String resolvedType, @PackageManager.ResolveInfoFlagsBits long flags, in queryIntentReceivers() argument
321 resolvedType, flags, userId, filterCallingUid, forSend); in queryIntentReceivers()
329 final String resolvedType = intent.resolveTypeIfNeeded(getContext().getContentResolver()); in queryIntentServices() local
330 return snapshot().queryIntentServicesInternal(intent, resolvedType, flags, userId, in queryIntentServices()
413 Intent origIntent, String resolvedType, String callingPackage, in requestInstantAppResolutionPhaseTwo() argument
417 resolvedType, callingPackage, callingFeatureId, isRequesterInstantApp, in requestInstantAppResolutionPhaseTwo()
459 public final ResolveInfo resolveIntent(Intent intent, String resolvedType, in resolveIntent() argument
464 intent, resolvedType, flags, privateResolveFlags, userId, resolveForStart, in resolveIntent()
[all …]
DInstantAppResolver.java155 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()
/frameworks/base/core/java/android/content/pm/
DInstantAppRequest.java36 public final String resolvedType; field in InstantAppRequest
63 String resolvedType, String callingPackage, @Nullable String callingFeatureId, in InstantAppRequest() argument
69 this.resolvedType = resolvedType; in InstantAppRequest()
DIPackageManager.aidl93 String resolvedType); in activitySupportsIntent() argument
129 ResolveInfo resolveIntent(in Intent intent, String resolvedType, long flags, int userId); in resolveIntent() argument
133 boolean canForwardTo(in Intent intent, String resolvedType, int sourceUserId, int targetUserId); in canForwardTo() argument
136 String resolvedType, long flags, int userId); in queryIntentActivities() argument
141 String resolvedType, long flags, int userId); in queryIntentActivityOptions() argument
144 String resolvedType, long flags, int userId); in queryIntentReceivers() argument
147 String resolvedType, long flags, int userId); in resolveService() argument
150 String resolvedType, long flags, int userId); in queryIntentServices() argument
153 String resolvedType, long flags, int userId); in queryIntentContentProviders() argument
254 String resolvedType, int flags); in getLastChosenActivity() argument
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityInterceptorCallback.java108 public final String resolvedType; field in ActivityInterceptorCallback.ActivityInterceptorInfo
116 ResolveInfo rInfo, ActivityInfo aInfo, String resolvedType, int callingPid, in ActivityInterceptorInfo() argument
127 this.resolvedType = resolvedType; in ActivityInterceptorInfo()
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java159 IntentFilter filter, Intent intent, String resolvedType) { in intentMatchesFilter() argument
172 final int match = filter.match(intent.getAction(), resolvedType, intent.getScheme(), in intentMatchesFilter()
429 String resolvedType, boolean defaultOnly, ArrayList<F[]> listCut, int userId, in queryIntentFromList() argument
440 buildResolveList(computer, intent, categories, debug, defaultOnly, resolvedType, scheme, in queryIntentFromList()
449 String resolvedType, boolean defaultOnly, @UserIdInt int userId) { in queryIntent() argument
450 return queryIntent(snapshot, intent, resolvedType, defaultOnly, userId, 0); in queryIntent()
454 String resolvedType, boolean defaultOnly, @UserIdInt int userId, long customFlags) { in queryIntent() argument
463 TAG, "Resolving type=" + resolvedType + " scheme=" + scheme in queryIntent()
473 if (resolvedType != null) { in queryIntent()
474 int slashpos = resolvedType.indexOf('/'); in queryIntent()
[all …]
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl97 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
119 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivityIntentSender() argument
122 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivityAndWait() argument
126 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivityWithConfig() argument
130 int callingUid, in Intent intent, in String resolvedType, in startVoiceActivity() argument
135 … int callingUid, in Intent intent, in String resolvedType, in Bundle options, int userId); in startAssistantActivity() argument
144 in Intent intent, in String resolvedType, in IBinder resultTo, in String resultWho, in startActivityAsCaller() argument
148 boolean isActivityStartAllowedOnDisplay(int displayId, in Intent intent, in String resolvedType, in isActivityStartAllowedOnDisplay() argument
DContextImpl.java1166 String resolvedType = null; in startIntentSender() local
1170 resolvedType = fillInIntent.resolveTypeIfNeeded(getContentResolver()); in startIntentSender()
1176 fillInIntent, resolvedType, null, null, in startIntentSender()
1190 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcast() local
1194 mMainThread.getApplicationThread(), getAttributionTag(), intent, resolvedType, in sendBroadcast() local
1205 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcast() local
1211 mMainThread.getApplicationThread(), getAttributionTag(), intent, resolvedType, in sendBroadcast() local
1223 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcastMultiplePermissions() local
1227 mMainThread.getApplicationThread(), getAttributionTag(), intent, resolvedType, in sendBroadcastMultiplePermissions() local
1240 String resolvedType = intent.resolveTypeIfNeeded(getContentResolver()); in sendBroadcastMultiplePermissions() local
[all …]
DPendingIntent.java483 String resolvedType = intent.resolveTypeIfNeeded(context.getContentResolver()); in getActivityAsUser() local
492 resolvedType != null ? new String[] { resolvedType } : null, in getActivityAsUser()
670 String resolvedType = intent.resolveTypeIfNeeded(context.getContentResolver()); in getBroadcastAsUser() local
678 resolvedType != null ? new String[] { resolvedType } : null, in getBroadcastAsUser()
749 String resolvedType = intent.resolveTypeIfNeeded(context.getContentResolver()); in buildServicePendingIntent() local
757 resolvedType != null ? new String[] { resolvedType } : null, in buildServicePendingIntent()
998 String resolvedType = intent != null ? in sendAndReturnResult() local
1013 mTarget, mWhitelistToken, code, intent, resolvedType, in sendAndReturnResult()
DIActivityManager.aidl116 in String resolvedType, in IBinder resultTo, in String resultWho, int requestCode, in startActivity() argument
119 in String callingFeatureId, in Intent intent, in String resolvedType, in startActivityWithFeature() argument
138 in String resolvedType, in IIntentReceiver resultTo, int resultCode, in broadcastIntent() argument
142 in Intent intent, in String resolvedType, in IIntentReceiver resultTo, int resultCode, in broadcastIntentWithFeature() argument
164 in String resolvedType, boolean requireForeground, in String callingPackage, in startService() argument
168 in String resolvedType, int userId); in stopService() argument
172 in String resolvedType, in IServiceConnection connection, int flags, in bindService() argument
175 in String resolvedType, in IServiceConnection connection, int flags, in bindServiceInstance() argument
295 IBinder peekService(in Intent service, in String resolvedType, in String callingPackage); in peekService() argument
398 in Intent intent, in String resolvedType, in IBinder resultTo, in String resultWho, in startActivityAsUser() argument
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentRecord.java303 public void send(int code, Intent intent, String resolvedType, IBinder allowlistToken, in send() argument
305 sendInner(code, intent, resolvedType, allowlistToken, finishedReceiver, in send()
309 public int sendWithResult(int code, Intent intent, String resolvedType, IBinder allowlistToken, in sendWithResult() argument
311 return sendInner(code, intent, resolvedType, allowlistToken, finishedReceiver, in sendWithResult()
342 public int sendInner(int code, Intent intent, String resolvedType, IBinder allowlistToken, in sendInner() argument
370 resolvedType = key.requestResolvedType; in sendInner()
373 resolvedType = key.requestResolvedType; in sendInner()
379 resolvedType = key.requestResolvedType; in sendInner()
413 allResolvedTypes[allResolvedTypes.length - 1] = resolvedType; in sendInner()
503 resolvedType, resultTo, resultWho, requestCode, 0, in sendInner()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPackageManagerWrapper.java77 final String resolvedType = in resolveActivity() local
81 intent, resolvedType, flags, UserHandle.getCallingUserId()); in resolveActivity()

123