Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java118 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in initPersistedModes()
130 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in grantModes()
142 if ((modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in grantModes()
156 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in takePersistableModes()
178 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in releasePersistableModes()
197 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in revokeModes()
217 if ((modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in revokeModes()
219 persistableModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in revokeModes()
220 persistedModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in revokeModes()
222 globalModeFlags &= ~Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in revokeModes()
[all …]
DUriPermissionOwner.java20 import static android.content.Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
72 removeUriPermissions(FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION); in removeUriPermissions()
109 if ((mode & FLAG_GRANT_WRITE_URI_PERMISSION) != 0 && mWritePerms != null) { in removeUriPermission()
DUriGrantsManagerService.java386 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in takePersistableUriPermission()
451 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in releasePersistableUriPermission()
728 Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in enforceRequireContentUriPermissionFromCaller()
1048 boolean writeMet = (modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) == 0; in checkHoldingPermissionsInternalUnlocked()
1254 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkGrantUriPermissionUnlocked()
1269 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkGrantUriPermissionUnlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt63 addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in createShare()
89 .addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in createEdit()
/frameworks/base/core/java/android/content/
DUriPermission.java73 return (mModeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0; in isWritePermission()
DIntent.java1075 | FLAG_GRANT_WRITE_URI_PERMISSION | FLAG_GRANT_PERSISTABLE_URI_PERMISSION in createChooser()
6978 FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION,
6985 FLAG_GRANT_READ_URI_PERMISSION, FLAG_GRANT_WRITE_URI_PERMISSION })
6997 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION)) != 0; in isAccessUriMode()
7003 FLAG_GRANT_WRITE_URI_PERMISSION,
7115 public static final int FLAG_GRANT_WRITE_URI_PERMISSION = 0x00000002; field in Intent
7629 | FLAG_GRANT_WRITE_URI_PERMISSION | FLAG_GRANT_PERSISTABLE_URI_PERMISSION
8791 intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in parseCommandArgs()
12848 addFlags(FLAG_GRANT_WRITE_URI_PERMISSION|FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData()
DContentProvider.java1083 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in enforceWritePermissionInner()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityCallerState.java118 Intent.FLAG_GRANT_WRITE_URI_PERMISSION, callerInfo.mWritableContentUris); in computeCallerInfo()
157 final boolean checkWrite = (modeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0; in checkContentUriPermission()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt137 Intent.FLAG_GRANT_WRITE_URI_PERMISSION or in testCreateEdit()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java62 return (grantFlags & (Intent.FLAG_GRANT_WRITE_URI_PERMISSION in checkGrantFlags()
/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/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java48 static final int FLAG_WRITE = Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java226 intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION in appendOutputExtra()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java22 import static android.content.Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
540 FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION, mUser); in hideLocked()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java1032 if (context.checkCallingOrSelfUriPermission(uri, Intent.FLAG_GRANT_WRITE_URI_PERMISSION) in getCallingOrSelfUriPermissionModeFlags()
1034 modeFlags |= Intent.FLAG_GRANT_WRITE_URI_PERMISSION; in getCallingOrSelfUriPermissionModeFlags()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java381 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in downloadMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DLongScreenshotActivity.java359 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); in doEdit()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java1361 intent.setFlags(intent.getFlags() & ~(Intent.FLAG_GRANT_WRITE_URI_PERMISSION in sendActivityStartAssistData()
/frameworks/base/core/java/android/app/
DContextImpl.java2556 if ((modeFlags&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in checkUriPermission()
2572 if ((uriModeFlags & Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0) { in uriModeFlagToString()
DActivityThread.java4339 intent.setFlags(intent.getFlags() & ~(Intent.FLAG_GRANT_WRITE_URI_PERMISSION in handleRequestAssistContextExtras()
/frameworks/base/services/core/java/com/android/server/content/
DContentService.java447 Intent.FLAG_GRANT_WRITE_URI_PERMISSION, true, userId); in notifyChange()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java745 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION in testStartAddAccountSessionWhereAuthenticatorReturnsIntentWithProhibitedFlags()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5116 | Intent.FLAG_GRANT_WRITE_URI_PERMISSION
/frameworks/base/core/java/android/view/
DView.java5432 public static final int DRAG_FLAG_GLOBAL_URI_WRITE = Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12