Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java22 import static android.content.ContentProvider.getUserIdFromUri;
135 mPinnedSlicesByUri.values().removeIf(s -> getUserIdFromUri(s.getUri()) == userId); in onStopUser()
149 int userId = ContentProvider.getUserIdFromUri(uri, callingUser); in getPinnedSlices()
242 int providerUser = ContentProvider.getUserIdFromUri(uri, userId); in checkSlicePermission()
270 int providerUser = ContentProvider.getUserIdFromUri(grantUri, userId); in grantPermissionFromUser()
399 providerName, 0, getUserIdFromUri(uri, user)); in getProviderPkg()
408 if (getUserIdFromUri(uri, user) != user) { in enforceCrossUser()
417 int userId = ContentProvider.getUserIdFromUri(uri, in enforceAccess()
DSlicePermissionManager.java154 int providerUserId = ContentProvider.getUserIdFromUri(uri, userId); in hasPermission()
/frameworks/base/services/core/java/com/android/server/uri/
DGrantUri.java79 return new GrantUri(ContentProvider.getUserIdFromUri(uri, defaultSourceUserHandle), in resolve()
/frameworks/base/core/java/android/content/
DContentProvider.java296 int userId = getUserIdFromUri(uri); in insert()
347 userIds[i] = getUserIdFromUri(uri); in applyBatch()
529 int userId = getUserIdFromUri(uri); in canonicalize()
549 int userId = getUserIdFromUri(uri); in uncanonicalize()
2267 public static int getUserIdFromUri(Uri uri, int defaultUserId) { in getUserIdFromUri() method in ContentProvider
2273 public static int getUserIdFromUri(Uri uri) { in getUserIdFromUri() method in ContentProvider
2274 return getUserIdFromUri(uri, UserHandle.USER_CURRENT); in getUserIdFromUri()
DContentResolver.java2255 ContentProvider.getUserIdFromUri(uri, mContext.getUserId()));
2342 ContentProvider.getUserIdFromUri(uri, mContext.getUserId()));
2376 ContentProvider.getUserIdFromUri(uri, mContext.getUserId()));
3408 return ContentProvider.getUserIdFromUri(uri, mContext.getUserId());
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSliceBroadcastRelayHandler.java96 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/core/java/com/android/server/clipboard/
DClipboardService.java626 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in checkUriOwnerLocked()
658 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid)), in grantUriLocked()
715 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in revokeUriLocked()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java317 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(srcUid))); in grantUriPermission()
319 int sourceUserId = ContentProvider.getUserIdFromUri(uri, mUser); in grantUriPermission()
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java117 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri()
/frameworks/base/media/java/android/media/
DRingtoneManager.java789 && ContentProvider.getUserIdFromUri(ringtoneUri) == context.getUserId()) { in getActualDefaultRingtoneUri()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1226 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in visitGrantableUri()
DNotificationManagerService.java6880 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid)),
6898 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid)));
/frameworks/base/core/java/android/app/
DContextImpl.java2037 return ContentProvider.getUserIdFromUri(uri, getUserId()); in resolveUserId()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java758 final int userId = getUserIdFromUri(uri, UserHandle.getCallingUserId()); in openFile()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java4518 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken()
/frameworks/base/config/
Dboot-image-profile.txt3413 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;)I
3414 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;I)I
Dhiddenapi-greylist-max-o.txt12990 Landroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;)I
12991 Landroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;I)I