Searched refs:CALL_PHONE (Results 1 – 14 of 14) 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; 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/ |
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/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 158 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/ |
D | TelecomServiceImpl.java | 19 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/ |
D | TelecomUtil.java | 294 return isDefaultDialer(context) || hasPermission(context, Manifest.permission.CALL_PHONE); in hasCallPhonePermission()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/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 | 1800 && 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/ |
D | PhoneInterfaceManager.java | 2724 mApp.enforceCallingOrSelfPermission(android.Manifest.permission.CALL_PHONE, null); in enforceCallPermission()
|