Home
last modified time | relevance | path

Searched refs:SmsManager (Results 1 – 25 of 25) sorted by relevance

/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsManager.java29 @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/
DSmsManagerPermissionTest.java21 import android.telephony.SmsManager;
43 SmsManager.getDefault().sendTextMessage(SRC_NUMBER, DEST_NUMBER, MSG_CONTENTS, null, in testSendTextMessage()
59 SmsManager.getDefault().sendDataMessage(SRC_NUMBER, DEST_NUMBER, DEST_PORT, in testSendDataMessage()
78 SmsManager.getDefault().sendMultipartTextMessage(SRC_NUMBER, DEST_NUMBER, msgParts, in testSendMultipartMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccSmsInterfaceManager.java19 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;
759 data = new byte[SmsManager.SMS_RECORD_LENGTH]; in makeSmsRecordData()
761 data = new byte[SmsManager.CDMA_SMS_RECORD_LENGTH]; in makeSmsRecordData()
786 if (ranType == SmsManager.CELL_BROADCAST_RAN_TYPE_GSM) { in enableCellBroadcastRange()
788 } else if (ranType == SmsManager.CELL_BROADCAST_RAN_TYPE_CDMA) { in enableCellBroadcastRange()
796 if (ranType == SmsManager.CELL_BROADCAST_RAN_TYPE_GSM ) { in disableCellBroadcastRange()
798 } else if (ranType == SmsManager.CELL_BROADCAST_RAN_TYPE_CDMA) { in disableCellBroadcastRange()
[all …]
DUiccSmsController.java31 import android.telephony.SmsManager;
111 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendDataForSubscriber()
145 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendTextForSubscriber()
197 sendErrorInPendingIntents(sentIntents, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendMultipartTextForSubscriber()
392 sendErrorInPendingIntent(sentIntent, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendStoredText()
407 sendErrorInPendingIntents(sentIntents, SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendStoredMultipartText()
DWapPushOverSms.java47 import android.telephony.SmsManager;
259 : SmsManager.getDefaultSmsSubscriptionId(); in decodeWapPdu()
333 if (SmsManager.getDefault().getAutoPersisting()) { in dispatchWapPdu()
430 return SmsManager in shouldParseContentDisposition()
433 .getBoolean(SmsManager.MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION, true); in shouldParseContentDisposition()
480 Bundle configs = SmsManager.getSmsManagerForSubscriptionId(subId) in writeInboxMessage()
483 SmsManager.MMS_CONFIG_APPEND_TRANSACTION_ID, false)) { in writeInboxMessage()
DSMSDispatcher.java22 import static android.telephony.SmsManager.RESULT_ERROR_FDN_CHECK_FAILURE;
23 import static android.telephony.SmsManager.RESULT_ERROR_GENERIC_FAILURE;
24 import static android.telephony.SmsManager.RESULT_ERROR_LIMIT_EXCEEDED;
25 import static android.telephony.SmsManager.RESULT_ERROR_NO_SERVICE;
26 import static android.telephony.SmsManager.RESULT_ERROR_NULL_PDU;
27 import static android.telephony.SmsManager.RESULT_ERROR_RADIO_OFF;
28 import static android.telephony.SmsManager.RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED;
29 import static android.telephony.SmsManager.RESULT_ERROR_SHORT_CODE_NOT_ALLOWED;
66 import android.telephony.SmsManager;
633 tracker.onFailed(mContext, SmsManager.RESULT_ERROR_NO_SERVICE, 0/*errorCode*/); in sendSubmitPdu()
[all …]
DSmsDispatchersController.java34 import android.telephony.SmsManager;
283 tracker.onFailed(mContext, SmsManager.RESULT_ERROR_GENERIC_FAILURE, 0/*errorCode*/); in sendRetrySms()
DInboundSmsHandler.java58 import android.telephony.SmsManager;
1144 if (SmsManager.getDefault().getAutoPersisting()) { in dispatchSmsDeliveryIntent()
DRIL.java89 import android.telephony.SmsManager;
4026 case SmsManager.STATUS_ON_ICC_READ: in translateStatus()
4028 case SmsManager.STATUS_ON_ICC_UNREAD: in translateStatus()
4030 case SmsManager.STATUS_ON_ICC_SENT: in translateStatus()
4032 case SmsManager.STATUS_ON_ICC_UNSENT: in translateStatus()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java24 import android.telephony.SmsManager;
163 if (!SmsManager.getDefault().isImsSmsSupported()) { in useCdmaFormatForMoSms()
169 return (SmsConstants.FORMAT_3GPP2.equals(SmsManager.getDefault().getImsSmsFormat())); in useCdmaFormatForMoSms()
DSmsApplication.java42 import android.telephony.SmsManager;
948 if (SmsManager.getDefault().getAutoPersisting()) { in shouldWriteMessageForPackage()
/frameworks/base/telephony/java/android/telephony/
DSmsManager.java60 public final class SmsManager { class
69 private static final SmsManager sInstance = new SmsManager(DEFAULT_SUBSCRIPTION_ID);
87 private static final Map<Integer, SmsManager> sSubInstances =
88 new ArrayMap<Integer, SmsManager>();
882 public static SmsManager getDefault() { in getDefault()
893 public static SmsManager getSmsManagerForSubscriptionId(int subId) { in getSmsManagerForSubscriptionId()
896 SmsManager smsManager = sSubInstances.get(subId); in getSmsManagerForSubscriptionId()
898 smsManager = new SmsManager(subId); in getSmsManagerForSubscriptionId()
905 private SmsManager(int subId) { in SmsManager() method in SmsManager
DSmsMessage.java840 SmsManager smsManager = SmsManager.getSmsManagerForSubscriptionId(subId); in useCdmaFormatForMoSms()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsSmsImplBase.java22 import android.telephony.SmsManager;
157 SmsManager.RESULT_ERROR_GENERIC_FAILURE); in sendSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmSmsDispatcherTest.java19 import static android.telephony.SmsManager.RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED;
48 import android.telephony.SmsManager;
225 assertEquals(SmsManager.RESULT_ERROR_NULL_PDU, mTestReceiver.getResultCode()); in testSendTextWithInvalidDestAddr()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DUsimDataDownloadHandler.java26 import android.telephony.SmsManager;
89 mCi.writeSmsToSim(SmsManager.STATUS_ON_ICC_UNREAD, smsc, in handleUsimDataDownload()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java40 import android.telephony.SmsManager;
209 pendingIntent.send(mContext, SmsManager.MMS_ERROR_UNSPECIFIED, null);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java128 import android.telephony.SmsManager;
554 int status = SmsManager.STATUS_ON_ICC_READ; in testWriteSmsToSim()
/frameworks/base/config/
Dhiddenapi-public-dex.txt43116 Landroid/telephony/gsm/SmsManager;
43117 Landroid/telephony/gsm/SmsManager;->divideMessage(Ljava/lang/String;)Ljava/util/ArrayList;
43118 Landroid/telephony/gsm/SmsManager;->getDefault()Landroid/telephony/gsm/SmsManager;
43119 Landroid/telephony/gsm/SmsManager;->RESULT_ERROR_GENERIC_FAILURE:I
43120 Landroid/telephony/gsm/SmsManager;->RESULT_ERROR_NO_SERVICE:I
43121 Landroid/telephony/gsm/SmsManager;->RESULT_ERROR_NULL_PDU:I
43122 Landroid/telephony/gsm/SmsManager;->RESULT_ERROR_RADIO_OFF:I
43123 Landroid/telephony/gsm/SmsManager;->sendDataMessage(Ljava/lang/String;Ljava/lang/String;S[BLandroid…
43124 Landroid/telephony/gsm/SmsManager;->sendMultipartTextMessage(Ljava/lang/String;Ljava/lang/String;Lj…
43125 Landroid/telephony/gsm/SmsManager;->sendTextMessage(Ljava/lang/String;Ljava/lang/String;Ljava/lang/…
[all …]
Dhiddenapi-light-greylist.txt5507 Landroid/telephony/SmsManager;->copyMessageToIcc([B[BI)Z
5508 Landroid/telephony/SmsManager;->deleteMessageFromIcc(I)Z
5509 Landroid/telephony/SmsManager;->disableCellBroadcastRange(III)Z
5510 Landroid/telephony/SmsManager;->enableCellBroadcastRange(III)Z
5511 Landroid/telephony/SmsManager;->getAllMessagesFromIcc()Ljava/util/ArrayList;
5512 Landroid/telephony/SmsManager;->isSMSPromptEnabled()Z
5513 Landroid/telephony/SmsManager;->mSubId:I
5514 Landroid/telephony/SmsManager;->sendMultipartTextMessage(Ljava/lang/String;Ljava/lang/String;Ljava/…
5515 Landroid/telephony/SmsManager;->sendTextMessage(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Stri…
5516 Landroid/telephony/SmsManager;->sendTextMessageWithoutPersisting(Ljava/lang/String;Ljava/lang/Strin…
[all …]
Dpreloaded-classes2900 android.telephony.SmsManager
Dboot-image-profile.txt5774 HPLandroid/telephony/SmsManager;->getISmsServiceOrThrow()Lcom/android/internal/telephony/ISms;
5775 HPLandroid/telephony/SmsManager;->getSmsManagerForSubscriptionId(I)Landroid/telephony/SmsManager;
5776 HPLandroid/telephony/SmsManager;->getSubscriptionId()I
5777 HPLandroid/telephony/SmsManager;->sendDataMessageWithSelfPermissions(Ljava/lang/String;Ljava/lang/S…
30638 HSPLandroid/telephony/SmsManager;-><init>(I)V
30639 HSPLandroid/telephony/SmsManager;->getDefault()Landroid/telephony/SmsManager;
30640 HSPLandroid/telephony/SmsManager;->getDefaultSmsSubscriptionId()I
58101 Landroid/telephony/SmsManager;
/frameworks/base/api/
Dsystem-current.txt5058 public final class SmsManager {
Dcurrent.txt42228 public final class SmsManager {
42233 method public static android.telephony.SmsManager getDefault();
42235 method public static android.telephony.SmsManager getSmsManagerForSubscriptionId(int);
42814 public final deprecated class SmsManager {
42816 method public static deprecated android.telephony.gsm.SmsManager getDefault();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28493 public final class SmsManager {
28497 method public static android.telephony.SmsManager getDefault();
28499 method public static android.telephony.SmsManager getSmsManagerForSubscriptionId(int);
28775 public final deprecated class SmsManager {
28777 method public static final deprecated android.telephony.gsm.SmsManager getDefault();