/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsController.java | 36 import android.telephony.SmsManager; 161 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendDataForSubscriber() 175 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendDataForSubscriberWithSelfPermissionsInternal() 193 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendTextForSubscriber() 234 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendIccText() 249 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendTextForSubscriberWithSelfPermissionsInternal() 269 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendTextForSubscriberWithOptions() 291 sendErrorInPendingIntents(sentIntents, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendMultipartTextForSubscriber() 311 sendErrorInPendingIntents(sentIntents, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendMultipartTextForSubscriberWithOptions() 522 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendStoredText() [all …]
|
D | AppSmsManager.java | 27 import android.telephony.SmsManager; 170 .putExtra(SmsManager.EXTRA_STATUS, SmsManager.RESULT_STATUS_SUCCESS) in handleSmsReceivedIntent() 171 .putExtra(SmsManager.EXTRA_SMS_MESSAGE, message) in handleSmsReceivedIntent() 172 .putExtra(SmsManager.EXTRA_SIM_SUBSCRIPTION_ID, info.subId) in handleSmsReceivedIntent() 198 .putExtra(SmsManager.EXTRA_STATUS, in removeExpiredTokenLocked() 199 SmsManager.RESULT_STATUS_TIMEOUT) in removeExpiredTokenLocked() 249 String[] prefixes = request.prefixes.split(SmsManager.REGEX_PREFIX_DELIMITER); in hasPrefix()
|
D | SmsUsageMonitor.java | 32 import android.telephony.SmsManager; 87 SmsManager.PREMIUM_SMS_CONSENT_UNKNOWN; 91 SmsManager.PREMIUM_SMS_CONSENT_ASK_USER; 95 SmsManager.PREMIUM_SMS_CONSENT_NEVER_ALLOW; 99 SmsManager.PREMIUM_SMS_CONSENT_ALWAYS_ALLOW; 196 return SmsManager.SMS_CATEGORY_FREE_SHORT_CODE; in getNumberCategory() 200 return SmsManager.SMS_CATEGORY_STANDARD_SHORT_CODE; in getNumberCategory() 204 return SmsManager.SMS_CATEGORY_PREMIUM_SHORT_CODE; in getNumberCategory() 207 return SmsManager.SMS_CATEGORY_POSSIBLE_PREMIUM_SHORT_CODE; in getNumberCategory() 209 return SmsManager.SMS_CATEGORY_NOT_SHORT_CODE; in getNumberCategory() [all …]
|
D | SMSDispatcher.java | 20 import static android.telephony.SmsManager.RESULT_ERROR_GENERIC_FAILURE; 21 import static android.telephony.SmsManager.RESULT_ERROR_LIMIT_EXCEEDED; 22 import static android.telephony.SmsManager.RESULT_ERROR_NONE; 23 import static android.telephony.SmsManager.RESULT_ERROR_NO_SERVICE; 24 import static android.telephony.SmsManager.RESULT_ERROR_NULL_PDU; 25 import static android.telephony.SmsManager.RESULT_ERROR_RADIO_OFF; 26 import static android.telephony.SmsManager.RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED; 27 import static android.telephony.SmsManager.RESULT_ERROR_SHORT_CODE_NOT_ALLOWED; 66 import android.telephony.SmsManager; 341 error = SmsManager.RESULT_UNEXPECTED_EVENT_STOP_SENDING; in handleMessage() [all …]
|
D | BtSmsInterfaceManager.java | 26 import android.telephony.SmsManager; 123 sendErrorInPendingIntent(mSentIntent, SmsManager.RESULT_BLUETOOTH_DISCONNECTED); in onServiceDisconnected()
|
D | WapPushOverSms.java | 50 import android.telephony.SmsManager; 294 : SmsManager.getDefaultSmsSubscriptionId(); in decodeWapPdu() 469 return SmsManager in shouldParseContentDisposition() 472 .getBoolean(SmsManager.MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, true); in shouldParseContentDisposition() 517 Bundle configs = SmsManager.getSmsManagerForSubscriptionId(subId) in writeInboxMessage() 520 SmsManager.MMS_CONFIG_APPEND_TRANSACTION_ID, false)) { in writeInboxMessage()
|
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; 41 import android.telephony.SmsManager; 862 data = new byte[SmsManager.SMS_RECORD_LENGTH]; in makeSmsRecordData() 864 data = new byte[SmsManager.CDMA_SMS_RECORD_LENGTH]; in makeSmsRecordData() 1359 final ArrayList<String> parts = SmsManager.getDefault().divideMessage(textAndAddress[0]); in sendStoredMultipartText() 1508 pi.send(SmsManager.RESULT_ERROR_GENERIC_FAILURE); in returnUnspecifiedFailure()
|
D | SmsDispatchersController.java | 40 import android.telephony.SmsManager; 464 tracker.onFailed(mContext, SmsManager.RESULT_SMS_SEND_RETRY_FAILED, NO_ERROR_CODE); in sendRetrySms()
|
D | RIL.java | 95 import android.telephony.SmsManager; 5321 case SmsManager.STATUS_ON_ICC_READ: in translateStatus() 5323 case SmsManager.STATUS_ON_ICC_UNREAD: in translateStatus() 5325 case SmsManager.STATUS_ON_ICC_SENT: in translateStatus() 5327 case SmsManager.STATUS_ON_ICC_UNSENT: in translateStatus()
|
/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; 47 SmsManager.getDefault().sendTextMessage(SRC_NUMBER, DEST_NUMBER, MSG_CONTENTS, null, in testSendTextMessage() 63 SmsManager.getDefault().sendDataMessage(SRC_NUMBER, DEST_NUMBER, DEST_PORT, in testSendDataMessage() 82 SmsManager.getDefault().sendMultipartTextMessage(SRC_NUMBER, DEST_NUMBER, msgParts, in testSendMultipartMessage() 97 SmsManager.getDefault().enableCellBroadcastRange(CELL_BROADCAST_MESSAGE_ID_START, in testEnableCellBroadcastRange() 112 SmsManager.getDefault().disableCellBroadcastRange(CELL_BROADCAST_MESSAGE_ID_START, in testDisableCellBroadcastRange()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 289 return createFromEfRecord(index, data, SmsManager.getDefaultSmsSubscriptionId()); in createFromEfRecord() 384 return calculateLength(msgBody, use7bitOnly, SmsManager.getDefaultSmsSubscriptionId()); in calculateLength() 432 return fragmentText(text, SmsManager.getDefaultSmsSubscriptionId()); in fragmentText() 604 SmsManager.getDefaultSmsSubscriptionId()); in getSubmitPdu() 684 public static SubmitPdu getSmsPdu(int subId, @SmsManager.StatusOnIcc int status, in getSmsPdu() 689 if (status == SmsManager.STATUS_ON_ICC_READ in getSmsPdu() 690 || status == SmsManager.STATUS_ON_ICC_UNREAD) { // Deliver PDU in getSmsPdu() 698 if (status == SmsManager.STATUS_ON_ICC_READ in getSmsPdu() 699 || status == SmsManager.STATUS_ON_ICC_UNREAD) { // Deliver PDU in getSmsPdu() 1050 return useCdmaFormatForMoSms(SmsManager.getDefaultSmsSubscriptionId()); in useCdmaFormatForMoSms() [all …]
|
D | SmsManager.java | 74 public final class SmsManager { class 78 private static final SmsManager sInstance = new SmsManager( 92 private static final Map<Integer, SmsManager> sSubInstances = 93 new ArrayMap<Integer, SmsManager>(); 287 SmsManager.PREMIUM_SMS_CONSENT_UNKNOWN, 288 SmsManager.PREMIUM_SMS_CONSENT_ASK_USER, 289 SmsManager.PREMIUM_SMS_CONSENT_NEVER_ALLOW, 290 SmsManager.PREMIUM_SMS_CONSENT_ALWAYS_ALLOW 1451 public static SmsManager getDefault() { in getDefault() 1468 public static SmsManager getSmsManagerForSubscriptionId(int subId) { in getSmsManagerForSubscriptionId() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsSmsImplBase.java | 24 import android.telephony.SmsManager; 168 SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendSms() 265 SmsManager.RESULT_ERROR_NONE, RESULT_NO_NETWORK_ERROR); in onSendSmsResultSuccess() 292 @SendStatusResult int status, @SmsManager.Result int reason) throws RuntimeException { in onSendSmsResult() 326 @SmsManager.Result int reason, int networkErrorCode) throws RuntimeException { in onSendSmsResultError()
|
/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; 47 import android.telephony.SmsManager; 229 assertEquals(SmsManager.RESULT_ERROR_NULL_PDU, mTestReceiver.getResultCode()); in testSendTextWithInvalidDestAddr() 296 assertEquals(SmsManager.RESULT_ERROR_GENERIC_FAILURE, mTestReceiver.getResultCode()); in testSendMultipartTextWithInvalidText()
|
/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 | RILTest.java | 151 import android.telephony.SmsManager; 749 int status = SmsManager.STATUS_ON_ICC_READ; in testWriteSmsToSim()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadHandler.java | 25 import android.telephony.SmsManager; 92 mCi.writeSmsToSim(SmsManager.STATUS_ON_ICC_UNREAD, smsc, in handleUsimDataDownload()
|
/frameworks/opt/telephony/ |
D | README.txt | 5 SmsManager and others.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 52 import android.telephony.SmsManager; 563 if (event.errorCode != SmsManager.RESULT_ERROR_NONE) { in printAllMetrics() 2355 .setErrorCode(success ? SmsManager.RESULT_ERROR_NONE : in writeIncomingSmsWithType() 2356 SmsManager.RESULT_ERROR_GENERIC_FAILURE)); in writeIncomingSmsWithType() 2425 .setErrorCode(success ? SmsManager.RESULT_ERROR_NONE : in writeIncomingSmsSessionWithType() 2426 SmsManager.RESULT_ERROR_GENERIC_FAILURE) in writeIncomingSmsSessionWithType() 2477 int smsError = SmsManager.RESULT_ERROR_GENERIC_FAILURE; in writeIncomingSmsError() 2483 smsError = SmsManager.RESULT_NO_MEMORY; in writeIncomingSmsError() 2486 smsError = SmsManager.RESULT_REQUEST_NOT_SUPPORTED; in writeIncomingSmsError() 2490 smsError = SmsManager.RESULT_ERROR_GENERIC_FAILURE; in writeIncomingSmsError()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 41 import android.telephony.SmsManager; 211 pendingIntent.send(mContext, SmsManager.MMS_ERROR_UNSPECIFIED, null);
|
/frameworks/base/api/ |
D | lint-baseline.txt | 1108 RequiresPermission: android.telephony.SmsManager#injectSmsPdu(byte[], String, android.app.PendingIn… 1110 RequiresPermission: android.telephony.SmsManager#sendDataMessage(String, String, short, byte[], and… 1112 RequiresPermission: android.telephony.SmsManager#sendMultipartTextMessage(String, String, java.util… 1114 RequiresPermission: android.telephony.SmsManager#sendTextMessage(String, String, String, android.ap… 1116 RequiresPermission: android.telephony.SmsManager#sendTextMessageWithoutPersisting(String, String, S…
|
D | system-lint-baseline.txt | 427 …ndroid.telephony.SmsManager#getSmsMessagesForFinancialApp(android.os.Bundle, java.util.concurrent.…
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SIMRecords.java | 19 import static android.telephony.SmsManager.STATUS_ON_ICC_READ; 20 import static android.telephony.SmsManager.STATUS_ON_ICC_UNREAD;
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 2589 // - it is mapped to a SmsManager.RESULT_* code 2590 // SmsManager can be accessed from 2591 // frameworks/base/telephony/java/android/telephony/SmsManager.java
|