/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmSmsTest.java | 33 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 …]
|
D | SMSDispatcherTest.java.broken | 37 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 …]
|
D | SimSmsTest.java | 34 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/ |
D | CdmaInboundSmsHandler.java | 40 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; 196 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local 197 boolean isBroadcastType = (SmsEnvelope.MESSAGE_TYPE_BROADCAST == sms.getMessageType()); in dispatchMessageRadioSpecific() 202 mCellBroadcastServiceManager.sendCdmaMessageToHandler(sms); in dispatchMessageRadioSpecific() 207 mLastDispatchedSmsFingerprint = sms.getIncomingSmsFingerprint(); in dispatchMessageRadioSpecific() 214 sms.parseSms(); in dispatchMessageRadioSpecific() 215 int teleService = sms.getTeleService(); in dispatchMessageRadioSpecific() 221 handleVoicemailTeleservice(sms, smsSource); in dispatchMessageRadioSpecific() [all …]
|
D | SmsMessageConverter.java | 22 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;
|
D | CdmaSMSDispatcher.java | 59 public void sendStatusReportMessage(SmsMessage sms) { in sendStatusReportMessage() argument 61 sendMessage(obtainMessage(EVENT_HANDLE_STATUS_REPORT, sms)); in sendStatusReportMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | MetricsCollector.java | 271 Arrays.stream(smsList).forEach(sms -> data.add(buildStatsEvent(sms))); in pullIncomingSms() 283 Arrays.stream(smsList).forEach(sms -> data.add(buildStatsEvent(sms))); in pullOutgoingSms() 461 private static StatsEvent buildStatsEvent(IncomingSms sms) { in buildStatsEvent() argument 464 sms.smsFormat, in buildStatsEvent() 465 sms.smsTech, in buildStatsEvent() 466 sms.rat, in buildStatsEvent() 467 sms.smsType, in buildStatsEvent() 468 sms.totalParts, in buildStatsEvent() 469 sms.receivedParts, in buildStatsEvent() 470 sms.blocked, in buildStatsEvent() [all …]
|
D | PersistAtomsStorage.java | 153 public synchronized void addIncomingSms(IncomingSms sms) { in addIncomingSms() argument 154 mAtoms.incomingSms = insertAtRandomPlace(mAtoms.incomingSms, sms, MAX_NUM_SMS); in addIncomingSms() 158 Rlog.d(TAG, "Add new incoming SMS atom: " + sms.toString()); in addIncomingSms() 162 public synchronized void addOutgoingSms(OutgoingSms sms) { in addOutgoingSms() argument 167 if (storedSms.messageId == sms.messageId && storedSms.retryId >= sms.retryId) { in addOutgoingSms() 168 sms.retryId = storedSms.retryId + 1; in addOutgoingSms() 172 mAtoms.outgoingSms = insertAtRandomPlace(mAtoms.outgoingSms, sms, MAX_NUM_SMS); in addOutgoingSms() 176 Rlog.d(TAG, "Add new outgoing SMS atom: " + sms.toString()); in addOutgoingSms()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandler.java | 156 SmsMessage sms = (SmsMessage) smsb; in dispatchMessageRadioSpecific() local 158 if (sms.isTypeZero()) { in dispatchMessageRadioSpecific() 161 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchMessageRadioSpecific() 167 .filter(mContext, new byte[][]{sms.getPdu()}, SmsConstants.FORMAT_3GPP, in dispatchMessageRadioSpecific() 177 if (sms.isUsimDataDownload()) { in dispatchMessageRadioSpecific() 179 return mDataDownloadHandler.handleUsimDataDownload(ust, sms, smsSource); in dispatchMessageRadioSpecific() 183 if (sms.isMWISetMessage()) { in dispatchMessageRadioSpecific() 184 updateMessageWaitingIndicator(sms.getNumOfVoicemails()); in dispatchMessageRadioSpecific() 185 handled = sms.isMwiDontStore(); in dispatchMessageRadioSpecific() 187 } else if (sms.isMWIClearMessage()) { in dispatchMessageRadioSpecific() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellBroadcastServiceManager.java | 106 public void sendCdmaMessageToHandler(SmsMessage sms) { in sendCdmaMessageToHandler() argument 116 m.obj = sms; in sendCdmaMessageToHandler() 124 public void sendCdmaScpMessageToHandler(SmsMessage sms, RemoteCallback callback) { in sendCdmaScpMessageToHandler() argument 134 m.obj = Pair.create(sms, callback); in sendCdmaScpMessageToHandler() 200 SmsMessage sms = (SmsMessage) msg.obj; in initCellBroadcastServiceModule() 205 sms.getEnvelopeBearerData(), sms.getEnvelopeServiceCategory()); in initCellBroadcastServiceModule() 213 SmsMessage sms = smsAndCallback.first; in initCellBroadcastServiceModule() 216 sms.getSmsCbProgramData(), in initCellBroadcastServiceModule() 217 sms.getOriginatingAddress(), in initCellBroadcastServiceModule()
|
D | SmsDispatchersController.java | 20 import static com.android.internal.telephony.cdma.sms.BearerData.ERROR_NONE; 21 import static com.android.internal.telephony.cdma.sms.BearerData.ERROR_TEMPORARY; 970 com.android.internal.telephony.cdma.SmsMessage sms = in handleSmsStatusReport() local 972 if (sms != null) { in handleSmsStatusReport() 974 messageRef = sms.mMessageRef; in handleSmsStatusReport() 989 int errorClass = (sms.getStatus() >> 24) & 0x03; in handleSmsStatusReport() 1008 com.android.internal.telephony.gsm.SmsMessage sms = in handleSmsStatusReport() local 1010 if (sms != null) { in handleSmsStatusReport() 1011 messageRef = sms.mMessageRef; in handleSmsStatusReport() 1014 int tpStatus = sms.getStatus(); in handleSmsStatusReport()
|
D | InboundSmsHandler.java | 680 SmsMessage sms = (SmsMessage) ar.result; in handleNewSms() local 681 result = dispatchMessage(sms.mWrappedSmsMessage, SOURCE_NOT_INJECTED); in handleNewSms() 705 SmsMessage sms = (SmsMessage) ar.result; in handleInjectSms() local 706 if (sms == null) { in handleInjectSms() 712 result = dispatchMessage(sms.mWrappedSmsMessage, smsSource); in handleInjectSms() 830 protected int dispatchNormalMessage(SmsMessageBase sms, @SmsSource int smsSource) { in dispatchNormalMessage() argument 831 SmsHeader smsHeader = sms.getUserDataHeader(); in dispatchNormalMessage() 844 .makeInboundSmsTracker(mContext, sms.getPdu(), in dispatchNormalMessage() 845 sms.getTimestampMillis(), destPort, is3gpp2(), false, in dispatchNormalMessage() 846 sms.getOriginatingAddress(), sms.getDisplayOriginatingAddress(), in dispatchNormalMessage() [all …]
|
D | RadioResponse.java | 569 SendSmsResult sms) { in sendSmsResponse() argument 570 responseSms(responseInfo, sms); in sendSmsResponse() 579 SendSmsResult sms) { in sendSmsResponse_1_6() argument 580 responseSms_1_6(responseInfo, sms); in sendSmsResponse_1_6() 588 SendSmsResult sms) { in sendSMSExpectMoreResponse() argument 589 responseSms(responseInfo, sms); in sendSMSExpectMoreResponse() 599 SendSmsResult sms) { in sendSmsExpectMoreResponse_1_6() argument 600 responseSms_1_6(responseInfo, sms); in sendSmsExpectMoreResponse_1_6() 1166 public void sendCdmaSmsResponse(RadioResponseInfo responseInfo, SendSmsResult sms) { in sendCdmaSmsResponse() argument 1167 responseSms(responseInfo, sms); in sendCdmaSmsResponse() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | VisualVoicemailService.java | 167 VisualVoicemailSms sms = msg.getData().getParcelable(DATA_SMS); 168 onSmsReceived(task, sms); 213 VisualVoicemailSms sms); in onSmsReceived() argument
|
D | SmsManager.java | 2058 SmsMessage sms = SmsMessage.createFromEfRecord(i + 1, data.getBytes(), in createMessageListFromRawRecords() local 2060 if (sms != null) { in createMessageListFromRawRecords() 2061 messages.add(sms); in createMessageListFromRawRecords()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsSubaddress.java | 17 package com.android.internal.telephony.cdma.sms;
|
D | SmsEnvelope.java | 17 package com.android.internal.telephony.cdma.sms;
|
D | CdmaSmsAddress.java | 17 package com.android.internal.telephony.cdma.sms;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | UserData.java | 17 package com.android.internal.telephony.cdma.sms;
|
D | SmsMessage.java | 34 import com.android.internal.telephony.cdma.sms.BearerData; 35 import com.android.internal.telephony.cdma.sms.CdmaSmsAddress; 36 import com.android.internal.telephony.cdma.sms.CdmaSmsSubaddress; 37 import com.android.internal.telephony.cdma.sms.SmsEnvelope; 38 import com.android.internal.telephony.cdma.sms.UserData;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsAddressTest.java | 17 package com.android.internal.telephony.cdma.sms;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaSmsCbTest.java | 29 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;
|
D | CdmaInboundSmsHandlerTest.java | 55 import com.android.internal.telephony.cdma.sms.SmsEnvelope;
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | StateMachineTest.java | 1753 StateMachineSharedThread sms[] = new StateMachineSharedThread[10]; in testStateMachineSharedThread() local 1754 for (int i = 0; i < sms.length; i++) { in testStateMachineSharedThread() 1755 sms[i] = new StateMachineSharedThread("smSharedThread", in testStateMachineSharedThread() 1756 smThread.getLooper(), sms.length); in testStateMachineSharedThread() 1757 sms[i].start(); in testStateMachineSharedThread() 1762 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread() 1777 for (StateMachineSharedThread sm : sms) { in testStateMachineSharedThread()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | Sms7BitEncodingTranslator.java | 25 import com.android.internal.telephony.cdma.sms.UserData;
|