Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeControllerTest.kt24 import android.Manifest.permission.SEND_SMS in <lambda>()
250 Permission(SEND_SMS) in <lambda>()
256 verifyWhitelisted(TEST_PKG_NAME, SEND_SMS) in <lambda>()
279 Permission(SEND_SMS) in <lambda>()
285 verifyNotWhitelisted(TEST_PKG_NAME, SEND_SMS) in <lambda>()
293 Permission(SEND_SMS), in <lambda>()
300 verifyWhitelisted(TEST_PKG_NAME, SEND_SMS) in <lambda>()
309 Permission(SEND_SMS), in <lambda>()
316 verifyNotWhitelisted(TEST_PKG_NAME, SEND_SMS) in <lambda>()
434 verifyNotWhitelisted(TEST_PKG_NAME, SEND_SMS) in <lambda>()
/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.java87 || checkSelfPermission(Manifest.permission.SEND_SMS) in onResume()
91 Manifest.permission.SEND_SMS}, REQUEST_PERMISSION_READ_STATE); in onResume()
171 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.java337 if (mActivity.checkSelfPermission(Manifest.permission.SEND_SMS) in sendMessage()
340 mActivity.requestPermissions(new String[]{Manifest.permission.SEND_SMS}, in sendMessage()
387 if (permissions[i] == Manifest.permission.SEND_SMS) { in onRequestPermissionsResult()
/packages/apps/Dialer/java/com/android/voicemail/
DVoicemailPermissionHelper.java38 permission.SEND_SMS
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/dialogs/
DDialogsActivity.java268 && checkSelfPermission(Manifest.permission.SEND_SMS) in showMultiPermissionDialog()
278 Manifest.permission.READ_CONTACTS, Manifest.permission.SEND_SMS}, 1); in showMultiPermissionDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java234 PLATFORM_PERMISSIONS.put(Manifest.permission.SEND_SMS, SMS); in PLATFORM_PERMISSIONS.put() argument
791 || Manifest.permission.SEND_SMS.equals(permission) in isPermissionIndividuallyControlled()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java585 mService.enforceCallingOrSelfPermission(Manifest.permission.SEND_SMS, in sendMessage()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java924 case SEND_SMS: in isCmdInteractive()
1151 case SEND_SMS: in handleCmd()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java7973 mApp.enforceCallingOrSelfPermission(permission.SEND_SMS, null); in enforceSendSmsPermission()