Home
last modified time | relevance | path

Searched refs:CALL_PHONE (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Tag/src/com/android/apps/tag/record/
DUriRecord.java166 if (activity.checkSelfPermission(Manifest.permission.CALL_PHONE) in requestPermissionIfNeeded()
170 …if (!ActivityCompat.shouldShowRequestPermissionRationale(activity, Manifest.permission.CALL_PHONE)) in requestPermissionIfNeeded()
173 activity.requestPermissions(new String[]{Manifest.permission.CALL_PHONE}, 1); in requestPermissionIfNeeded()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java22 import static android.Manifest.permission.CALL_PHONE;
71 CALL_PHONE,
83 return hasPermission(context, permission.CALL_PHONE); in hasPhonePermissions()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomServiceImplTest.java19 import static android.Manifest.permission.CALL_PHONE;
690 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNonEmergencyPermission()
707 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithAppOpsOff()
724 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNoCallingPermission()
750 .when(mContext).enforceCallingOrSelfPermission(eq(CALL_PHONE), anyString()); in testPlaceCallFailure()
/packages/apps/Contacts/src/com/android/contacts/activities/
DRequestPermissionsActivity.java70 permissions.add(permission.CALL_PHONE); in getPermissions()
/packages/apps/Contacts/src/com/android/contacts/util/
DPermissionsUtil.java39 public static final String PHONE = permission.CALL_PHONE;
/packages/apps/Contacts/tests/src/com/android/contacts/
DNoPermissionsLaunchSmokeTest.java56 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.CALL_PHONE)); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DUserCallIntentProcessor.java146 + android.Manifest.permission.CALL_PHONE + " permission is not granted."); in processOutgoingCallIntent()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java158 PLATFORM_PERMISSIONS.put(Manifest.permission.CALL_PHONE, PHONE); in PLATFORM_PERMISSIONS.put() argument
534 || Manifest.permission.CALL_PHONE.equals(permission) in isPermissionIndividuallyControlled()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java19 import static android.Manifest.permission.CALL_PHONE;
1404 final boolean hasCallPermission = mContext.checkCallingPermission(CALL_PHONE) ==
2204 mContext.enforceCallingOrSelfPermission(CALL_PHONE, message); in canCallPhone()
/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomUtil.java294 return isDefaultDialer(context) || hasPermission(context, Manifest.permission.CALL_PHONE); in hasCallPhonePermission()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java312 case Manifest.permission.CALL_PHONE: { in isMutableGranularPermission()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DPhoneNumberInteraction.java231 (Activity) context, new String[] {permission.CALL_PHONE}, REQUEST_CALL_PHONE); in startInteraction()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java1800 && checkSelfPermission(android.Manifest.permission.CALL_PHONE) != in onErrorStartingShortcut()
1805 requestPermissions(new String[]{android.Manifest.permission.CALL_PHONE}, in onErrorStartingShortcut()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java2724 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.CALL_PHONE, null); in enforceCallPermission()