/packages/apps/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/service/ |
D | RuntimePermissionsUpgradeControllerTest.kt | 23 import android.Manifest.permission.READ_EXTERNAL_STORAGE in <lambda>() 350 Permission(READ_EXTERNAL_STORAGE) in <lambda>() 356 verifyWhitelisted(TEST_PKG_NAME, READ_EXTERNAL_STORAGE) in <lambda>() 364 Permission(READ_EXTERNAL_STORAGE) in <lambda>() 370 verifyNotWhitelisted(TEST_PKG_NAME, READ_EXTERNAL_STORAGE) in <lambda>() 423 Permission(READ_EXTERNAL_STORAGE, isGranted = true, in <lambda>() 439 Permission(READ_EXTERNAL_STORAGE, isGranted = true, in <lambda>() 455 Permission(READ_EXTERNAL_STORAGE, in <lambda>() 471 Permission(READ_EXTERNAL_STORAGE, isGranted = true, in <lambda>()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 21 import static android.Manifest.permission.READ_EXTERNAL_STORAGE; 114 return checkPermissionForDataDelivery(context, READ_EXTERNAL_STORAGE, pid, uid, in checkPermissionReadStorage() 127 if (!checkPermissionForPreflight(context, READ_EXTERNAL_STORAGE, pid, uid, packageName)) { in checkPermissionReadAudio() 148 if (!checkPermissionForPreflight(context, READ_EXTERNAL_STORAGE, pid, uid, packageName)) { in checkPermissionReadVideo() 169 if (!checkPermissionForPreflight(context, READ_EXTERNAL_STORAGE, pid, uid, packageName)) { in checkPermissionReadImages() 354 case READ_EXTERNAL_STORAGE: in isRuntimePermission()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | SoftRestrictedPermissionPolicy.java | 19 import static android.Manifest.permission.READ_EXTERNAL_STORAGE; 48 case READ_EXTERNAL_STORAGE: in shouldShow() 75 case READ_EXTERNAL_STORAGE: in shouldShow()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 75 new String[]{permission.READ_EXTERNAL_STORAGE}, in onCreate() 98 && permissions[0].equals(permission.READ_EXTERNAL_STORAGE) in onRequestPermissionsResult() 136 return getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGrantedForApp()
|
D | WallpaperPickerDelegate.java | 84 private static final String READ_PERMISSION = permission.READ_EXTERNAL_STORAGE; 155 permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 19 import static android.Manifest.permission.READ_EXTERNAL_STORAGE; 65 if (checkSelfPermission(READ_EXTERNAL_STORAGE) != PERMISSION_GRANTED in onCreate() 67 requestPermissions(new String[] { READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE }, 42); in onCreate()
|
/packages/apps/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | StoragePermissionAppsFragmentTest.kt | 19 import android.Manifest.permission.READ_EXTERNAL_STORAGE 30 READ_EXTERNAL_STORAGE
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 178 …activity.checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) != PackageManager.PERMISSI… in requestPermissionIfNeeded() 179 …tyCompat.shouldShowRequestPermissionRationale(activity, Manifest.permission.READ_EXTERNAL_STORAGE)) in requestPermissionIfNeeded() 182 … activity.requestPermissions(new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, 1); in requestPermissionIfNeeded()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryComposerFragment.java | 67 private String[] permissions = new String[] {permission.READ_EXTERNAL_STORAGE}; 87 if (!PermissionsUtil.hasPermission(getContext(), permission.READ_EXTERNAL_STORAGE)) { in onCreateView() 214 && PermissionsUtil.hasPermission(getContext(), permission.READ_EXTERNAL_STORAGE)) { in onActivityResult()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | DeletionHelperSettings.java | 163 if (activity.checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) in onActivityCreated() 166 new String[] {Manifest.permission.READ_EXTERNAL_STORAGE}, in onActivityCreated() 230 && getActivity().checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) in onResume()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 122 if (checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) in checkPermissions() 175 … permissionsToRequest[permissionsRequestIndex] = Manifest.permission.READ_EXTERNAL_STORAGE; in buildPermissionsRequest()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | RequestImportVCardPermissionsActivity.java | 33 permission.READ_EXTERNAL_STORAGE,
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Utils.java | 27 android.Manifest.permission.READ_EXTERNAL_STORAGE
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageCategory.java | 116 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | PickImageInfo.java | 48 Manifest.permission.READ_EXTERNAL_STORAGE, Process.myPid(), Process.myUid()) == in getThumbnailOfLastPhoto()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PermissionFragment.java | 47 Manifest.permission.READ_EXTERNAL_STORAGE,
|
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | SystemUpdaterActivity.java | 44 Manifest.permission.READ_EXTERNAL_STORAGE,
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | MyPhotosViewHolder.java | 110 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 93 sPermissions.put(RESOURCE_FILE_URL, Manifest.permission.READ_EXTERNAL_STORAGE); in sPermissions.put() argument 632 == checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE)) { in loadUrl()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 237 return OsUtil.hasPermission(Manifest.permission.READ_EXTERNAL_STORAGE); in hasStoragePermission()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryMediaChooser.java | 201 new String[] { Manifest.permission.READ_EXTERNAL_STORAGE }, in setSelected()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | PumpActivity.java | 149 if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE) in initialize()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | BeamShareActivity.java | 224 … getApplicationContext().checkPermission(permission.READ_EXTERNAL_STORAGE, -1, uid) != in parseShareIntentAndFinish()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | RuntimePermissionsUpgradeController.kt | 219 if (perm == permission.READ_EXTERNAL_STORAGE && in <lambda>()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | MediaDb.java | 207 @RequiresPermission(Manifest.permission.READ_EXTERNAL_STORAGE)
|