Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermission.java116 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in initPersistedModes()
128 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in grantModes()
138 if ((modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in grantModes()
153 modeFlags &= (Intent.FLAG_GRANT_READ_URI_PERMISSION in takePersistableModes()
175 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;
68 removeUriPermissions(FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION); in removeUriPermissions()
76 if ((mode & FLAG_GRANT_READ_URI_PERMISSION) != 0 && mReadPerms != null) { 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()
882 boolean readMet = (modeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) == 0; in checkHoldingPermissionsInternal()
1097 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkGrantUriPermission()
1112 if ((modeFlags&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0) { in checkGrantUriPermission()
/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/core/java/com/android/internal/app/
DDumpHeapActivity.java75 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onCreate()
119 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DDumpTruck.java148 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in createShareIntent()
166 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in createShareIntent()
DLeakReporter.java123 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getIntent()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java21 import static android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION;
281 grantClipDataPermissions(clipData, FLAG_GRANT_READ_URI_PERMISSION, in onAssistDataReceivedLocked()
322 destPkg, uri, FLAG_GRANT_READ_URI_PERMISSION, sourceUserId, mUser); in grantUriPermission()
366 FLAG_GRANT_READ_URI_PERMISSION | FLAG_GRANT_WRITE_URI_PERMISSION, mUser); in hideLocked()
/frameworks/base/core/java/android/content/
DUriPermission.java66 return (mModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in isReadPermission()
DIntent.java1009 int permFlags = target.getFlags() & (FLAG_GRANT_READ_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 })
5850 return (modeFlags & (Intent.FLAG_GRANT_READ_URI_PERMISSION in isAccessUriMode()
5856 FLAG_GRANT_READ_URI_PERMISSION,
5956 public static final int FLAG_GRANT_READ_URI_PERMISSION = 0x00000001; field in Intent
6440 public static final int IMMUTABLE_FLAGS = FLAG_GRANT_READ_URI_PERMISSION
7466 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in parseCommandArgs()
11148 addFlags(FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData()
11187 addFlags(FLAG_GRANT_READ_URI_PERMISSION); in migrateExtraStreamToClipData()
[all …]
DClipData.java960 prepareToLeaveProcess(leavingPackage, Intent.FLAG_GRANT_READ_URI_PERMISSION); in prepareToLeaveProcess()
/frameworks/base/core/java/android/view/inputmethod/
DInputConnection.java866 android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION; // 0x00000001
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceStartPerfTest.java119 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in startServiceProcessRunningReadUriPermission()
/frameworks/base/packages/Shell/src/com/android/shell/
DHeapDumpActivity.java69 sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onCreate()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java625 Intent.FLAG_GRANT_READ_URI_PERMISSION, in checkUriOwnerLocked()
657 Intent.FLAG_GRANT_READ_URI_PERMISSION, in grantUriLocked()
714 Intent.FLAG_GRANT_READ_URI_PERMISSION, in revokeUriLocked()
/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/core/java/android/provider/
DDocumentsProvider.java1004 if (context.checkCallingOrSelfUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION) in getCallingOrSelfUriPermissionModeFlags()
1006 modeFlags |= Intent.FLAG_GRANT_READ_URI_PERMISSION; in getCallingOrSelfUriPermissionModeFlags()
1012 if (context.checkCallingOrSelfUriPermission(uri, Intent.FLAG_GRANT_READ_URI_PERMISSION in getCallingOrSelfUriPermissionModeFlags()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java343 Intent.FLAG_GRANT_READ_URI_PERMISSION, in sendMessage()
363 Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION, in downloadMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java334 .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION) in createSaveNotification()
365 Intent.FLAG_GRANT_READ_URI_PERMISSION)) in createSaveNotification()
/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/core/java/com/android/server/job/
DGrantedUriPermissions.java62 |Intent.FLAG_GRANT_READ_URI_PERMISSION)) != 0; in checkGrantFlags()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java151 Intent.FLAG_GRANT_READ_URI_PERMISSION); in getBtRainbowDrawableWithDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java410 sharingIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in populateNotificationActions()
418 .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in populateNotificationActions()
443 editIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in populateNotificationActions()
502 Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_GRANT_READ_URI_PERMISSION); in onPostExecute()
/frameworks/base/core/java/android/nfc/
DNfcActivityManager.java408 Intent.FLAG_GRANT_READ_URI_PERMISSION); in createBeamShareData()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1225 Intent.FLAG_GRANT_READ_URI_PERMISSION, in visitGrantableUri()

12