Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/am/
DUriPermissionOwner.java62 removeUriPermissionsLocked(Intent.FLAG_GRANT_READ_URI_PERMISSION in removeUriPermissionsLocked()
67 if ((mode&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0 in removeUriPermissionsLocked()
72 &Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0) { in removeUriPermissionsLocked()
73 perm.modeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in removeUriPermissionsLocked()
94 if ((mode&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0 in removeUriPermissionLocked()
102 &Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0) { in removeUriPermissionLocked()
103 perm.modeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in removeUriPermissionLocked()
DUriPermission.java49 if ((modeFlagsToClear&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in clearModes()
50 globalModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in clearModes()
51 modeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in clearModes()
DActivityManagerService.java4348 boolean readPerm = (modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0; in checkHoldingPermissionsLocked()
4460 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in checkGrantUriPermissionLocked()
4524 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkGrantUriPermissionLocked()
4587 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in grantUriPermissionUncheckedLocked()
4617 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in grantUriPermissionUncheckedLocked()
4708 if ((perm.modeFlags&(Intent.FLAG_GRANT_READ_URI_PERMISSION in removeUriPermissionIfNeededLocked()
4725 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in revokeUriPermissionLocked()
4822 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in revokeUriPermission()
/frameworks/base/services/java/com/android/server/
DClipboardService.java158 mAm.checkGrantUriPermission(uid, null, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in checkUriOwnerLocked()
186 Intent.FLAG_GRANT_READ_URI_PERMISSION); in grantUriLocked()
227 Intent.FLAG_GRANT_READ_URI_PERMISSION in revokeUriLocked()
/frameworks/base/core/java/android/content/
DContentProvider.java285 Intent.FLAG_GRANT_READ_URI_PERMISSION) in enforceReadPermission()
DIntent.java2578 public static final int FLAG_GRANT_READ_URI_PERMISSION = 0x00000001; field in Intent
2870 FLAG_GRANT_READ_URI_PERMISSION
/frameworks/base/core/java/android/app/
DContextImpl.java1328 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkUriPermission()
1348 case Intent.FLAG_GRANT_READ_URI_PERMISSION | in uriModeFlagToString()
1351 case Intent.FLAG_GRANT_READ_URI_PERMISSION: in uriModeFlagToString()
/frameworks/base/docs/html/guide/topics/manifest/
Dprovider-element.jd132 <code>{@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION}</code>
135 mail application might put {@code FLAG_GRANT_READ_URI_PERMISSION} in the
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java5423 Intent.FLAG_GRANT_READ_URI_PERMISSION); in handleStartCopy()
5427 mContext.revokeUriPermission(packageURI, Intent.FLAG_GRANT_READ_URI_PERMISSION); in handleStartCopy()
5475 verification.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in handleStartCopy()
5764 Intent.FLAG_GRANT_READ_URI_PERMISSION); in checkFreeStorage()
5767 mContext.revokeUriPermission(packageURI, Intent.FLAG_GRANT_READ_URI_PERMISSION); in checkFreeStorage()
5813 Intent.FLAG_GRANT_READ_URI_PERMISSION); in copyApk()
5817 mContext.revokeUriPermission(packageURI, Intent.FLAG_GRANT_READ_URI_PERMISSION); in copyApk()
5999 Intent.FLAG_GRANT_READ_URI_PERMISSION); in checkFreeStorage()
6002 mContext.revokeUriPermission(packageURI, Intent.FLAG_GRANT_READ_URI_PERMISSION); in checkFreeStorage()
6020 Intent.FLAG_GRANT_READ_URI_PERMISSION); in copyApk()
[all …]
/frameworks/base/docs/html/guide/topics/security/
Dsecurity.jd379 {@link android.content.Intent#FLAG_GRANT_READ_URI_PERMISSION
380 Intent.FLAG_GRANT_READ_URI_PERMISSION} and/or
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java213 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in makeIntent()
/frameworks/base/api/
Dcurrent.txt5583 field public static final int FLAG_GRANT_READ_URI_PERMISSION = 1; // 0x1
D14.txt5583 field public static final int FLAG_GRANT_READ_URI_PERMISSION = 1; // 0x1