Home
last modified time | relevance | path

Searched refs:READ_PERMISSION (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DWallpaperPickerDelegate.java86 private static final String READ_PERMISSION = permission.READ_EXTERNAL_STORAGE; field in WallpaperPickerDelegate
158 new String[]{READ_PERMISSION}, in requestExternalStoragePermission()
443 && permissions[0].equals(READ_PERMISSION) in onRequestPermissionsResult()
449 } else if (!mActivity.shouldShowRequestPermissionRationale(READ_PERMISSION)) { in onRequestPermissionsResult()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java220 private static final String READ_PERMISSION = "android.permission.READ_CONTACTS"; field in ContactsProvider2
2281 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), READ_PERMISSION); in call() local
2349 ContactsPermissions.enforceCallingOrSelfPermission(getContext(), READ_PERMISSION); in call() local