/frameworks/base/services/core/java/com/android/server/uri/ |
D | GrantUri.java | 28 public final int sourceUserId; field in GrantUri 32 public GrantUri(int sourceUserId, Uri uri, boolean prefix) { in GrantUri() argument 33 this.sourceUserId = sourceUserId; in GrantUri() 41 hashCode = 31 * hashCode + sourceUserId; in hashCode() 51 return uri.equals(other.uri) && (sourceUserId == other.sourceUserId) in equals() 59 String result = uri.toString() + " [user " + sourceUserId + "]"; in toString() 65 String result = uri.toSafeString() + " [user " + sourceUserId + "]"; in toSafeString() 73 proto.write(GrantUriProto.SOURCE_USER_ID, sourceUserId); in writeToProto()
|
D | UriGrantsManagerService.java | 185 final int modeFlags, int sourceUserId, int targetUserId) { in grantUriPermissionFromOwner() argument 208 grantUriPermission(fromUid, targetPkg, new GrantUri(sourceUserId, uri, false), in grantUriPermissionFromOwner() 475 if (grantUri.sourceUserId == userId || !checkUser) { in checkAuthorityGrants() 642 final int sourceUserId; in readGrantedUriPermissions() local 648 sourceUserId = userHandle; in readGrantedUriPermissions() 651 sourceUserId = readIntAttribute(in, ATTR_SOURCE_USER_ID); in readGrantedUriPermissions() 664 final ProviderInfo pi = getProviderInfo(uri.getAuthority(), sourceUserId, in readGrantedUriPermissions() 676 new GrantUri(sourceUserId, uri, prefix)); in readGrantedUriPermissions() 727 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in grantUriPermissionUnchecked() 781 final ProviderInfo pi = getProviderInfo(authority, grantUri.sourceUserId, in revokeUriPermission() [all …]
|
/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 | 1336 final int sourceUserId; in resolveUserId() local 1338 sourceUserId = currentUserId; in resolveUserId() 1347 sourceUserId = userIdToBeResolved; in resolveUserId() 1357 ? sourceUserId : userManagerInternal.getProfileParentId(sourceUserId); in resolveUserId()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | JobStatus.java | 141 final int sourceUserId; field in JobStatus 366 int sourceUserId, int standbyBucket, long heartbeat, String tag, int numFailures, in JobStatus() argument 376 if (sourceUserId != -1 && sourcePackageName != null) { in JobStatus() 379 sourceUserId); in JobStatus() 386 this.sourceUserId = UserHandle.getUserId(callingUid); in JobStatus() 391 this.sourceUserId = sourceUserId; in JobStatus() 464 public JobStatus(JobInfo job, int callingUid, String sourcePkgName, int sourceUserId, in JobStatus() argument 470 this(job, callingUid, resolveTargetSdkVersion(job), sourcePkgName, sourceUserId, in JobStatus() 510 int sourceUserId, String tag) { in createFromJobInfo() argument 530 sourceUserId, elapsedNow); in createFromJobInfo() [all …]
|
D | ContentObserverController.java | 256 final int sourceUserId = jobStatus.getSourceUserId(); in JobInstance() local 258 mObservers.get(sourceUserId); in JobInstance() 261 mObservers.put(sourceUserId, observersOfUser); in JobInstance() 274 + " sourceUserId=" + sourceUserId); in JobInstance() 280 sourceUserId in JobInstance() local
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 50 int sourceUserId, int targetUserId) { in DragAndDropPermissionsHandler() argument 54 mSourceUserId = sourceUserId; in DragAndDropPermissionsHandler()
|
/frameworks/base/core/java/android/app/ |
D | IUriGrantsManager.aidl | 31 in Uri uri, int mode, int sourceUserId, int targetUserId); in grantUriPermissionFromOwner() argument
|
D | ApplicationPackageManager.java | 2719 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument 2723 sourceUserId, targetUserId, flags); in addCrossProfileIntentFilter() 2733 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument 2735 mPM.clearCrossProfileIntentFilters(sourceUserId, mContext.getOpPackageName()); in clearCrossProfileIntentFilters()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 117 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri() local 124 sourceUid, targetPackage, uri, grantFlags, sourceUserId, targetUserId); in grantUri()
|
D | JobStore.java | 755 int uid, sourceUserId; in restoreJobFromXml() local 779 sourceUserId = val == null ? -1 : Integer.parseInt(val); in restoreJobFromXml() 932 sourceUserId, elapsedNow); in restoreJobFromXml() 935 jobBuilder.build(), uid, sourcePackageName, sourceUserId, in restoreJobFromXml()
|
/frameworks/base/core/java/android/content/pm/ |
D | IPackageManager.aidl | 182 boolean canForwardTo(in Intent intent, String resolvedType, int sourceUserId, int targetUserId); in canForwardTo() argument 319 int sourceUserId, int targetUserId, int flags); in addCrossProfileIntentFilter() argument 321 void clearCrossProfileIntentFilters(int sourceUserId, String ownerPackage); in clearCrossProfileIntentFilters() argument
|
D | PackageManager.java | 6910 @UserIdInt int sourceUserId, @UserIdInt int targetUserId, int flags); in addCrossProfileIntentFilter() argument 6920 public abstract void clearCrossProfileIntentFilters(@UserIdInt int sourceUserId); in clearCrossProfileIntentFilters() argument
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 319 int sourceUserId = ContentProvider.getUserIdFromUri(uri, mUser); in grantUriPermission() local 322 destPkg, uri, FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, mUser); in grantUriPermission()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 920 public void addCrossProfileIntentFilter(IntentFilter filter, int sourceUserId, int targetUserId, in addCrossProfileIntentFilter() argument 925 public void clearCrossProfileIntentFilters(int sourceUserId) { in clearCrossProfileIntentFilters() argument
|
/frameworks/base/services/tests/servicestests/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/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/core/java/com/android/server/ |
D | AlarmManagerService.java | 1858 final int sourceUserId = UserHandle.getUserId(alarm.creatorUid); in adjustDeliveryTimeBasedOnBucketLocked() local 1860 sourcePackage, sourceUserId, mInjector.getElapsedRealtime()); in adjustDeliveryTimeBasedOnBucketLocked() 1865 sourceUserId); in adjustDeliveryTimeBasedOnBucketLocked() 1877 sourceUserId, quotaForBucket); in adjustDeliveryTimeBasedOnBucketLocked() 1893 sourceUserId, 1); in adjustDeliveryTimeBasedOnBucketLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 7041 public boolean canForwardTo(Intent intent, String resolvedType, int sourceUserId, 7046 getMatchingCrossProfileIntentFilters(intent, resolvedType, sourceUserId); 7056 final UserInfo parent = getProfileParent(sourceUserId); 7061 intent, resolvedType, flags, sourceUserId, parent.id); 7403 String resolvedType, int flags, int sourceUserId, int parentUserId) { 7405 sourceUserId)) { 7433 sourceUserId, parentUserId); 7790 int flags, int sourceUserId) { 7799 resolvedType, flags, sourceUserId); 7812 int flags, int sourceUserId, boolean matchInCurrentProfile) { [all …]
|
D | Settings.java | 4108 int sourceUserId = mCrossProfileIntentResolvers.keyAt(i); in removeCrossProfileIntentFiltersLPw() local 4109 CrossProfileIntentResolver cpir = mCrossProfileIntentResolvers.get(sourceUserId); in removeCrossProfileIntentFiltersLPw() 4120 writePackageRestrictionsLPr(sourceUserId); in removeCrossProfileIntentFiltersLPw()
|