/frameworks/base/services/core/java/com/android/server/uri/ |
D | GrantUri.java | 29 public final int sourceUserId; field in GrantUri 33 public GrantUri(int sourceUserId, Uri uri, int modeFlags) { in GrantUri() argument 34 this.sourceUserId = sourceUserId; in GrantUri() 42 hashCode = 31 * hashCode + sourceUserId; in hashCode() 52 return uri.equals(other.uri) && (sourceUserId == other.sourceUserId) in equals() 60 String result = uri.toString() + " [user " + sourceUserId + "]"; in toString() 66 String result = uri.toSafeString() + " [user " + sourceUserId + "]"; in toSafeString() 74 proto.write(GrantUriProto.SOURCE_USER_ID, sourceUserId); in dumpDebug()
|
D | UriGrantsManagerService.java | 255 Uri uri, final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwner() argument 256 grantUriPermissionFromOwnerUnlocked(token, fromUid, targetPkg, uri, modeFlags, sourceUserId, in grantUriPermissionFromOwner() 265 int sourceUserId, int targetUserId) { in grantUriPermissionFromOwnerUnlocked() argument 288 grantUriPermissionUnlocked(fromUid, targetPkg, new GrantUri(sourceUserId, uri, modeFlags), in grantUriPermissionFromOwnerUnlocked() 553 if (grantUri.sourceUserId == userId || !checkUser) { in checkAuthorityGrantsLocked() 788 final int sourceUserId; in readGrantedUriPermissionsLocked() local 794 sourceUserId = userHandle; in readGrantedUriPermissionsLocked() 797 sourceUserId = in.getAttributeInt(null, ATTR_SOURCE_USER_ID); in readGrantedUriPermissionsLocked() 810 final ProviderInfo pi = getProviderInfo(uri.getAuthority(), sourceUserId, in readGrantedUriPermissionsLocked() 816 final GrantUri grantUri = new GrantUri(sourceUserId, uri, in readGrantedUriPermissionsLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentResolverEngine.java | 127 Intent intent, String resolvedType, int sourceUserId, int userId, long flags, in resolveIntentInternal() argument 143 if (sourceUserId == userId && intent.hasWebURI()) { in resolveIntentInternal() 226 resolvedType, sourceUserId, targetUserId, flags, pkgName, in resolveIntentInternal() 250 @UserIdInt int sourceUserId, @UserIdInt int targetUserId, boolean resolveForStart, in chooseCrossProfileResolver() argument 256 if (shouldUseNoFilteringResolver(sourceUserId, targetUserId)) { in chooseCrossProfileResolver() 284 @Nullable String resolvedType, @UserIdInt int sourceUserId, in canReachTo() argument 287 return canReachToInternal(computer, intent, resolvedType, sourceUserId, targetUserId, in canReachTo() 304 @Nullable String resolvedType, @UserIdInt int sourceUserId, in canReachToInternal() argument 306 if (sourceUserId == targetUserId) return true; in canReachToInternal() 307 visitedUserIds.add(sourceUserId); in canReachToInternal() [all …]
|
D | DefaultCrossProfileResolver.java | 131 int sourceUserId, int targetUserId, int highestApprovalLevel) { in filterResolveInfoWithDomainPreferredActivity() argument 164 long flags, int sourceUserId, in querySkipCurrentProfileIntents() argument 174 intent, resolvedType, flags, sourceUserId, pkgSettingFunction); in querySkipCurrentProfileIntents() 205 long flags, int sourceUserId, boolean matchInCurrentProfile, in queryCrossProfileIntents() argument 230 resolvedType, flags, sourceUserId, pkgSettingFunction); in queryCrossProfileIntents() 249 filterIfNotSystemUser(Collections.singletonList(resultInfo), sourceUserId); in queryCrossProfileIntents() 274 int sourceUserId, @NonNull Function<String, PackageStateInternal> pkgSettingFunction) { in createForwardingResolveInfo() argument 291 forwardingInfo = computer.createForwardingResolveInfoUnchecked(filter, sourceUserId, in createForwardingResolveInfo()
|
D | CrossProfileIntentFilterHelper.java | 82 public void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage, in clearCrossProfileIntentFilters() argument 86 .editCrossProfileIntentResolverLPw(sourceUserId); in clearCrossProfileIntentFilters() 94 && mUserManagerService.isCrossProfileIntentFilterAccessible(sourceUserId, in clearCrossProfileIntentFilters()
|
D | CrossProfileResolver.java | 84 int sourceUserId, int targetUserId, int highestApprovalLevel); in filterResolveInfoWithDomainPreferredActivity() argument
|
D | NoFilteringResolver.java | 130 List<CrossProfileDomainInfo> crossProfileDomainInfos, long flags, int sourceUserId, in filterResolveInfoWithDomainPreferredActivity() argument
|
D | Computer.java | 169 long flags, int sourceUserId, int parentUserId); in getCrossProfileDomainPreferredLpr() argument 206 int sourceUserId, int targetUserId); in createForwardingResolveInfoUnchecked() argument 615 @UserIdInt int sourceUserId, @UserIdInt int targetUserId); in canForwardTo() argument
|
D | IPackageManagerBase.java | 158 int sourceUserId, int targetUserId, int flags) { in addCrossProfileIntentFilter() argument 160 new WatchedIntentFilter(intentFilter), ownerPackage, sourceUserId, targetUserId, in addCrossProfileIntentFilter() local 205 @UserIdInt int sourceUserId, @UserIdInt int targetUserId) { in canForwardTo() argument 206 return snapshot().canForwardTo(intent, resolvedType, sourceUserId, targetUserId); in canForwardTo()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillUriGrantsManager.java | 101 final int sourceUserId = ContentProvider.getUserIdFromUri(uri, mSourceUserId); in grantUriPermissions() local 104 + ", sourceUid=" + mSourceUid + ", sourceUserId=" + sourceUserId in grantUriPermissions() 117 sourceUserId, in grantUriPermissions() 121 + ", sourceUid=" + mSourceUid + ", sourceUserId=" + sourceUserId in grantUriPermissions()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputContentUriTokenHandler.java | 51 @NonNull String targetPackage, @UserIdInt int sourceUserId, in InputContentUriTokenHandler() argument 56 mSourceUserId = sourceUserId; in InputContentUriTokenHandler()
|
D | InputMethodUtils.java | 231 final int sourceUserId; in resolveUserId() local 233 sourceUserId = currentUserId; in resolveUserId() 242 sourceUserId = userIdToBeResolved; in resolveUserId() 251 return new int[]{sourceUserId}; in resolveUserId()
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
D | UserVisibleJobSummary.java | 43 int sourceUserId, @NonNull String sourcePackageName, in UserVisibleJobSummary() argument 47 mSourceUserId = sourceUserId; in UserVisibleJobSummary()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 53 String targetPackage, int mode, int sourceUserId, int targetUserId) { in DragAndDropPermissionsHandler() argument 58 mSourceUserId = sourceUserId; in DragAndDropPermissionsHandler()
|
D | ActivityCallerState.java | 316 out.attributeInt(null, ATTR_SOURCE_USER_ID, grantUri.sourceUserId); in saveGrantUriToXml() 324 int sourceUserId = in.getAttributeInt(null, ATTR_SOURCE_USER_ID, 0); in restoreGrantUriFromXml() local 327 return new GrantUri(sourceUserId, uri, in restoreGrantUriFromXml()
|
/frameworks/base/core/java/android/app/ |
D | IUriGrantsManager.aidl | 31 in Uri uri, int mode, int sourceUserId, int targetUserId); in grantUriPermissionFromOwner() argument
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ContentObserverController.java | 280 final int sourceUserId = jobStatus.getSourceUserId(); in JobInstance() local 282 mObservers.get(sourceUserId); in JobInstance() 285 mObservers.put(sourceUserId, observersOfUser); in JobInstance() 298 + " sourceUserId=" + sourceUserId); in JobInstance() 304 sourceUserId in JobInstance() local
|
D | JobStatus.java | 250 final int sourceUserId; field in JobStatus 604 int sourceUserId, int standbyBucket, @Nullable String namespace, String tag, in JobStatus() argument 617 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus() 620 sourceUserId); in JobStatus() 627 this.sourceUserId = UserHandle.getUserId(callingUid); in JobStatus() 632 this.sourceUserId = sourceUserId; in JobStatus() 763 public JobStatus(JobInfo job, int callingUid, String sourcePkgName, int sourceUserId, in JobStatus() argument 770 this(job, callingUid, sourcePkgName, sourceUserId, in JobStatus() 815 int sourceUserId, @Nullable String namespace, String tag) { in createFromJobInfo() argument 835 sourceUserId, elapsedNow); in createFromJobInfo() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 118 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri() local 125 sourceUid, targetPackage, uri, grantFlags, sourceUserId, targetUserId); in grantUri()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 137 boolean canForwardTo(in Intent intent, String resolvedType, int sourceUserId, int targetUserId); in canForwardTo() argument 289 int sourceUserId, int targetUserId, int flags); in addCrossProfileIntentFilter() argument 293 int sourceUserId, int targetUserId, int flags); in removeCrossProfileIntentFilter() argument 296 void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage); in clearCrossProfileIntentFilters() argument
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/ |
D | PackageManagerStub.java | 964 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, in addCrossProfileIntentFilter() argument 971 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 959 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument 964 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 582 static Intent canForward(Intent incomingIntent, int sourceUserId, int targetUserId, in canForward() argument 600 intentToCheck, resolvedType, sourceUserId, targetUserId)) { in canForward()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockPackageManager.java | 1140 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument 1149 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | MockPackageManager.java | 1070 public void addCrossProfileIntentFilter(@NonNull IntentFilter filter, int sourceUserId, in addCrossProfileIntentFilter() argument 1076 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
|