Searched refs:CALL_PHONE (Results 1 – 15 of 15) sorted by relevance
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | UriRecord.java | 166 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/ |
D | PermissionsUtil.java | 22 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/ |
D | TelecomServiceImplTest.java | 19 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/ |
D | RequestPermissionsActivity.java | 70 permissions.add(permission.CALL_PHONE); in getPermissions()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PermissionsUtil.java | 39 public static final String PHONE = permission.CALL_PHONE;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | NoPermissionsLaunchSmokeTest.java | 56 assumeTrue(!hasPermission(mTargetContext, Manifest.permission.CALL_PHONE)); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallIntentProcessor.java | 146 + android.Manifest.permission.CALL_PHONE + " permission is not granted."); in processOutgoingCallIntent()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 19 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/ |
D | EventCalendarItem.java | 144 Manifest.permission.CALL_PHONE, in dial()
|
/packages/apps/Dialer/java/com/android/dialer/telecom/ |
D | TelecomUtil.java | 294 return isDefaultDialer(context) || hasPermission(context, Manifest.permission.CALL_PHONE); in hasCallPhonePermission()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 198 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/ |
D | AllAppPermissionsFragment.java | 312 case Manifest.permission.CALL_PHONE: { in isMutableGranularPermission()
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
D | PhoneNumberInteraction.java | 231 (Activity) context, new String[] {permission.CALL_PHONE}, REQUEST_CALL_PHONE); in startInteraction()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 1849 && 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/ |
D | PhoneInterfaceManager.java | 2729 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.CALL_PHONE, null); in enforceCallPermission()
|