Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DClipData.java999 public void fixUris(int contentUserHint) { in fixUris() argument
1004 item.mIntent.fixUris(contentUserHint); in fixUris()
1007 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUris()
1016 public void fixUrisLight(int contentUserHint) { in fixUrisLight() argument
1023 item.mIntent.setData(maybeAddUserId(data, contentUserHint)); in fixUrisLight()
1027 item.mUri = maybeAddUserId(item.mUri, contentUserHint); in fixUrisLight()
DIntent.java11061 public void fixUris(int contentUserHint) { in fixUris() argument
11064 mData = maybeAddUserId(data, contentUserHint); in fixUris()
11067 mClipData.fixUris(contentUserHint); in fixUris()
11073 putExtra(EXTRA_STREAM, maybeAddUserId(stream, contentUserHint)); in fixUris()
11080 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint)); in fixUris() local
11089 putExtra(MediaStore.EXTRA_OUTPUT, maybeAddUserId(output, contentUserHint)); in fixUris()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java556 int contentUserHint = intent.getContentUserHint(); in checkGrantUriPermissionFromIntent() local
557 if (contentUserHint == UserHandle.USER_CURRENT) { in checkGrantUriPermissionFromIntent()
558 contentUserHint = UserHandle.getUserId(callingUid); in checkGrantUriPermissionFromIntent()
577 GrantUri grantUri = GrantUri.resolve(contentUserHint, data); in checkGrantUriPermissionFromIntent()
590 GrantUri grantUri = GrantUri.resolve(contentUserHint, uri); in checkGrantUriPermissionFromIntent()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java531 private void setProfileSwitchMessageId(int contentUserHint) {
532 if (contentUserHint != UserHandle.USER_CURRENT &&
533 contentUserHint != UserHandle.myUserId()) {
535 UserInfo originUserInfo = userManager.getUserInfo(contentUserHint);