Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DClipData.java814 public void fixUris(int contentUserHint) { in fixUris() argument
819 item.mIntent.fixUris(contentUserHint); in fixUris()
822 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUris()
831 public void fixUrisLight(int contentUserHint) { in fixUrisLight() argument
838 item.mIntent.setData(maybeAddUserId(data, contentUserHint)); in fixUrisLight()
842 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUrisLight()
DIntent.java5884 public void setContentUserHint(int contentUserHint) { in setContentUserHint() argument
5885 mContentUserHint = contentUserHint; in setContentUserHint()
7757 public void fixUris(int contentUserHint) { in fixUris() argument
7760 mData = maybeAddUserId(data, contentUserHint); in fixUris()
7763 mClipData.fixUris(contentUserHint); in fixUris()
7769 putExtra(EXTRA_STREAM, maybeAddUserId(stream, contentUserHint)); in fixUris()
7776 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint)); in fixUris() local
7785 putExtra(MediaStore.EXTRA_OUTPUT, maybeAddUserId(output, contentUserHint)); in fixUris()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java370 private void setProfileSwitchMessageId(int contentUserHint) { in setProfileSwitchMessageId() argument
371 if (contentUserHint != UserHandle.USER_CURRENT && in setProfileSwitchMessageId()
372 contentUserHint != UserHandle.myUserId()) { in setProfileSwitchMessageId()
374 UserInfo originUserInfo = userManager.getUserInfo(contentUserHint); in setProfileSwitchMessageId()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java7325 int contentUserHint = intent.getContentUserHint(); in checkGrantUriPermissionFromIntentLocked() local
7326 if (contentUserHint == UserHandle.USER_CURRENT) { in checkGrantUriPermissionFromIntentLocked()
7327 contentUserHint = UserHandle.getUserId(callingUid); in checkGrantUriPermissionFromIntentLocked()
7348 GrantUri grantUri = GrantUri.resolve(contentUserHint, data); in checkGrantUriPermissionFromIntentLocked()
7362 GrantUri grantUri = GrantUri.resolve(contentUserHint, uri); in checkGrantUriPermissionFromIntentLocked()