Home
last modified time | relevance | path

Searched refs:sms (Results 1 – 25 of 39) 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( in testBasic() local
39 assertNotNull(sms); in testBasic()
41 int preferredSmsSubscription = sms.getPreferredSmsSubscription(); in testBasic()
42 List<SmsRawData> records = sms.getAllMessagesFromIccEfForSubscriber( in testBasic()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java40 import com.android.internal.telephony.cdma.sms.BearerData;
41 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
42 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
195 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local
196 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); in dispatchMessageRadioSpecific()
201 mCellBroadcastServiceManager.sendCdmaMessageToHandler(sms); in dispatchMessageRadioSpecific()
206 mLastDispatchedSmsFingerprint = sms.getIncomingSmsFingerprint(); in dispatchMessageRadioSpecific()
213 sms.parseSms(); in dispatchMessageRadioSpecific()
214 int teleService = sms.getTeleService(); in dispatchMessageRadioSpecific()
220 handleVoicemailTeleservice(sms); in dispatchMessageRadioSpecific()
[all …]
DCdmaSMSDispatcher.java58 public void sendStatusReportMessage(SmsMessage sms) { in sendStatusReportMessage() argument
60 sendMessage(obtainMessage(EVENT_HANDLE_STATUS_REPORT, sms)); in sendStatusReportMessage()
103 private void handleCdmaStatusReport(SmsMessage sms) { in handleCdmaStatusReport() argument
104 byte[] pdu = sms.getPdu(); in handleCdmaStatusReport()
105 int messageRef = sms.mMessageRef; in handleCdmaStatusReport()
DSmsMessageConverter.java22 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
23 import com.android.internal.telephony.cdma.sms.CdmaSmsSubaddress;
24 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java161 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local
163 if (sms.isTypeZero()) { in dispatchMessageRadioSpecific()
166 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchMessageRadioSpecific()
172 .filter(mContext, new byte[][]{sms.getPdu()}, SmsConstants.FORMAT_3GPP, in dispatchMessageRadioSpecific()
182 if (sms.isUsimDataDownload()) { in dispatchMessageRadioSpecific()
184 return mDataDownloadHandler.handleUsimDataDownload(ust, sms); in dispatchMessageRadioSpecific()
188 if (sms.isMWISetMessage()) { in dispatchMessageRadioSpecific()
189 updateMessageWaitingIndicator(sms.getNumOfVoicemails()); in dispatchMessageRadioSpecific()
190 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific()
192 } else if (sms.isMWIClearMessage()) { in dispatchMessageRadioSpecific()
[all …]
DGsmSMSDispatcher.java143 SmsMessage sms = SmsMessage.newFromCDS(pdu); in handleStatusReport() local
146 if (sms != null) { in handleStatusReport()
147 int messageRef = sms.mMessageRef; in handleStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastServiceManager.java90 public void sendCdmaMessageToHandler(SmsMessage sms) { in sendCdmaMessageToHandler() argument
93 m.obj = sms; in sendCdmaMessageToHandler()
101 public void sendCdmaScpMessageToHandler(SmsMessage sms, RemoteCallback callback) { in sendCdmaScpMessageToHandler() argument
104 m.obj = Pair.create(sms, callback); in sendCdmaScpMessageToHandler()
170 SmsMessage sms = (SmsMessage) msg.obj; in initCellBroadcastServiceModule()
175 sms.getEnvelopeBearerData(), sms.getEnvelopeServiceCategory()); in initCellBroadcastServiceModule()
183 SmsMessage sms = smsAndCallback.first; in initCellBroadcastServiceModule()
186 sms.getSmsCbProgramData(), in initCellBroadcastServiceModule()
187 sms.getOriginatingAddress(), in initCellBroadcastServiceModule()
DInboundSmsHandler.java640 SmsMessage sms = (SmsMessage) ar.result; in handleNewSms() local
642 result = dispatchMessage(sms.mWrappedSmsMessage); in handleNewSms()
666 SmsMessage sms = (SmsMessage) ar.result; in handleInjectSms() local
667 if (sms == null) { in handleInjectSms()
672 result = dispatchMessage(sms.mWrappedSmsMessage); in handleInjectSms()
785 protected int dispatchNormalMessage(SmsMessageBase sms) { in dispatchNormalMessage() argument
786 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchNormalMessage()
799 .makeInboundSmsTracker(mContext, sms.getPdu(), in dispatchNormalMessage()
800 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
801 sms.getOriginatingAddress(), sms.getDisplayOriginatingAddress(), in dispatchNormalMessage()
[all …]
DSmsDispatchersController.java22 import static com.android.internal.telephony.cdma.sms.BearerData.ERROR_NONE;
23 import static com.android.internal.telephony.cdma.sms.BearerData.ERROR_TEMPORARY;
814 com.android.internal.telephony.cdma.SmsMessage sms = in handleCdmaStatusReport() local
818 if (sms != null) { in handleCdmaStatusReport()
820 int errorClass = (sms.getStatus() >> 24) & 0x03; in handleCdmaStatusReport()
835 com.android.internal.telephony.gsm.SmsMessage sms = in handleGsmStatusReport() local
839 if (sms != null) { in handleGsmStatusReport()
840 int tpStatus = sms.getStatus(); in handleGsmStatusReport()
DRadioResponse.java496 SendSmsResult sms) { in sendSmsResponse() argument
497 responseSms(responseInfo, sms); in sendSmsResponse()
505 SendSmsResult sms) { in sendSMSExpectMoreResponse() argument
506 responseSms(responseInfo, sms); in sendSMSExpectMoreResponse()
1035 public void sendCdmaSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendCdmaSmsResponse() argument
1036 responseSms(responseInfo, sms); in sendCdmaSmsResponse()
1044 public void sendCdmaSMSExpectMoreResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendCdmaSMSExpectMoreResponse() argument
1045 responseSms(responseInfo, sms); in sendCdmaSMSExpectMoreResponse()
1301 public void sendImsSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendImsSmsResponse() argument
1302 responseSms(responseInfo, sms); in sendImsSmsResponse()
[all …]
DRadioIndication.java169 SmsMessage sms = SmsMessage.newFromCMT(pduArray); in newSms() local
171 mRil.mGsmSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); in newSms()
479 SmsMessage sms = SmsMessageConverter.newSmsMessageFromCdmaSmsMessage(msg); in cdmaNewSms() local
481 mRil.mCdmaSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); in cdmaNewSms()
/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
DSmsManager.java1971 SmsMessage sms = SmsMessage.createFromEfRecord(i + 1, data.getBytes(), in createMessageListFromRawRecords() local
1973 if (sms != null) { in createMessageListFromRawRecords()
1974 messages.add(sms); in createMessageListFromRawRecords()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DCdmaSmsSubaddress.java17 package com.android.internal.telephony.cdma.sms;
DSmsEnvelope.java17 package com.android.internal.telephony.cdma.sms;
DCdmaSmsAddress.java17 package com.android.internal.telephony.cdma.sms;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddressTest.java17 package com.android.internal.telephony.cdma.sms;
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DUserData.java17 package com.android.internal.telephony.cdma.sms;
DSmsMessage.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.CdmaSmsSubaddress;
38 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
39 import com.android.internal.telephony.cdma.sms.UserData;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java29 import com.android.internal.telephony.cdma.sms.BearerData;
30 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
31 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
32 import com.android.internal.telephony.cdma.sms.UserData;
DCdmaInboundSmsHandlerTest.java55 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
/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()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java24 import com.android.internal.telephony.cdma.sms.UserData;

12