Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DClipData.java964 public void fixUris(int contentUserHint) { in fixUris() argument
969 item.mIntent.fixUris(contentUserHint); in fixUris()
972 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUris()
981 public void fixUrisLight(int contentUserHint) { in fixUrisLight() argument
988 item.mIntent.setData(maybeAddUserId(data, contentUserHint)); in fixUrisLight()
992 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUrisLight()
DIntent.java9924 public void fixUris(int contentUserHint) { in fixUris() argument
9927 mData = maybeAddUserId(data, contentUserHint); in fixUris()
9930 mClipData.fixUris(contentUserHint); in fixUris()
9936 putExtra(EXTRA_STREAM, maybeAddUserId(stream, contentUserHint)); in fixUris()
9943 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint)); in fixUris() local
9952 putExtra(MediaStore.EXTRA_OUTPUT, maybeAddUserId(output, contentUserHint)); in fixUris()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java413 private void setProfileSwitchMessageId(int contentUserHint) { in setProfileSwitchMessageId() argument
414 if (contentUserHint != UserHandle.USER_CURRENT && in setProfileSwitchMessageId()
415 contentUserHint != UserHandle.myUserId()) { in setProfileSwitchMessageId()
417 UserInfo originUserInfo = userManager.getUserInfo(contentUserHint); in setProfileSwitchMessageId()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java9062 int contentUserHint = intent.getContentUserHint(); in checkGrantUriPermissionFromIntentLocked() local
9063 if (contentUserHint == UserHandle.USER_CURRENT) { in checkGrantUriPermissionFromIntentLocked()
9064 contentUserHint = UserHandle.getUserId(callingUid); in checkGrantUriPermissionFromIntentLocked()
9085 GrantUri grantUri = GrantUri.resolve(contentUserHint, data); in checkGrantUriPermissionFromIntentLocked()
9099 GrantUri grantUri = GrantUri.resolve(contentUserHint, uri); in checkGrantUriPermissionFromIntentLocked()