Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java33 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testAddressing() local
34 assertEquals("+14155551212", sms.getServiceCenterAddress()); in testAddressing()
35 assertEquals("+16505551111", sms.getOriginatingAddress()); in testAddressing()
36 assertEquals("Test", sms.getMessageBody()); in testAddressing()
40 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testAddressing()
41 assertEquals("+14155551212", sms.getServiceCenterAddress()); in testAddressing()
42 assertEquals("+16505551111", sms.getOriginatingAddress()); in testAddressing()
43 assertEquals("(Subject)Test", sms.getMessageBody()); in testAddressing()
46 sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testAddressing()
47 assertEquals("*#abc#*51", sms.getOriginatingAddress()); in testAddressing()
[all …]
DSMSDispatcherTest.java.broken37 SmsMessage sms;
50 sms = SmsMessage.newFromCMT(lines);
51 header = sms.getUserDataHeader();
53 assertNotNull(sms.getUserData());
67 SmsMessage sms;
77 sms = SmsMessage.newFromCMT(lines);
78 header = sms.getUserDataHeader();
80 assertNotNull(sms.getUserData());
94 SmsMessage sms;
104 sms = SmsMessage.createFromEfRecord(1, data);
[all …]
DSimSmsTest.java34 ISms sms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in testBasic() local
35 assertNotNull(sms); in testBasic()
37 int preferredSmsSubscription = sms.getPreferredSmsSubscription(); in testBasic()
38 List<SmsRawData> records = sms.getAllMessagesFromIccEfForSubscriber( in testBasic()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java37 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
108 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local
109 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); in dispatchMessageRadioSpecific()
116 SmsCbMessage cbMessage = sms.parseBroadcastSms(plmn); in dispatchMessageRadioSpecific()
126 mLastDispatchedSmsFingerprint = sms.getIncomingSmsFingerprint(); in dispatchMessageRadioSpecific()
133 sms.parseSms(); in dispatchMessageRadioSpecific()
134 int teleService = sms.getTeleService(); in dispatchMessageRadioSpecific()
140 handleVoicemailTeleservice(sms); in dispatchMessageRadioSpecific()
145 if (sms.isStatusReportMessage()) { in dispatchMessageRadioSpecific()
146 mSmsDispatcher.sendStatusReportMessage(sms); in dispatchMessageRadioSpecific()
[all …]
DCdmaServiceCategoryProgramHandler.java35 import com.android.internal.telephony.cdma.sms.BearerData;
36 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
37 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
97 private boolean handleServiceCategoryProgramData(SmsMessage sms) { in handleServiceCategoryProgramData() argument
98 ArrayList<CdmaSmsCbProgramData> programDataList = sms.getSmsCbProgramData(); in handleServiceCategoryProgramData()
105 intent.putExtra("sender", sms.getOriginatingAddress()); in handleServiceCategoryProgramData()
DCdmaSMSDispatcher.java57 public void sendStatusReportMessage(SmsMessage sms) { in sendStatusReportMessage() argument
59 sendMessage(obtainMessage(EVENT_HANDLE_STATUS_REPORT, sms)); in sendStatusReportMessage()
102 private void handleCdmaStatusReport(SmsMessage sms) { in handleCdmaStatusReport() argument
105 if (tracker.mMessageRef == sms.mMessageRef) { in handleCdmaStatusReport()
108 sms.getPdu()); in handleCdmaStatusReport()
DSmsMessageConverter.java37 import com.android.internal.telephony.cdma.sms.BearerData;
38 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
39 import com.android.internal.telephony.cdma.sms.CdmaSmsSubaddress;
40 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
41 import com.android.internal.telephony.cdma.sms.UserData;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java95 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local
97 if (sms.isTypeZero()) { in dispatchMessageRadioSpecific()
100 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchMessageRadioSpecific()
106 .filter(mContext, new byte[][]{sms.getPdu()}, SmsConstants.FORMAT_3GPP, in dispatchMessageRadioSpecific()
116 if (sms.isUsimDataDownload()) { in dispatchMessageRadioSpecific()
118 return mDataDownloadHandler.handleUsimDataDownload(ust, sms); in dispatchMessageRadioSpecific()
122 if (sms.isMWISetMessage()) { in dispatchMessageRadioSpecific()
123 updateMessageWaitingIndicator(sms.getNumOfVoicemails()); in dispatchMessageRadioSpecific()
124 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific()
126 } else if (sms.isMWIClearMessage()) { in dispatchMessageRadioSpecific()
[all …]
DGsmSMSDispatcher.java138 SmsMessage sms = SmsMessage.newFromCDS(pdu); in handleStatusReport() local
140 if (sms != null) { in handleStatusReport()
141 int messageRef = sms.mMessageRef; in handleStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java598 SmsMessage sms = (SmsMessage) ar.result; in handleNewSms() local
600 result = dispatchMessage(sms.mWrappedSmsMessage); in handleNewSms()
624 SmsMessage sms = (SmsMessage) ar.result; in handleInjectSms() local
625 if (sms == null) { in handleInjectSms()
629 result = dispatchMessage(sms.mWrappedSmsMessage); in handleInjectSms()
744 protected int dispatchNormalMessage(SmsMessageBase sms) { in dispatchNormalMessage() argument
745 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchNormalMessage()
758 .makeInboundSmsTracker(sms.getPdu(), in dispatchNormalMessage()
759 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
760 sms.getOriginatingAddress(), sms.getDisplayOriginatingAddress(), in dispatchNormalMessage()
[all …]
DRadioResponse.java414 SendSmsResult sms) { in sendSmsResponse() argument
415 responseSms(responseInfo, sms); in sendSmsResponse()
423 SendSmsResult sms) { in sendSMSExpectMoreResponse() argument
424 responseSms(responseInfo, sms); in sendSMSExpectMoreResponse()
917 public void sendCdmaSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendCdmaSmsResponse() argument
918 responseSms(responseInfo, sms); in sendCdmaSmsResponse()
1157 public void sendImsSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendImsSmsResponse() argument
1158 responseSms(responseInfo, sms); in sendImsSmsResponse()
1916 private void responseSms(RadioResponseInfo responseInfo, SendSmsResult sms) { in responseSms() argument
1920 SmsResponse ret = new SmsResponse(sms.messageRef, sms.ackPDU, sms.errorCode); in responseSms()
DSmsDispatchersController.java776 com.android.internal.telephony.gsm.SmsMessage sms = in handleGsmStatusReport() local
780 if (sms != null) { in handleGsmStatusReport()
781 int tpStatus = sms.getStatus(); in handleGsmStatusReport()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsEnvelope.java17 package com.android.internal.telephony.cdma.sms;
20 import com.android.internal.telephony.cdma.sms.CdmaSmsSubaddress;
DCdmaSmsSubaddress.java17 package com.android.internal.telephony.cdma.sms;
DCdmaSmsAddress.java17 package com.android.internal.telephony.cdma.sms;
23 import com.android.internal.telephony.cdma.sms.UserData;
DUserData.java17 package com.android.internal.telephony.cdma.sms;
DSmsMessage.java36 import com.android.internal.telephony.cdma.sms.BearerData;
37 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
38 import com.android.internal.telephony.cdma.sms.CdmaSmsSubaddress;
39 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
40 import com.android.internal.telephony.cdma.sms.UserData;
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java167 VisualVoicemailSms sms = msg.getData().getParcelable(DATA_SMS);
168 onSmsReceived(task, sms);
213 VisualVoicemailSms sms); in onSmsReceived() argument
/frameworks/base/core/java/android/service/sms/
DIFinancialSmsService.aidl17 package android.service.sms;
DFinancialSmsService.java16 package android.service.sms;
/frameworks/base/services/core/java/com/android/server/role/
DFinancialSmsManager.java35 import android.service.sms.FinancialSmsService;
36 import android.service.sms.IFinancialSmsService;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddressTest.java17 package com.android.internal.telephony.cdma.sms;
/frameworks/base/config/
Dhiddenapi-greylist.txt1207 Lcom/android/internal/telephony/cdma/sms/BearerData$CodingException;-><init>(Ljava/lang/String;)V
1208 Lcom/android/internal/telephony/cdma/sms/BearerData$TimeStamp;-><init>()V
1209 Lcom/android/internal/telephony/cdma/sms/BearerData;-><init>()V
1210 Lcom/android/internal/telephony/cdma/sms/BearerData;->countAsciiSeptets(Ljava/lang/CharSequence;Z)I
1211 Lcom/android/internal/telephony/cdma/sms/BearerData;->decodeUserDataPayload(Lcom/android/internal/t…
1212 Lcom/android/internal/telephony/cdma/sms/BearerData;->displayMode:I
1213 Lcom/android/internal/telephony/cdma/sms/BearerData;->encode(Lcom/android/internal/telephony/cdma/s…
1214 Lcom/android/internal/telephony/cdma/sms/BearerData;->encode7bitAscii(Ljava/lang/String;Z)[B
1215 Lcom/android/internal/telephony/cdma/sms/BearerData;->getBitsForNumFields(II)I
1216 Lcom/android/internal/telephony/cdma/sms/BearerData;->hasUserDataHeader:Z
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java30 import com.android.internal.telephony.cdma.sms.BearerData;
31 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
32 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
33 import com.android.internal.telephony.cdma.sms.UserData;
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java1755 StateMachineSharedThread sms[] = new StateMachineSharedThread[10]; in testStateMachineSharedThread() local
1756 for (int i = 0; i < sms.length; i++) { in testStateMachineSharedThread()
1757 sms[i] = new StateMachineSharedThread("smSharedThread", in testStateMachineSharedThread()
1758 smThread.getLooper(), sms.length); in testStateMachineSharedThread()
1759 sms[i].start(); in testStateMachineSharedThread()
1764 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()
1779 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()

12