Home
last modified time | relevance | path

Searched refs:getUserIdFromUri (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java22 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()
DSlicePermissionManager.java154 int providerUserId = ContentProvider.getUserIdFromUri(uri, userId); in hasPermission()
/frameworks/base/core/java/android/content/
DContentProvider.java258 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()
DContentResolver.java1965 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/
DClipboardService.java503 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/
DSliceBroadcastRelayHandler.java93 mUserId = new UserHandle(ContentProvider.getUserIdFromUri(uri)); in BroadcastRelay()
/frameworks/base/core/java/android/view/inputmethod/
DInputContentInfo.java96 ContentProvider.getUserIdFromUri(mContentUri, UserHandle.myUserId()); in InputContentInfo()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java306 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/
DGrantedUriPermissions.java116 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri()
/frameworks/base/media/java/android/media/
DRingtoneManager.java816 && ContentProvider.getUserIdFromUri(ringtoneUri) == context.getUserId()) { in getActualDefaultRingtoneUri()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1077 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in visitGrantableUri()
/frameworks/base/core/java/android/app/
DContextImpl.java1904 return ContentProvider.getUserIdFromUri(uri, getUserId()); in resolveUserId()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java655 final int userId = getUserIdFromUri(uri, UserHandle.getCallingUserId()); in openFile()
/frameworks/base/services/core/java/com/android/server/
DInputMethodManagerService.java4581 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1272 return new GrantUri(ContentProvider.getUserIdFromUri(uri, defaultSourceUserHandle), in resolve()
/frameworks/base/config/
Dboot-image-profile.txt17024 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;I)I