/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/service/ |
D | RuntimePermissionsUpgradeControllerTest.kt | 23 import android.Manifest.permission.READ_EXTERNAL_STORAGE in <lambda>() 353 Permission(READ_EXTERNAL_STORAGE) in <lambda>() 359 verifyWhitelisted(TEST_PKG_NAME, READ_EXTERNAL_STORAGE) in <lambda>() 367 Permission(READ_EXTERNAL_STORAGE) in <lambda>() 373 verifyNotWhitelisted(TEST_PKG_NAME, READ_EXTERNAL_STORAGE) in <lambda>() 426 Permission(READ_EXTERNAL_STORAGE, isGranted = true, in <lambda>() 442 Permission(READ_EXTERNAL_STORAGE, isGranted = true, in <lambda>() 458 Permission(READ_EXTERNAL_STORAGE, in <lambda>() 474 Permission(READ_EXTERNAL_STORAGE, isGranted = true, in <lambda>()
|
/packages/modules/Permission/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/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 25 import static android.Manifest.permission.READ_EXTERNAL_STORAGE; 114 return checkPermissionForDataDelivery(context, READ_EXTERNAL_STORAGE, pid, uid, in checkPermissionReadStorage() 151 if (!checkPermissionForPreflight(context, READ_EXTERNAL_STORAGE, pid, uid, packageName)) { in checkPermissionReadAudio() 172 if (!checkPermissionForPreflight(context, READ_EXTERNAL_STORAGE, pid, uid, packageName)) { in checkPermissionReadVideo() 193 if (!checkPermissionForPreflight(context, READ_EXTERNAL_STORAGE, pid, uid, packageName)) { in checkPermissionReadImages() 441 case READ_EXTERNAL_STORAGE: in isRuntimePermission()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 79 new String[]{permission.READ_EXTERNAL_STORAGE}, in onCreate() 102 && permissions[0].equals(permission.READ_EXTERNAL_STORAGE) in onRequestPermissionsResult() 160 return getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGrantedForApp()
|
D | WallpaperPickerDelegate.java | 86 private static final String READ_PERMISSION = permission.READ_EXTERNAL_STORAGE; 167 permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/modules/Permission/PermissionController/tests/inprocess/src/com/android/permissioncontroller/permission/ui/ |
D | StoragePermissionAppsFragmentTest.kt | 19 import android.Manifest.permission.READ_EXTERNAL_STORAGE 33 READ_EXTERNAL_STORAGE
|
/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/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/Contacts/src/com/android/contacts/activities/ |
D | RequestImportVCardPermissionsActivity.java | 33 permission.READ_EXTERNAL_STORAGE,
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PermissionActivityTest.java | 23 import static android.Manifest.permission.READ_EXTERNAL_STORAGE; 85 AppOpsManager.permissionToOp(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()
|
D | WallpaperSectionController.java | 18 import static android.Manifest.permission.READ_EXTERNAL_STORAGE; 281 || isPermissionGranted(mAppContext, READ_EXTERNAL_STORAGE); in canShowCurrentWallpaper()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/ |
D | PermissionFragment.java | 47 Manifest.permission.READ_EXTERNAL_STORAGE,
|
/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/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 | 111 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 237 return OsUtil.hasPermission(Manifest.permission.READ_EXTERNAL_STORAGE); in hasStoragePermission()
|
/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/ui/mediapicker/ |
D | GalleryMediaChooser.java | 219 new String[] { Manifest.permission.READ_EXTERNAL_STORAGE }, in setSelected()
|
/packages/providers/MediaProvider/tests/transcode/src/com/android/providers/media/transcode/ |
D | TranscodeTest.java | 93 Manifest.permission.READ_EXTERNAL_STORAGE); in setUp() 94 TranscodeTestUtils.pollForPermission(Manifest.permission.READ_EXTERNAL_STORAGE, true); in setUp()
|
/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()
|