/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsController.java | 46 import android.telephony.SmsManager; 186 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_USER_NOT_ALLOWED); in sendDataForSubscriber() 192 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_FDN_CHECK_FAILURE); in sendDataForSubscriber() 204 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendDataForSubscriber() 218 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendDataForSubscriberWithSelfPermissionsInternal() 275 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendTextForSubscriber() 289 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_USER_NOT_ALLOWED); in sendTextForSubscriber() 295 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_FDN_CHECK_FAILURE); in sendTextForSubscriber() 342 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendIccText() 357 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendTextForSubscriberWithSelfPermissionsInternal() [all …]
|
D | SMSDispatcher.java | 68 import android.telephony.SmsManager; 406 trackers, SmsManager.RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED, NO_ERROR_CODE); in handleMessage() 415 error = SmsManager.RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED; in handleMessage() 419 error = SmsManager.RESULT_ERROR_SHORT_CODE_NOT_ALLOWED; in handleMessage() 424 error = SmsManager.RESULT_ERROR_LIMIT_EXCEEDED; in handleMessage() 428 error = SmsManager.RESULT_UNEXPECTED_EVENT_STOP_SENDING; in handleMessage() 1000 handleSmsTrackersFailure(trackers, SmsManager.RESULT_SMS_BLOCKED_DURING_EMERGENCY, in sendSubmitPdu() 1064 SmsManager.RESULT_ERROR_NONE, in handleSendComplete() 1076 SmsManager.RESULT_ERROR_NONE in handleSendComplete() 1133 } else if (error == SmsManager.RESULT_RIL_SMS_SEND_FAIL_RETRY in handleSendComplete() [all …]
|
D | AppSmsManager.java | 27 import android.telephony.SmsManager; 171 .putExtra(SmsManager.EXTRA_STATUS, SmsManager.RESULT_STATUS_SUCCESS) in handleSmsReceivedIntent() 172 .putExtra(SmsManager.EXTRA_SMS_MESSAGE, message) in handleSmsReceivedIntent() 173 .putExtra(SmsManager.EXTRA_SIM_SUBSCRIPTION_ID, info.subId) in handleSmsReceivedIntent() 200 .putExtra(SmsManager.EXTRA_STATUS, in removeExpiredTokenLocked() 201 SmsManager.RESULT_STATUS_TIMEOUT) in removeExpiredTokenLocked() 252 String[] prefixes = request.prefixes.split(SmsManager.REGEX_PREFIX_DELIMITER); in hasPrefix()
|
D | SmsUsageMonitor.java | 33 import android.telephony.SmsManager; 93 SmsManager.PREMIUM_SMS_CONSENT_UNKNOWN; 97 SmsManager.PREMIUM_SMS_CONSENT_ASK_USER; 101 SmsManager.PREMIUM_SMS_CONSENT_NEVER_ALLOW; 105 SmsManager.PREMIUM_SMS_CONSENT_ALWAYS_ALLOW; 206 return SmsManager.SMS_CATEGORY_FREE_SHORT_CODE; in getNumberCategory() 210 return SmsManager.SMS_CATEGORY_STANDARD_SHORT_CODE; in getNumberCategory() 214 return SmsManager.SMS_CATEGORY_PREMIUM_SHORT_CODE; in getNumberCategory() 217 return SmsManager.SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE; in getNumberCategory() 219 return SmsManager.SMS_CATEGORY_NOT_SHORT_CODE; in getNumberCategory() [all …]
|
D | BtSmsInterfaceManager.java | 29 import android.telephony.SmsManager; 52 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_NO_BLUETOOTH_SERVICE); in sendText() 58 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_INVALID_BLUETOOTH_ADDRESS); in sendText() 123 sendErrorInPendingIntent(mSentIntent, SmsManager.RESULT_BLUETOOTH_DISCONNECTED); in onServiceDisconnected()
|
D | WapPushOverSms.java | 44 import android.telephony.SmsManager; 251 subId = SmsManager.getDefaultSmsSubscriptionId(); in decodeWapPdu() 444 return SmsManager in shouldParseContentDisposition() 447 .getBoolean(SmsManager.MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, true); in shouldParseContentDisposition()
|
D | IccSmsInterfaceManager.java | 19 import static android.telephony.SmsManager.STATUS_ON_ICC_FREE; 20 import static android.telephony.SmsManager.STATUS_ON_ICC_READ; 21 import static android.telephony.SmsManager.STATUS_ON_ICC_UNREAD; 43 import android.telephony.SmsManager; 887 data = new byte[SmsManager.SMS_RECORD_LENGTH]; in makeSmsRecordData() 889 data = new byte[SmsManager.CDMA_SMS_RECORD_LENGTH]; in makeSmsRecordData() 1365 final ArrayList<String> parts = SmsManager.getDefault().divideMessage(textAndAddress[0]); in sendStoredMultipartText() 1532 pi.send(SmsManager.RESULT_ERROR_GENERIC_FAILURE); in returnUnspecifiedFailure()
|
D | ImsSmsDispatcher.java | 28 import android.telephony.SmsManager; 182 @SmsManager.Result int reason, int networkReasonCode) { 666 SmsManager.RESULT_SYSTEM_ERROR, in sendSms() 678 SmsManager.RESULT_SYSTEM_ERROR in sendSms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/ |
D | TelephonyAnalytics.java | 42 import android.telephony.SmsManager; 882 public void onOutgoingSms(boolean isOverIms, @SmsManager.Result int sendErrorCode) { in onOutgoingSms() 931 private void logOutgoingSms(boolean isOverIms, @SmsManager.Result int sendErrorCode) { in logOutgoingSms() 1057 case SmsManager.RESULT_ERROR_NONE: in getSmsFailureReasonString() 1059 case SmsManager.RESULT_ERROR_GENERIC_FAILURE: in getSmsFailureReasonString() 1061 case SmsManager.RESULT_ERROR_RADIO_OFF: in getSmsFailureReasonString() 1063 case SmsManager.RESULT_ERROR_NULL_PDU: in getSmsFailureReasonString() 1065 case SmsManager.RESULT_ERROR_NO_SERVICE: in getSmsFailureReasonString() 1067 case SmsManager.RESULT_ERROR_LIMIT_EXCEEDED: in getSmsFailureReasonString() 1069 case SmsManager.RESULT_ERROR_FDN_CHECK_FAILURE: in getSmsFailureReasonString() [all …]
|
/frameworks/opt/telephony/src/java/android/telephony/gsm/ |
D | SmsManager.java | 29 @Deprecated public final class SmsManager { class 30 private static SmsManager sInstance; 31 private android.telephony.SmsManager mSmsMgrProxy; 39 public static final SmsManager getDefault() { in getDefault() 41 sInstance = new SmsManager(); in getDefault() 47 private SmsManager() { in SmsManager() method in SmsManager 48 mSmsMgrProxy = android.telephony.SmsManager.getDefault(); in SmsManager() 222 return android.telephony.SmsManager.getDefault().getAllMessagesFromIcc(); in getAllMessagesFromSim()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | SmsManagerPermissionTest.java | 19 import android.telephony.SmsManager; 48 SmsManager.getDefault().sendTextMessage(SRC_NUMBER, DEST_NUMBER, MSG_CONTENTS, null, in testSendTextMessage() 64 SmsManager.getDefault().sendDataMessage(SRC_NUMBER, DEST_NUMBER, DEST_PORT, in testSendDataMessage() 83 SmsManager.getDefault().sendMultipartTextMessage(SRC_NUMBER, DEST_NUMBER, msgParts, in testSendMultipartMessage() 98 SmsManager.getDefault().enableCellBroadcastRange(CELL_BROADCAST_MESSAGE_ID_START, in testEnableCellBroadcastRange() 113 SmsManager.getDefault().disableCellBroadcastRange(CELL_BROADCAST_MESSAGE_ID_START, in testDisableCellBroadcastRange()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsManager.java | 84 public final class SmsManager { class 90 private static final Map<Pair<Context, Integer>, SmsManager> sSubInstances = 94 private static final SmsManager DEFAULT_INSTANCE = getSmsManagerForContextAndSubscriptionId( 307 SmsManager.SMS_RP_CAUSE_UNALLOCATED_NUMBER, 308 SmsManager.SMS_RP_CAUSE_OPERATOR_DETERMINED_BARRING, 309 SmsManager.SMS_RP_CAUSE_CALL_BARRING, 310 SmsManager.SMS_RP_CAUSE_RESERVED, 311 SmsManager.SMS_RP_CAUSE_SHORT_MESSAGE_TRANSFER_REJECTED, 312 SmsManager.SMS_RP_CAUSE_DESTINATION_OUT_OF_ORDER, 313 SmsManager.SMS_RP_CAUSE_UNIDENTIFIED_SUBSCRIBER, [all …]
|
D | SmsMessage.java | 268 return createFromEfRecord(index, data, SmsManager.getDefaultSmsSubscriptionId()); in createFromEfRecord() 363 return calculateLength(msgBody, use7bitOnly, SmsManager.getDefaultSmsSubscriptionId()); in calculateLength() 411 return fragmentText(text, SmsManager.getDefaultSmsSubscriptionId()); in fragmentText() 586 SmsManager.getDefaultSmsSubscriptionId()); in getSubmitPdu() 666 public static SubmitPdu getSmsPdu(int subId, @SmsManager.StatusOnIcc int status, in getSmsPdu() 671 if (status == SmsManager.STATUS_ON_ICC_READ in getSmsPdu() 672 || status == SmsManager.STATUS_ON_ICC_UNREAD) { // Deliver PDU in getSmsPdu() 680 if (status == SmsManager.STATUS_ON_ICC_READ in getSmsPdu() 681 || status == SmsManager.STATUS_ON_ICC_UNREAD) { // Deliver PDU in getSmsPdu() 1052 return useCdmaFormatForMoSms(SmsManager.getDefaultSmsSubscriptionId()); in useCdmaFormatForMoSms() [all …]
|
D | TelephonyFrameworkInitializer.java | 139 SmsManager.class, in registerServiceWrappers() 141 ? SmsManager.getSmsManagerForContextAndSubscriptionId(context, in registerServiceWrappers()
|
D | CarrierConfigManager.java | 7386 SmsManager.SMS_RP_CAUSE_TEMPORARY_FAILURE in getDefaults() 7391 SmsManager.SMS_RP_CAUSE_UNALLOCATED_NUMBER, in getDefaults() 7392 SmsManager.SMS_RP_CAUSE_OPERATOR_DETERMINED_BARRING, in getDefaults() 7393 SmsManager.SMS_RP_CAUSE_CALL_BARRING, in getDefaults() 7394 SmsManager.SMS_RP_CAUSE_RESERVED, in getDefaults() 7395 SmsManager.SMS_RP_CAUSE_SHORT_MESSAGE_TRANSFER_REJECTED, in getDefaults() 7396 SmsManager.SMS_RP_CAUSE_DESTINATION_OUT_OF_ORDER, in getDefaults() 7397 SmsManager.SMS_RP_CAUSE_UNIDENTIFIED_SUBSCRIBER, in getDefaults() 7398 SmsManager.SMS_RP_CAUSE_FACILITY_REJECTED, in getDefaults() 7399 SmsManager.SMS_RP_CAUSE_UNKNOWN_SUBSCRIBER, in getDefaults() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cat/ |
D | CATServiceTest.java | 37 import android.telephony.SmsManager; 263 SmsManager.RESULT_ERROR_GENERIC_FAILURE); in testSendTerminalResponseForSendSmsRpError() 268 SmsManager.RESULT_ERROR_GENERIC_FAILURE, null, null); in testSendTerminalResponseForSendSmsRpError() 278 SmsManager.RESULT_ERROR_GENERIC_FAILURE); in testSendTerminalResponseForSendSmsNetworkError() 283 SmsManager.RESULT_ERROR_GENERIC_FAILURE, null, null); in testSendTerminalResponseForSendSmsNetworkError() 293 SmsManager.RESULT_ERROR_GENERIC_FAILURE); in testSendTerminalResponseForDeliveryFailure() 296 SmsManager.RESULT_ERROR_GENERIC_FAILURE, null, null); in testSendTerminalResponseForDeliveryFailure()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | SmsStats.java | 49 import android.telephony.SmsManager; 162 @SmsManager.Result int sendErrorCode, long messageId, boolean isFromDefaultApp, in onOutgoingSms() 170 @SmsManager.Result int sendErrorCode, int networkErrorCode, long messageId, in onOutgoingSms() 184 } else if (sendErrorCode == SmsManager.RESULT_RIL_SMS_SEND_FAIL_RETRY) { in onOutgoingSms() 186 } else if (sendErrorCode != SmsManager.RESULT_ERROR_NONE) { in onOutgoingSms() 191 if (sendErrorCode == SmsManager.RESULT_RIL_SMS_SEND_FAIL_RETRY) { in onOutgoingSms() 193 } else if (sendErrorCode != SmsManager.RESULT_ERROR_NONE) { in onOutgoingSms() 197 if (sendErrorCode == SmsManager.RESULT_RIL_RADIO_NOT_AVAILABLE in onOutgoingSms() 256 proto.errorCode = isOverIms ? SmsManager.RESULT_ERROR_NONE : NO_ERROR_CODE; in getOutgoingDefaultProto()
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsSmsImplBase.java | 24 import android.telephony.SmsManager; 184 SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendSms() 328 SmsManager.RESULT_ERROR_NONE, RESULT_NO_NETWORK_ERROR); in onSendSmsResultSuccess() 354 @SendStatusResult int status, @SmsManager.Result int reason) throws RuntimeException { in onSendSmsResult() 391 @SmsManager.Result int reason, int networkErrorCode) throws RuntimeException { in onSendSmsResultError()
|
/frameworks/opt/telephony/ |
D | proguard.flags | 8 -keepclasseswithmembers class android.telephony.gsm.SmsManager,android.telephony.gsm.SmsManager$* {
|
D | README.txt | 5 SmsManager and others.
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsUsageMonitorShortCodeTest.java | 19 import static android.telephony.SmsManager.SMS_CATEGORY_FREE_SHORT_CODE; 20 import static android.telephony.SmsManager.SMS_CATEGORY_NOT_SHORT_CODE; 21 import static android.telephony.SmsManager.SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE; 22 import static android.telephony.SmsManager.SMS_CATEGORY_PREMIUM_SHORT_CODE; 23 import static android.telephony.SmsManager.SMS_CATEGORY_STANDARD_SHORT_CODE;
|
D | CellularNetworkServiceTest.java | 42 import android.telephony.SmsManager; 98 SmsManager.MMS_CONFIG_MMS_ENABLED, false); in setUp() 522 SmsManager.MMS_CONFIG_MMS_ENABLED, true); in testGetAvailableServices_withMmsEnabled()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmSmsDispatcherTest.java | 19 import static android.telephony.SmsManager.RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED; 20 import static android.telephony.SmsManager.SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE; 56 import android.telephony.SmsManager; 254 assertEquals(SmsManager.RESULT_ERROR_NULL_PDU, mTestReceiver.getResultCode()); in testSendTextWithInvalidDestAddr() 318 assertEquals(SmsManager.RESULT_ERROR_GENERIC_FAILURE, mTestReceiver.getResultCode()); in testSendMultipartTextWithInvalidText() 403 resultCode == SmsManager.RESULT_ERROR_NONE || resultCode == Activity.RESULT_OK); in testSendSmsByCarrierApp() 479 resultCode == SmsManager.RESULT_ERROR_NONE || resultCode == Activity.RESULT_OK); in testSendMultipartSmsByCarrierApp()
|
/frameworks/proto_logging/stats/enums/mms/ |
D | enums.proto | 24 // See frameworks/base/telephony/java/android/telephony/SmsManager.java
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 27 import android.telephony.SmsManager; 106 mCi.writeSmsToSim(SmsManager.STATUS_ON_ICC_UNREAD, smsc, in handleUsimDataDownload()
|