Home
last modified time | relevance | path

Searched refs:READ_EXTERNAL_STORAGE (Results 1 – 21 of 21) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DStandalonePreviewActivity.java75 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()
DWallpaperPickerDelegate.java81 private static final String READ_PERMISSION = permission.READ_EXTERNAL_STORAGE;
151 permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java178 …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/PermissionController/src/com/android/packageinstaller/permission/utils/
DSoftRestrictedPermissionPolicy.java19 import static android.Manifest.permission.READ_EXTERNAL_STORAGE;
54 case READ_EXTERNAL_STORAGE: in shouldShow()
DUtils.java144 PLATFORM_PERMISSIONS.put(Manifest.permission.READ_EXTERNAL_STORAGE, STORAGE); in PLATFORM_PERMISSIONS.put() argument
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryComposerFragment.java67 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/
DDeletionHelperSettings.java163 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/Contacts/src/com/android/contacts/activities/
DRequestImportVCardPermissionsActivity.java33 permission.READ_EXTERNAL_STORAGE,
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DUtils.java27 android.Manifest.permission.READ_EXTERNAL_STORAGE
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DImageCategory.java116 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DPickImageInfo.java48 Manifest.permission.READ_EXTERNAL_STORAGE, Process.myPid(), Process.myUid()) == in getThumbnailOfLastPhoto()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DSystemUpdaterActivity.java41 Manifest.permission.READ_EXTERNAL_STORAGE,
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DPermissionFragment.java47 Manifest.permission.READ_EXTERNAL_STORAGE,
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DMyPhotosViewHolder.java110 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java93 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/
DOsUtil.java237 return OsUtil.hasPermission(Manifest.permission.READ_EXTERNAL_STORAGE); in hasStoragePermission()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryMediaChooser.java219 new String[] { Manifest.permission.READ_EXTERNAL_STORAGE }, in setSelected()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DRuntimePermissionsUpgradeController.java295 if (context.checkPermission(Manifest.permission.READ_EXTERNAL_STORAGE, 0, in onUpgradeLocked()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java149 if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE) in initialize()
/packages/apps/Nfc/src/com/android/nfc/
DBeamShareActivity.java224 … getApplicationContext().checkPermission(permission.READ_EXTERNAL_STORAGE, -1, uid) != in parseShareIntentAndFinish()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DMediaDb.java207 @RequiresPermission(Manifest.permission.READ_EXTERNAL_STORAGE)