Home
last modified time | relevance | path

Searched refs:contentUserHint (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/content/
DClipData.java849 public void fixUris(int contentUserHint) { in fixUris() argument
854 item.mIntent.fixUris(contentUserHint); in fixUris()
857 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUris()
866 public void fixUrisLight(int contentUserHint) { in fixUrisLight() argument
873 item.mIntent.setData(maybeAddUserId(data, contentUserHint)); in fixUrisLight()
877 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUrisLight()
DIntent.java8964 public void fixUris(int contentUserHint) { in fixUris() argument
8967 mData = maybeAddUserId(data, contentUserHint); in fixUris()
8970 mClipData.fixUris(contentUserHint); in fixUris()
8976 putExtra(EXTRA_STREAM, maybeAddUserId(stream, contentUserHint)); in fixUris()
8983 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint)); in fixUris() local
8992 putExtra(MediaStore.EXTRA_OUTPUT, maybeAddUserId(output, contentUserHint)); in fixUris()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java446 private void setProfileSwitchMessageId(int contentUserHint) { in setProfileSwitchMessageId() argument
447 if (contentUserHint != UserHandle.USER_CURRENT && in setProfileSwitchMessageId()
448 contentUserHint != UserHandle.myUserId()) { in setProfileSwitchMessageId()
450 UserInfo originUserInfo = userManager.getUserInfo(contentUserHint); in setProfileSwitchMessageId()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8200 int contentUserHint = intent.getContentUserHint(); in checkGrantUriPermissionFromIntentLocked() local
8201 if (contentUserHint == UserHandle.USER_CURRENT) { in checkGrantUriPermissionFromIntentLocked()
8202 contentUserHint = UserHandle.getUserId(callingUid); in checkGrantUriPermissionFromIntentLocked()
8223 GrantUri grantUri = GrantUri.resolve(contentUserHint, data); in checkGrantUriPermissionFromIntentLocked()
8237 GrantUri grantUri = GrantUri.resolve(contentUserHint, uri); in checkGrantUriPermissionFromIntentLocked()