/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 22 import static android.content.ContentProvider.getUserIdFromUri; 137 mPinnedSlicesByUri.values().removeIf(s -> getUserIdFromUri(s.getUri()) == userId); in onStopUser() 151 int userId = ContentProvider.getUserIdFromUri(uri, callingUser); in getPinnedSlices() 243 int providerUser = ContentProvider.getUserIdFromUri(uri, userId); in checkSlicePermission() 271 int providerUser = ContentProvider.getUserIdFromUri(grantUri, userId); in grantPermissionFromUser() 405 providerName, getUserIdFromUri(uri, user), token); in getProviderPkg() 428 if (getUserIdFromUri(uri, user) != user) { in enforceCrossUser() 437 int userId = ContentProvider.getUserIdFromUri(uri, in enforceAccess()
|
D | SlicePermissionManager.java | 154 int providerUserId = ContentProvider.getUserIdFromUri(uri, userId); in hasPermission()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 258 int userId = getUserIdFromUri(uri); in insert() 296 userIds[i] = getUserIdFromUri(uri); in applyBatch() 438 int userId = getUserIdFromUri(uri); in canonicalize() 454 int userId = getUserIdFromUri(uri); in uncanonicalize() 2062 public static int getUserIdFromUri(Uri uri, int defaultUserId) { in getUserIdFromUri() method in ContentProvider 2068 public static int getUserIdFromUri(Uri uri) { in getUserIdFromUri() method in ContentProvider 2069 return getUserIdFromUri(uri, UserHandle.USER_CURRENT); in getUserIdFromUri()
|
D | ContentResolver.java | 1965 ContentProvider.getUserIdFromUri(uri, mContext.getUserId())); in registerContentObserver() 2051 ContentProvider.getUserIdFromUri(uri, mContext.getUserId())); in notifyChange() 2085 ContentProvider.getUserIdFromUri(uri, mContext.getUserId())); in notifyChange() 3060 return ContentProvider.getUserIdFromUri(uri, mContext.getUserId()); in resolveUserId()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 503 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in checkUriOwnerLocked() 537 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid)), in grantUriLocked() 594 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in revokeUriLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SliceBroadcastRelayHandler.java | 93 mUserId = new UserHandle(ContentProvider.getUserIdFromUri(uri)); in BroadcastRelay()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputContentInfo.java | 96 ContentProvider.getUserIdFromUri(mContentUri, UserHandle.myUserId()); in InputContentInfo()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 306 mode, ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(srcUid))); in grantUriPermission() 308 int sourceUserId = ContentProvider.getUserIdFromUri(uri, mUser); in grantUriPermission()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | GrantedUriPermissions.java | 116 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 816 && ContentProvider.getUserIdFromUri(ringtoneUri) == context.getUserId()) { in getActualDefaultRingtoneUri()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 1077 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in visitGrantableUri()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1904 return ContentProvider.getUserIdFromUri(uri, getUserId()); in resolveUserId()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 655 final int userId = getUserIdFromUri(uri, UserHandle.getCallingUserId()); in openFile()
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 4581 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 1272 return new GrantUri(ContentProvider.getUserIdFromUri(uri, defaultSourceUserHandle), in resolve()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 17024 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;I)I
|