Home
last modified time | relevance | path

Searched refs:SEND_SMS (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCallActivity.java97 } else if (PermissionsUtil.hasPermission(this, permission.SEND_SMS)) { in onMessageFragmentSendMessage()
104 } else if (PermissionsUtil.isFirstRequest(this, permission.SEND_SMS) in onMessageFragmentSendMessage()
105 || shouldShowRequestPermissionRationale(permission.SEND_SMS)) { in onMessageFragmentSendMessage()
107 requestPermissions(new String[] {permission.SEND_SMS}, REQUEST_CODE_SEND_SMS); in onMessageFragmentSendMessage()
125 if (permissions.length > 0 && permissions[0].equals(permission.SEND_SMS)) { in onRequestPermissionsResult()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchActionViewHolder.java49 Action.SEND_SMS,
60 int SEND_SMS = 3; field
102 case Action.SEND_SMS: in setAction()
142 case Action.SEND_SMS: in onClick()
DNewSearchFragment.java514 actions.add(Action.SEND_SMS); in getActions()
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
DSmsManagerTestApp.java77 || checkSelfPermission(Manifest.permission.SEND_SMS) in onResume()
81 Manifest.permission.SEND_SMS}, REQUEST_PERMISSION_READ_STATE); in onResume()
161 Intent sendSmsIntent = new Intent(SmsManagerTestService.SEND_SMS); in sendOutgoingSmsService()
DSmsManagerTestService.java60 public static final String SEND_SMS = "com.android.phone.testapps.smsmanagertestapp.send_sms"; field in SmsManagerTestService
73 case SEND_SMS : { in onHandleIntent()
/packages/apps/Dialer/java/com/android/dialer/util/
DPermissionsUtil.java28 import static android.Manifest.permission.SEND_SMS;
70 SEND_SMS,
135 return hasPermission(context, permission.SEND_SMS); in hasSendSmsPermissions()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/
DMapMceTestFragment.java231 if (mActivity.checkSelfPermission(Manifest.permission.SEND_SMS) in sendMessage()
234 mActivity.requestPermissions(new String[]{Manifest.permission.SEND_SMS}, in sendMessage()
281 if (permissions[i] == Manifest.permission.SEND_SMS) { in onRequestPermissionsResult()
/packages/apps/Dialer/java/com/android/voicemail/
DVoicemailPermissionHelper.java38 permission.SEND_SMS
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java137 PLATFORM_PERMISSIONS.put(Manifest.permission.SEND_SMS, SMS); in PLATFORM_PERMISSIONS.put() argument
536 || Manifest.permission.SEND_SMS.equals(permission) in isPermissionIndividuallyControlled()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java512 mService.enforceCallingOrSelfPermission(Manifest.permission.SEND_SMS, in sendMessage()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java876 case SEND_SMS: in isCmdInteractive()
1119 case SEND_SMS: in handleCmd()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java5764 mApp.enforceCallingOrSelfPermission(permission.SEND_SMS, null); in enforceSendSmsPermission()