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()
247 int providerUser = ContentProvider.getUserIdFromUri(uri, userId); in checkSlicePermission()
275 int providerUser = ContentProvider.getUserIdFromUri(grantUri, userId); in grantPermissionFromUser()
404 providerName, 0, getUserIdFromUri(uri, user)); in getProviderPkg()
413 if (getUserIdFromUri(uri, user) != user) { in enforceCrossUser()
422 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.java80 return new GrantUri(ContentProvider.getUserIdFromUri(uri, defaultSourceUserHandle), in resolve()
/frameworks/base/core/java/android/content/
DContentProvider.java320 int userId = getUserIdFromUri(uri); in insert()
378 userIds[i] = getUserIdFromUri(uri); in applyBatch()
571 int userId = getUserIdFromUri(uri); in canonicalize()
607 int userId = getUserIdFromUri(uri); in uncanonicalize()
2564 public static int getUserIdFromUri(Uri uri, int defaultUserId) { in getUserIdFromUri() method in ContentProvider
2570 public static int getUserIdFromUri(Uri uri) { in getUserIdFromUri() method in ContentProvider
2571 return getUserIdFromUri(uri, UserHandle.USER_CURRENT); in getUserIdFromUri()
2581 return UserHandle.of(getUserIdFromUri(uri, Process.myUserHandle().getIdentifier())); in getUserHandleFromUri()
DContentResolver.java2619 ContentProvider.getUserIdFromUri(uri, mContext.getUserId()));
2740 ContentProvider.getUserIdFromUri(uri, mContext.getUserId()));
2783 final int userId = ContentProvider.getUserIdFromUri(uri, mContext.getUserId());
3837 return ContentProvider.getUserIdFromUri(uri, mContext.getUserId());
/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/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java116 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java213 assertEquals(workUserId, ContentProvider.getUserIdFromUri(queryUri.getValue())); in testSearchContacts_workContact_queriesWorkContactProvider()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java752 int uriUserId = ContentProvider.getUserIdFromUri(currentUri, mPickerUserId); in bindView()
/frameworks/base/media/java/android/media/
DRingtoneManager.java792 && ContentProvider.getUserIdFromUri(ringtoneUri) == context.getUserId()) { in getActualDefaultRingtoneUri()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1297 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in visitGrantableUri()
DNotificationManagerService.java7786 int userId = ContentProvider.getUserIdFromUri(
7806 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid)),
/frameworks/base/core/java/android/app/
DContextImpl.java2110 return ContentProvider.getUserIdFromUri(uri, getUserId()); in resolveUserId()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java748 final int userId = getUserIdFromUri(uri, UserHandle.getCallingUserId()); in openFile()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java5174 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken()
/frameworks/base/config/
Dboot-image-profile.txt4755 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;)I
4756 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;I)I