/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriPermission.java | 116 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 …]
|
D | UriPermissionOwner.java | 19 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()
|
D | UriGrantsManagerService.java | 311 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/ |
D | InputContentUriTokenHandler.java | 81 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/ |
D | DumpHeapActivity.java | 75 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/ |
D | DumpTruck.java | 148 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in createShareIntent() 166 shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in createShareIntent()
|
D | LeakReporter.java | 123 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getIntent()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 21 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/ |
D | UriPermission.java | 66 return (mModeFlags & Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0; in isReadPermission()
|
D | Intent.java | 1009 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 …]
|
D | ClipData.java | 960 prepareToLeaveProcess(leavingPackage, Intent.FLAG_GRANT_READ_URI_PERMISSION); in prepareToLeaveProcess()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnection.java | 866 android.content.Intent.FLAG_GRANT_READ_URI_PERMISSION; // 0x00000001
|
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/ |
D | ServiceStartPerfTest.java | 119 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in startServiceProcessRunningReadUriPermission()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | HeapDumpActivity.java | 69 sendIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 625 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/ |
D | WearPackageIconProvider.java | 161 if (context.checkUriPermission(uri, pid, uid, Intent.FLAG_GRANT_READ_URI_PERMISSION) in enforcePermissions()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 1004 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/ |
D | MmsServiceBroker.java | 343 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/ |
D | RecordingService.java | 334 .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/ |
D | MbmsDownloadReceiver.java | 363 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/ |
D | GrantedUriPermissions.java | 62 |Intent.FLAG_GRANT_READ_URI_PERMISSION)) != 0; in checkGrantFlags()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 151 Intent.FLAG_GRANT_READ_URI_PERMISSION); in getBtRainbowDrawableWithDescription()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 410 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/ |
D | NfcActivityManager.java | 408 Intent.FLAG_GRANT_READ_URI_PERMISSION); in createBeamShareData()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 1225 Intent.FLAG_GRANT_READ_URI_PERMISSION, in visitGrantableUri()
|