Home
last modified time | relevance | path

Searched refs:permissionResult (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/module/service.mediatranscoding/
DMediaTranscodingService.cpp105 int32_t permissionResult; in dump() local
107 &permissionResult) != PERMISSION_MANAGER_STATUS_OK || in dump()
108 permissionResult != PERMISSION_MANAGER_PERMISSION_GRANTED) { in dump()
/frameworks/base/core/java/android/app/
DForegroundServiceTypePolicy.java1393 int permissionResult = PERMISSION_GRANTED; in checkForegroundServiceTypePolicy() local
1396 permissionResult = policy.mAllOfPermissions.checkPermissions(context, in checkForegroundServiceTypePolicy()
1400 if (permissionResult == PERMISSION_GRANTED) { in checkForegroundServiceTypePolicy()
1404 permissionResult = policy.mAnyOfPermissions.checkPermissions(context, in checkForegroundServiceTypePolicy()
1406 if (permissionResult == PERMISSION_GRANTED) { in checkForegroundServiceTypePolicy()
1413 permissionResult = policy.mCustomPermission.checkPermission(context, in checkForegroundServiceTypePolicy()
1417 if (permissionResult != PERMISSION_GRANTED) { in checkForegroundServiceTypePolicy()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java557 int permissionResult = permissionManager.checkPhoneNumberAccess(callingPackage, message, in checkReadPhoneNumber() local
559 if (permissionResult == PackageManager.PERMISSION_GRANTED) { in checkReadPhoneNumber()
568 if (permissionResult == AppOpsManager.MODE_IGNORED) { in checkReadPhoneNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneSubInfoController.java377 int permissionResult = mContext.checkCallingOrSelfPermission(
379 if (permissionResult == PackageManager.PERMISSION_GRANTED) {
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java603 int permissionResult = mContext.checkPermission(permission, in onSuccess() local
605 if (permissionResult != PackageManager.PERMISSION_GRANTED) { in onSuccess()
608 + permissionResult); in onSuccess()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java9162 final int permissionResult = mContext.checkPermission( in sanitizeFlagSlippery() local
9164 if (permissionResult != PackageManager.PERMISSION_GRANTED) { in sanitizeFlagSlippery()
9179 final int permissionResult = mContext.checkPermission( in sanitizeInputFeatures() local
9181 if (permissionResult != PackageManager.PERMISSION_GRANTED) { in sanitizeInputFeatures()
9301 final int permissionResult = mContext.checkPermission( in updateInputChannel() local
9303 if (permissionResult != PackageManager.PERMISSION_GRANTED) { in updateInputChannel()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7810 final int permissionResult;
7812 permissionResult = mPermissionManager.checkPermissionForDataDelivery(
7815 permissionResult = mPermissionManager.checkPermissionForPreflight(
7818 return permissionResult == PermissionManager.PERMISSION_GRANTED;