/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | PermissionUtils.java | 36 context.checkSelfPermission( in hasAccessAllEpg() 46 context.checkSelfPermission( in hasAccessWatchedHistory() 56 context.checkSelfPermission("android.permission.MODIFY_PARENTAL_CONTROLS") in hasModifyParentalControls() 63 return context.checkSelfPermission(PERMISSION_READ_TV_LISTINGS) in hasReadTvListings() 68 return context.checkSelfPermission("android.permission.INTERNET") in hasInternet() 73 return context.checkSelfPermission("android.permission.WRITE_EXTERNAL_STORAGE") in hasWriteExternalStorage() 80 context.checkSelfPermission( in hasChangeHdmiCecActiveSource() 90 context.checkSelfPermission( in hasReadContetnRatingSystem()
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 70 if (checkSelfPermission(READ_EXTERNAL_STORAGE) != PERMISSION_GRANTED in onCreate() 71 || checkSelfPermission(WRITE_EXTERNAL_STORAGE) != PERMISSION_GRANTED) { in onCreate() 78 if (checkSelfPermission(READ_MEDIA_AUDIO) != PERMISSION_GRANTED in onCreate() 79 || checkSelfPermission(READ_MEDIA_IMAGES) != PERMISSION_GRANTED in onCreate() 80 || checkSelfPermission(READ_MEDIA_VIDEO) != PERMISSION_GRANTED) { in onCreate()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PermissionsActivity.java | 93 if (checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) { in checkPermissions() 97 if (checkSelfPermission(Manifest.permission.RECORD_AUDIO) in checkPermissions() 103 && checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) in checkPermissions() 105 && checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) in checkPermissions()
|
/packages/modules/Permission/tests/cts/permission/AppThatRequestCustomCameraPermission/src/android/permission/cts/appthatrequestcustomcamerapermission/ |
D | RequestCameraPermission.java | 43 checkSelfPermission(CAMERA) == PERMISSION_GRANTED; in onCreate() 45 checkSelfPermission(CUSTOM_PERMISSION) == PERMISSION_GRANTED; in onCreate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/ |
D | PermissionsUtil.java | 45 if (ContextCompat.checkSelfPermission(context, permission) in getDeniedPermissions() 86 if (ContextCompat.checkSelfPermission(context, permission) in checkAllPermissionsGranted()
|
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/ |
D | SmsManagerTestApp.java | 85 if (checkSelfPermission(Manifest.permission.READ_PHONE_STATE) in onResume() 87 || checkSelfPermission(Manifest.permission.SEND_SMS) in onResume() 211 if (checkSelfPermission(PERFORM_IMS_SINGLE_REGISTRATION) in checkSingleRegPermission()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/ |
D | IkeContext.java | 54 != context.checkSelfPermission(android.Manifest.permission.NETWORK_FACTORY)) { in getIkeCaller() 114 return mContext.checkSelfPermission(android.Manifest.permission.READ_DEVICE_CONFIG) in hasReadDeviceConfigPermission()
|
/packages/apps/Dialer/java/com/android/incallui/legacyblocking/ |
D | DeleteBlockedCallTask.java | 65 if (ContextCompat.checkSelfPermission(context, permission.READ_CALL_LOG) in doInBackground() 67 || ContextCompat.checkSelfPermission(context, permission.WRITE_CALL_LOG) in doInBackground()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FirstRunDialog.java | 214 if (mContext.checkSelfPermission(Manifest.permission.ACCESS_COARSE_LOCATION) in checkLocationPermission() 215 == PackageManager.PERMISSION_GRANTED || mContext.checkSelfPermission( in checkLocationPermission()
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
D | DynamicShortcuts.java | 101 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in refresh() 147 if (ContextCompat.checkSelfPermission(context, Manifest.permission.READ_CONTACTS) in updateIcons()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 166 if (activity.checkSelfPermission(Manifest.permission.CALL_PHONE) in requestPermissionIfNeeded() 178 …activity.checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE) != PackageManager.PERMISSI… in requestPermissionIfNeeded()
|
/packages/apps/TV/common/src/com/android/tv/common/feature/ |
D | PermissionFeature.java | 36 return context.checkSelfPermission(permissionName) == PackageManager.PERMISSION_GRANTED; in isEnabled()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | InlinePreviewIntentFactory.java | 37 return ContextCompat.checkSelfPermission(context, BIND_WALLPAPER) == PERMISSION_GRANTED; in shouldUseInternalLivePicker()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | PermissionsTest.java | 44 context.checkSelfPermission(Manifest.permission.INTERACT_ACROSS_USERS)); in testPermissionGranted_interactAcrossUsersOnR()
|
/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp22CalendarOnly/src/android/permissionui/cts/usepermission/ |
D | CheckPermissionService.kt | 37 result.send(checkSelfPermission(permission), null) in onHandleIntent()
|
/packages/apps/Dialer/java/com/android/voicemail/ |
D | VoicemailPermissionHelper.java | 54 if (context.checkSelfPermission(permission) != PackageManager.PERMISSION_GRANTED) { in getMissingPermissions()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Utils.java | 46 if (context.checkSelfPermission(permission) != PackageManager.PERMISSION_GRANTED) { in hasRequiredPermissions()
|
/packages/apps/Dialer/java/com/android/incallui/videotech/utils/ |
D | VideoUtils.java | 43 return ContextCompat.checkSelfPermission(context, android.Manifest.permission.CAMERA) in hasCameraPermission()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | BluetoothPermissionChecker.java | 38 return mActivity.checkSelfPermission(permission) in isPermissionGranted()
|
/packages/apps/ThemePicker/src/com/android/customization/model/themedicon/ |
D | ThemedIconUtils.java | 51 if (mContext.checkSelfPermission(mProviderInfo.readPermission) in ThemedIconUtils()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 56 return ContextCompat.checkSelfPermission(context, permission) in hasPermission()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | Message.java | 227 mEnv.getContext().checkSelfPermission(Manifest.permission.MODIFY_QUIET_MODE) in InflateMessage() 254 && mEnv.getContext().checkSelfPermission( in setCanModifyQuietMode() 258 return mEnv.getContext().checkSelfPermission(Manifest.permission.MODIFY_QUIET_MODE) in setCanModifyQuietMode()
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | DevCameraActivity.java | 328 if ((checkSelfPermission(Manifest.permission.CAMERA) in checkPermissions() 330 || (checkSelfPermission(Manifest.permission.RECORD_AUDIO) in checkPermissions() 332 || (checkSelfPermission(Manifest.permission.WRITE_EXTERNAL_STORAGE) in checkPermissions()
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
D | ContactsPreferences.java | 255 if (mContext.checkSelfPermission(SET_DEFAULT_ACCOUNT_FOR_CONTACTS) in clearDefaultAccount() 267 if (mContext.checkSelfPermission(SET_DEFAULT_ACCOUNT_FOR_CONTACTS) in setDefaultAccount()
|
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/app/src/main/java/com/android/bluetooth/channelsoundingtestapp/ |
D | MainActivity.java | 63 if (ActivityCompat.checkSelfPermission(this, Manifest.permission.BLUETOOTH_CONNECT) in requestBtPermissions()
|