Home
last modified time | relevance | path

Searched refs:sms (Results 1 – 25 of 32) 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()
54 SmsMessage sms = SmsMessage.createFromPdu(HexDump.hexStringToByteArray(pdu)); in testUdh() local
55 SmsHeader header = sms.getUserDataHeader(); in testUdh()
[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()
DSmsMessageBodyTest.java602 …ted = com.android.internal.telephony.cdma.sms.BearerData.calcTextEncodingDetails(msgBody, use7bitO… in callCdmaLengthMethods()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java38 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
109 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local
110 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); in dispatchMessageRadioSpecific()
115 SmsCbMessage cbMessage = sms.parseBroadcastSms(); in dispatchMessageRadioSpecific()
125 mLastDispatchedSmsFingerprint = sms.getIncomingSmsFingerprint(); in dispatchMessageRadioSpecific()
132 sms.parseSms(); in dispatchMessageRadioSpecific()
133 int teleService = sms.getTeleService(); in dispatchMessageRadioSpecific()
139 handleVoicemailTeleservice(sms); in dispatchMessageRadioSpecific()
144 if (sms.isStatusReportMessage()) { in dispatchMessageRadioSpecific()
145 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()
107 intent.putExtra("sender", sms.getOriginatingAddress()); in handleServiceCategoryProgramData()
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;
DCdmaSMSDispatcher.java42 import com.android.internal.telephony.cdma.sms.UserData;
67 public void sendStatusReportMessage(SmsMessage sms) { in sendStatusReportMessage() argument
69 sendMessage(obtainMessage(EVENT_HANDLE_STATUS_REPORT, sms)); in sendStatusReportMessage()
86 private void handleCdmaStatusReport(SmsMessage sms) { in handleCdmaStatusReport() argument
89 if (tracker.mMessageRef == sms.mMessageRef) { in handleCdmaStatusReport()
97 fillIn.putExtra("pdu", sms.getPdu()); in handleCdmaStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java97 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local
99 if (sms.isTypeZero()) { in dispatchMessageRadioSpecific()
102 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchMessageRadioSpecific()
108 .filter(mContext, new byte[][]{sms.getPdu()}, SmsConstants.FORMAT_3GPP, in dispatchMessageRadioSpecific()
117 if (sms.isUsimDataDownload()) { in dispatchMessageRadioSpecific()
119 return mDataDownloadHandler.handleUsimDataDownload(ust, sms); in dispatchMessageRadioSpecific()
123 if (sms.isMWISetMessage()) { in dispatchMessageRadioSpecific()
124 updateMessageWaitingIndicator(sms.getNumOfVoicemails()); in dispatchMessageRadioSpecific()
125 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific()
127 } else if (sms.isMWIClearMessage()) { in dispatchMessageRadioSpecific()
[all …]
DGsmSMSDispatcher.java121 SmsMessage sms = SmsMessage.newFromCDS(pdu); in handleStatusReport() local
123 if (sms != null) { in handleStatusReport()
124 int tpStatus = sms.getStatus(); in handleStatusReport()
125 int messageRef = sms.mMessageRef; in handleStatusReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java519 SmsMessage sms = (SmsMessage) ar.result; in handleNewSms() local
520 result = dispatchMessage(sms.mWrappedSmsMessage); in handleNewSms()
543 SmsMessage sms = (SmsMessage) ar.result; in handleInjectSms() local
544 if (sms == null) { in handleInjectSms()
547 result = dispatchMessage(sms.mWrappedSmsMessage); in handleInjectSms()
668 protected int dispatchNormalMessage(SmsMessageBase sms) { in dispatchNormalMessage() argument
669 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchNormalMessage()
681 tracker = TelephonyComponentFactory.getInstance().makeInboundSmsTracker(sms.getPdu(), in dispatchNormalMessage()
682 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage()
683 sms.getOriginatingAddress(), sms.getDisplayOriginatingAddress(), in dispatchNormalMessage()
[all …]
DRadioResponse.java310 SendSmsResult sms) { in sendSmsResponse() argument
311 responseSms(responseInfo, sms); in sendSmsResponse()
319 SendSmsResult sms) { in sendSMSExpectMoreResponse() argument
320 responseSms(responseInfo, sms); in sendSMSExpectMoreResponse()
744 public void sendCdmaSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendCdmaSmsResponse() argument
745 responseSms(responseInfo, sms); in sendCdmaSmsResponse()
963 public void sendImsSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendImsSmsResponse() argument
964 responseSms(responseInfo, sms); in sendImsSmsResponse()
1407 private void responseSms(RadioResponseInfo responseInfo, SendSmsResult sms) { in responseSms() argument
1411 SmsResponse ret = new SmsResponse(sms.messageRef, sms.ackPDU, sms.errorCode); in responseSms()
DRadioIndication.java154 SmsMessage sms = SmsMessage.newFromCMT(pduArray); in newSms() local
156 mRil.mGsmSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); in newSms()
369 SmsMessage sms = SmsMessageConverter.newSmsMessageFromCdmaSmsMessage(msg); in cdmaNewSms() local
371 mRil.mCdmaSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); in cdmaNewSms()
/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;
22 import com.android.internal.telephony.cdma.sms.UserData;
DSmsMessage.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;
DUserData.java17 package com.android.internal.telephony.cdma.sms;
/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.java1014 SmsMessage sms = SmsMessage.createFromEfRecord(i+1, data.getBytes()); in createMessageListFromRawRecords() local
1015 if (sms != null) { in createMessageListFromRawRecords()
1016 messages.add(sms); in createMessageListFromRawRecords()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java1600 StateMachineSharedThread sms[] = new StateMachineSharedThread[10]; in testStateMachineSharedThread() local
1601 for (int i = 0; i < sms.length; i++) { in testStateMachineSharedThread()
1602 sms[i] = new StateMachineSharedThread("smSharedThread", in testStateMachineSharedThread()
1603 smThread.getLooper(), sms.length); in testStateMachineSharedThread()
1604 sms[i].start(); in testStateMachineSharedThread()
1609 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()
1624 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
DCdmaSmsCbTest.java31 import com.android.internal.telephony.cdma.sms.BearerData;
32 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress;
33 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
34 import com.android.internal.telephony.cdma.sms.UserData;
DCdmaInboundSmsHandlerTest.java36 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
/frameworks/base/telephony/java/com/android/internal/telephony/
DSms7BitEncodingTranslator.java28 import com.android.internal.telephony.cdma.sms.UserData;
/frameworks/opt/net/ims/
DREADME.txt6 - GSMA IR.92 : features for voice and sms profile

12