Home
last modified time | relevance | path

Searched refs:portAddrs (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java83 && Objects.equals(portAddrs, smsHeader.portAddrs) in equals()
91 return Objects.hash(portAddrs, concatRef, specialSmsMsgList, miscEltList, languageTable, in hashCode()
110 PortAddrs portAddrs = (PortAddrs) o; in equals()
111 return destPort == portAddrs.destPort in equals()
112 && origPort == portAddrs.origPort in equals()
113 && areEightBits == portAddrs.areEightBits; in equals()
197 public PortAddrs portAddrs; field in SmsHeader
236 PortAddrs portAddrs; in fromByteArray() local
261 portAddrs = new PortAddrs(); in fromByteArray()
262 portAddrs.destPort = inStream.read(); in fromByteArray()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSMSDispatcherTest.java.broken59 assertNotNull(header.portAddrs);
60 assertEquals(header.portAddrs.destPort, 2948);
61 assertEquals(header.portAddrs.origPort, 9200);
62 assertEquals(header.portAddrs.areEightBits, false);
86 assertNotNull(header.portAddrs);
87 assertEquals(header.portAddrs.destPort, 2948);
88 assertEquals(header.portAddrs.origPort, 9200);
89 assertEquals(header.portAddrs.areEightBits, false);
DGsmSmsTest.java83 assertNotNull(header.portAddrs); in testUdh()
84 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
85 assertEquals(header.portAddrs.origPort, 9200); in testUdh()
86 assertEquals(header.portAddrs.areEightBits, false); in testUdh()
99 assertNotNull(header.portAddrs); in testUdh()
100 assertEquals(header.portAddrs.destPort, 2948); in testUdh()
101 assertEquals(header.portAddrs.origPort, 9200); in testUdh()
102 assertEquals(header.portAddrs.areEightBits, false); in testUdh()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java425 assertEquals(decodedHeader.portAddrs, null); in testUserDataHeaderConcatRefFeedback()
437 assertEquals(decodedHeader.portAddrs, null); in testUserDataHeaderConcatRefFeedback()
487 SmsHeader.PortAddrs portAddrs = new SmsHeader.PortAddrs(); in testUserDataHeaderMixedFeedback() local
488 portAddrs.destPort = 88; in testUserDataHeaderMixedFeedback()
489 portAddrs.origPort = 66; in testUserDataHeaderMixedFeedback()
490 portAddrs.areEightBits = false; in testUserDataHeaderMixedFeedback()
493 smsHeader.portAddrs = portAddrs; in testUserDataHeaderMixedFeedback()
500 assertEquals(decodedHeader.portAddrs.destPort, portAddrs.destPort); in testUserDataHeaderMixedFeedback()
501 assertEquals(decodedHeader.portAddrs.origPort, portAddrs.origPort); in testUserDataHeaderMixedFeedback()
502 assertEquals(decodedHeader.portAddrs.areEightBits, portAddrs.areEightBits); in testUserDataHeaderMixedFeedback()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmInboundSmsHandler.java167 if (smsHeader != null && smsHeader.portAddrs != null) { in dispatchMessageRadioSpecific()
169 destPort = smsHeader.portAddrs.destPort; in dispatchMessageRadioSpecific()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java518 SmsHeader.PortAddrs portAddrs = new SmsHeader.PortAddrs(); in getSubmitPdu() local
519 portAddrs.destPort = destinationPort; in getSubmitPdu()
520 portAddrs.origPort = 0; in getSubmitPdu()
521 portAddrs.areEightBits = false; in getSubmitPdu()
524 smsHeader.portAddrs = portAddrs; in getSubmitPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java277 SmsHeader.PortAddrs portAddrs = new SmsHeader.PortAddrs(); in getSubmitPdu() local
278 portAddrs.destPort = destPort; in getSubmitPdu()
279 portAddrs.origPort = 0; in getSubmitPdu()
280 portAddrs.areEightBits = false; in getSubmitPdu()
283 smsHeader.portAddrs = portAddrs; in getSubmitPdu()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java748 if (smsHeader != null && smsHeader.portAddrs != null) { in dispatchNormalMessage()
750 destPort = smsHeader.portAddrs.destPort; in dispatchNormalMessage()
763 SmsHeader.PortAddrs portAddrs = smsHeader.portAddrs; in dispatchNormalMessage() local
764 int destPort = (portAddrs != null ? portAddrs.destPort : -1); in dispatchNormalMessage()