Home
last modified time | relevance | path

Searched refs:CALL_PHONE (Results 1 – 15 of 15) 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;
743 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNonEmergencyPermission()
761 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithAppOpsOff()
779 .when(mContext).checkCallingPermission(CALL_PHONE); in testPlaceCallWithNoCallingPermission()
805 .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/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java19 import static android.Manifest.permission.CALL_PHONE;
1420 final boolean hasCallPermission = mContext.checkCallingPermission(CALL_PHONE) ==
2252 mContext.enforceCallingOrSelfPermission(CALL_PHONE, message);
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DEventCalendarItem.java144 Manifest.permission.CALL_PHONE, in dial()
/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/permissioncontroller/permission/utils/
DUtils.java198 PLATFORM_PERMISSIONS.put(Manifest.permission.CALL_PHONE, PHONE); in PLATFORM_PERMISSIONS.put() argument
713 || Manifest.permission.CALL_PHONE.equals(permission) in isPermissionIndividuallyControlled()
/packages/apps/PermissionController/src/com/android/permissioncontroller/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.java1849 && checkSelfPermission(android.Manifest.permission.CALL_PHONE) != in onErrorStartingShortcut()
1854 requestPermissions(new String[]{android.Manifest.permission.CALL_PHONE}, in onErrorStartingShortcut()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java2729 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.CALL_PHONE, null); in enforceCallPermission()