Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java117 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in initPersistedModes()
129 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in grantModes()
139 if ((modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in grantModes()
155 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in takePersistableModes()
177 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in releasePersistableModes()
196 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in revokeModes()
201 if ((modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in revokeModes()
203 persistableModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in revokeModes()
204 persistedModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in revokeModes()
206 globalModeFlags &= ~Intent.FLAG_GRANT_READ_URI_PERMISSION; in revokeModes()
[all …]
DUriPermissionOwner.java19 import static android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION;
72 removeUriPermissions(FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION); in removeUriPermissions()
87 if ((mode & FLAG_GRANT_READ_URI_PERMISSION) != 0 && mReadPerms != 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()
723 Intent.FLAG_GRANT_READ_URI_PERMISSION); in enforceRequireContentUriPermissionFromCaller()
1047 boolean readMet = (modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0; in checkHoldingPermissionsInternalUnlocked()
1249 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkGrantUriPermissionUnlocked()
1264 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkGrantUriPermissionUnlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java56 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getShareIntent()
64 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getShareIntent()
76 editIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getImageEditIntent()
91 nearbyIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getRemoteCopyIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DActionIntentCreator.kt62 addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in createShare()
69 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in createShare()
88 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in createEdit()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionIntentCreatorTest.kt48 Intent.FLAG_GRANT_READ_URI_PERMISSION in testCreateShare()
84 Intent.FLAG_GRANT_READ_URI_PERMISSION in testCreateShareWithSubject()
108 Intent.FLAG_GRANT_READ_URI_PERMISSION in testCreateShareWithText()
136 Intent.FLAG_GRANT_READ_URI_PERMISSION or in testCreateEdit()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputContentUriTokenHandler.java81 Intent.FLAG_GRANT_READ_URI_PERMISSION, mSourceUserId, mTargetUserId); in doTakeLocked()
99 Intent.FLAG_GRANT_READ_URI_PERMISSION, mSourceUserId); in release()
/frameworks/base/packages/Shell/src/com/android/shell/
DProfcollectUploadReceiver.java74 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION) in onReceive()
85 Intent.FLAG_GRANT_READ_URI_PERMISSION); in onReceive()
DHeapDumpActivity.java69 sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onCreate()
/frameworks/base/core/java/android/content/
DUriPermission.java66 return (mModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in isReadPermission()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java135 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in startServiceProcessRunningReadUriPermission()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillUriGrantsManager.java116 Intent.FLAG_GRANT_READ_URI_PERMISSION, in grantUriPermissions()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityCallerState.java115 Intent.FLAG_GRANT_READ_URI_PERMISSION, callerInfo.mReadableContentUris); in computeCallerInfo()
152 final boolean checkRead = (modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in checkContentUriPermission()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java21 import static android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION;
455 grantClipDataPermissions(clipData, FLAG_GRANT_READ_URI_PERMISSION, in onAssistDataReceivedLocked()
496 destPkg, uri, FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, mUser); in grantUriPermission()
540 FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION, mUser); in hideLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DVerifyingSession.java244 enableRollbackIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION in sendEnableRollbackRequest()
293 final int flags = Intent.FLAG_GRANT_READ_URI_PERMISSION in sendIntegrityVerificationRequest()
442 verification.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in sendPackageVerificationRequest()
587 requiredIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in sendPackageVerificationRequest()
DVerificationUtils.java91 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in broadcastPackageVerified()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBubbleIconFactory.java64 Intent.FLAG_GRANT_READ_URI_PERMISSION); in getBubbleDrawable()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoLand.java302 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in shareCat()
305 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)); in shareCat()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java161 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION) in enforcePermissions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java130 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DIntentCreatorTest.java41 | Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION;
/frameworks/base/core/java/android/view/inputmethod/
DInputConnection.java1347 android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION; // 0x00000001
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java63 |Intent.FLAG_GRANT_READ_URI_PERMISSION)) != 0; in checkGrantFlags()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java361 Intent.FLAG_GRANT_READ_URI_PERMISSION, in sendMessage()
381 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in downloadMessage()
/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()

123