/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 22 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()
|
D | SlicePermissionManager.java | 154 int providerUserId = ContentProvider.getUserIdFromUri(uri, userId); in hasPermission()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | GrantUri.java | 80 return new GrantUri(ContentProvider.getUserIdFromUri(uri, defaultSourceUserHandle), in resolve()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 320 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()
|
D | ContentResolver.java | 2619 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/ |
D | InputContentInfo.java | 96 ContentProvider.getUserIdFromUri(mContentUri, UserHandle.myUserId()); in InputContentInfo()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 626 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/ |
D | VoiceInteractionSessionConnection.java | 317 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/ |
D | GrantedUriPermissions.java | 116 int sourceUserId = ContentProvider.getUserIdFromUri(uri, in grantUri()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 213 assertEquals(workUserId, ContentProvider.getUserIdFromUri(queryUri.getValue())); in testSearchContacts_workContact_queriesWorkContactProvider()
|
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/ |
D | RingtonePickerActivity.java | 752 int uriUserId = ContentProvider.getUserIdFromUri(currentUri, mPickerUserId); in bindView()
|
/frameworks/base/media/java/android/media/ |
D | RingtoneManager.java | 792 && ContentProvider.getUserIdFromUri(ringtoneUri) == context.getUserId()) { in getActualDefaultRingtoneUri()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 1297 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid))); in visitGrantableUri()
|
D | NotificationManagerService.java | 7786 int userId = ContentProvider.getUserIdFromUri( 7806 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(sourceUid)),
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2110 return ContentProvider.getUserIdFromUri(uri, getUserId()); in resolveUserId()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 748 final int userId = getUserIdFromUri(uri, UserHandle.getCallingUserId()); in openFile()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 5174 final int contentUriOwnerUserId = ContentProvider.getUserIdFromUri(contentUri, in createInputContentUriToken()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 4755 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;)I 4756 HSPLandroid/content/ContentProvider;->getUserIdFromUri(Landroid/net/Uri;I)I
|