/frameworks/base/services/core/java/com/android/server/am/ |
D | UriPermission.java | 105 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in initPersistedModes() 117 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in grantModes() 127 if ((modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in grantModes() 142 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in takePersistableModes() 164 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in releasePersistableModes() 185 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in revokeModes() 190 if ((modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in revokeModes() 192 persistableModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in revokeModes() 193 persistedModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in revokeModes() 195 globalModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in revokeModes() [all …]
|
D | UriPermissionOwner.java | 65 removeUriPermissionsLocked(Intent.FLAG_GRANT_READ_URI_PERMISSION in removeUriPermissionsLocked() 74 if ((mode & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0 in removeUriPermissionLocked()
|
D | ActivityManagerService.java | 6922 boolean readMet = (modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0; 7158 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkGrantUriPermissionLocked() 7435 Preconditions.checkFlagsArgument(modeFlags, Intent.FLAG_GRANT_READ_URI_PERMISSION in grantUriPermission() 7828 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in takePersistableUriPermission() 7874 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in releasePersistableUriPermission()
|
/frameworks/support/tests/java/android/support/tests/ |
D | GrantActivity.java | 43 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in onActivityResult()
|
/frameworks/base/core/java/android/content/ |
D | UriPermission.java | 66 return (mModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in isReadPermission()
|
D | Intent.java | 919 int permFlags = target.getFlags() & (FLAG_GRANT_READ_URI_PERMISSION in createChooser() 3515 FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION, 3522 FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION }) 3533 return (modeFlags & (Intent.FLAG_GRANT_READ_URI_PERMISSION in isAccessUriMode() 3545 public static final int FLAG_GRANT_READ_URI_PERMISSION = 0x00000001; field in Intent 3930 public static final int IMMUTABLE_FLAGS = FLAG_GRANT_READ_URI_PERMISSION 7844 addFlags(FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData() 7883 addFlags(FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData() 7899 addFlags(FLAG_GRANT_WRITE_URI_PERMISSION|FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData()
|
D | ContentProvider.java | 531 if (context.checkUriPermission(userUri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION, in enforceReadPermissionInner()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 316 Intent.FLAG_GRANT_READ_URI_PERMISSION, in checkUriOwnerLocked() 347 uri, Intent.FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, userId); in grantUriLocked() 399 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in revokeUriLocked()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 565 if (context.checkCallingOrSelfUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION) in getCallingOrSelfUriPermissionModeFlags() 567 modeFlags |= Intent.FLAG_GRANT_READ_URI_PERMISSION; in getCallingOrSelfUriPermissionModeFlags() 573 if (context.checkCallingOrSelfUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION in getCallingOrSelfUriPermissionModeFlags()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 234 Intent.FLAG_GRANT_READ_URI_PERMISSION); in sendMessage() 252 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in downloadMessage()
|
/frameworks/support/v4/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 76 if (context.checkCallingOrSelfUriPermission(self, Intent.FLAG_GRANT_READ_URI_PERMISSION) in canRead()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportReceiver.java | 125 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in buildSendIntent()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentsActivity.java | 1011 view.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onDocumentPicked() 1085 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onFinished() 1087 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION in onFinished() 1092 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION in onFinished()
|
D | DirectoryFragment.java | 560 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onShareDocuments() 567 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onShareDocuments()
|
/frameworks/base/core/java/android/nfc/ |
D | NfcActivityManager.java | 407 Intent.FLAG_GRANT_READ_URI_PERMISSION); in createBeamShareData()
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | provider-element.jd | 167 <code>{@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION}</code> 170 mail application might put {@code FLAG_GRANT_READ_URI_PERMISSION} in the
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 667 cropAndSetWallpaperIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getCropAndSetWallpaperIntent()
|
D | ContextImpl.java | 2021 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkUriPermission() 2041 if ((uriModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in uriModeFlagToString()
|
/frameworks/base/docs/html/training/secure-file-sharing/ |
D | share-file.jd | 235 Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
/frameworks/base/docs/html/guide/topics/security/ |
D | permissions.jd | 415 {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION 416 Intent.FLAG_GRANT_READ_URI_PERMISSION} and/or
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 518 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in makeIntent()
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-provider-basics.jd | 1002 {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION} 1052 {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION}. These flags grant URI
|
D | document-provider.jd | 531 & (Intent.FLAG_GRANT_READ_URI_PERMISSION
|
D | content-provider-creating.jd | 1042 the {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION} or the
|
/frameworks/base/docs/html/training/articles/ |
D | security-tips.jd | 145 android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION} and {@link
|