Home
last modified time | relevance | path

Searched refs:FLAG_GRANT_WRITE_URI_PERMISSION (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java117 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in initPersistedModes()
129 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in grantModes()
141 if ((modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in grantModes()
154 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in takePersistableModes()
176 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in releasePersistableModes()
197 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in revokeModes()
215 if ((modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in revokeModes()
217 persistableModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in revokeModes()
218 persistedModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in revokeModes()
220 globalModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in revokeModes()
[all …]
DUriPermissionOwner.java20 import static android.content.Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
68 removeUriPermissions(FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION); in removeUriPermissions()
90 if ((mode & FLAG_GRANT_WRITE_URI_PERMISSION) != 0 in removeUriPermission()
DUriGrantsManagerService.java311 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in takePersistableUriPermission()
376 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in releasePersistableUriPermission()
883 boolean writeMet = (modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) == 0; in checkHoldingPermissionsInternal()
1102 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkGrantUriPermission()
1117 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkGrantUriPermission()
/frameworks/base/core/java/android/content/
DUriPermission.java73 return (mModeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0; in isWritePermission()
DIntent.java1010 | FLAG_GRANT_WRITE_URI_PERMISSION | FLAG_GRANT_PERSISTABLE_URI_PERMISSION in createChooser()
5832 FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION,
5839 FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION })
5851 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION)) != 0; in isAccessUriMode()
5857 FLAG_GRANT_WRITE_URI_PERMISSION,
5965 public static final int FLAG_GRANT_WRITE_URI_PERMISSION = 0x00000002; field in Intent
6441 | FLAG_GRANT_WRITE_URI_PERMISSION | FLAG_GRANT_PERSISTABLE_URI_PERMISSION
7469 intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in parseCommandArgs()
11203 addFlags(FLAG_GRANT_WRITE_URI_PERMISSION|FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData()
DContentProvider.java788 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in enforceWritePermissionInner()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java363 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in generateFreshTempFiles()
409 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in generateUrisForPausedFiles()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java22 import static android.content.Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
366 FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION, mUser); in hideLocked()
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java61 return (grantFlags & (Intent.FLAG_GRANT_WRITE_URI_PERMISSION in checkGrantFlags()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java1008 if (context.checkCallingOrSelfUriPermission(uri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in getCallingOrSelfUriPermissionModeFlags()
1010 modeFlags |= Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in getCallingOrSelfUriPermissionModeFlags()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java363 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in downloadMessage()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java250 if (mContext.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in checkSlicePermission()
/frameworks/base/core/java/android/app/
DContextImpl.java2071 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkUriPermission()
2087 if ((uriModeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in uriModeFlagToString()
DActivityThread.java3547 intent.setFlags(intent.getFlags() & ~(Intent.FLAG_GRANT_WRITE_URI_PERMISSION in handleRequestAssistContextExtras()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java444 editIntent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in populateNotificationActions()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java405 Intent.FLAG_GRANT_WRITE_URI_PERMISSION, true, userHandle); in notifyChange()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java1881 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in handleMessage()
6200 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION in grantUriPermission()
16242 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in run()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4772 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION
/frameworks/base/core/java/android/view/
DView.java4904 public static final int DRAG_FLAG_GLOBAL_URI_WRITE = Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7820 field public static final int FLAG_GRANT_WRITE_URI_PERMISSION = 2; // 0x2
/frameworks/base/non-updatable-api/
Dcurrent.txt10493 field public static final int FLAG_GRANT_WRITE_URI_PERMISSION = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt10493 field public static final int FLAG_GRANT_WRITE_URI_PERMISSION = 2; // 0x2