Home
last modified time | relevance | path

Searched refs:FLAG_GRANT_READ_URI_PERMISSION (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
DUriPermission.java105 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 …]
DUriPermissionOwner.java65 removeUriPermissionsLocked(Intent.FLAG_GRANT_READ_URI_PERMISSION in removeUriPermissionsLocked()
74 if ((mode & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0 in removeUriPermissionLocked()
DActivityManagerService.java6922 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/
DGrantActivity.java43 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in onActivityResult()
/frameworks/base/core/java/android/content/
DUriPermission.java66 return (mModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in isReadPermission()
DIntent.java919 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()
DContentProvider.java531 if (context.checkUriPermission(userUri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION, in enforceReadPermissionInner()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java316 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/
DDocumentsProvider.java565 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/
DMmsServiceBroker.java234 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/
DDocumentsContractApi19.java76 if (context.checkCallingOrSelfUriPermission(self, Intent.FLAG_GRANT_READ_URI_PERMISSION) in canRead()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java125 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in buildSendIntent()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDocumentsActivity.java1011 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()
DDirectoryFragment.java560 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/
DNfcActivityManager.java407 Intent.FLAG_GRANT_READ_URI_PERMISSION); in createBeamShareData()
/frameworks/base/docs/html/guide/topics/manifest/
Dprovider-element.jd167 <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/
DWallpaperManager.java667 cropAndSetWallpaperIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getCropAndSetWallpaperIntent()
DContextImpl.java2021 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/
Dshare-file.jd235 Intent.FLAG_GRANT_READ_URI_PERMISSION);
/frameworks/base/docs/html/guide/topics/security/
Dpermissions.jd415 {@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/
DAm.java518 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in makeIntent()
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-basics.jd1002 {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION}
1052 {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION}. These flags grant URI
Ddocument-provider.jd531 &amp; (Intent.FLAG_GRANT_READ_URI_PERMISSION
Dcontent-provider-creating.jd1042 the {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION} or the
/frameworks/base/docs/html/training/articles/
Dsecurity-tips.jd145 android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION} and {@link

12