Home
last modified time | relevance | path

Searched refs:concatRef (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java84 && Objects.equals(concatRef, smsHeader.concatRef) in equals()
91 return Objects.hash(portAddrs, concatRef, specialSmsMsgList, miscEltList, languageTable, in hashCode()
139 ConcatRef concatRef = (ConcatRef) o; in equals()
140 return refNumber == concatRef.refNumber in equals()
141 && seqNumber == concatRef.seqNumber in equals()
142 && msgCount == concatRef.msgCount in equals()
143 && isEightBits == concatRef.isEightBits; in equals()
199 public ConcatRef concatRef; field in SmsHeader
235 ConcatRef concatRef; in fromByteArray() local
239 concatRef = new ConcatRef(); in fromByteArray()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java222 SmsHeader.ConcatRef concatRef = new SmsHeader.ConcatRef(); in testUserData7bitGsmFeedback() local
223 concatRef.refNumber = 0xEE; in testUserData7bitGsmFeedback()
224 concatRef.msgCount = 2; in testUserData7bitGsmFeedback()
225 concatRef.seqNumber = 2; in testUserData7bitGsmFeedback()
226 concatRef.isEightBits = true; in testUserData7bitGsmFeedback()
228 smsHeader.concatRef = concatRef; in testUserData7bitGsmFeedback()
234 assertEquals(decodedHeader.concatRef.refNumber, concatRef.refNumber); in testUserData7bitGsmFeedback()
235 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserData7bitGsmFeedback()
236 assertEquals(decodedHeader.concatRef.seqNumber, concatRef.seqNumber); in testUserData7bitGsmFeedback()
412 SmsHeader.ConcatRef concatRef = new SmsHeader.ConcatRef(); in testUserDataHeaderConcatRefFeedback() local
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSMSDispatcherTest.java.broken54 assertNotNull(header.concatRef);
55 assertEquals(header.concatRef.refNumber, 85);
56 assertEquals(header.concatRef.msgCount, 2);
57 assertEquals(header.concatRef.seqNumber, 1);
58 assertEquals(header.concatRef.isEightBits, true);
81 assertNotNull(header.concatRef);
82 assertEquals(header.concatRef.refNumber, 85);
83 assertEquals(header.concatRef.msgCount, 2);
84 assertEquals(header.concatRef.seqNumber, 2);
85 assertEquals(header.concatRef.isEightBits, true);
DGsmAlphabetTest.java33 SmsHeader.ConcatRef concatRef = new SmsHeader.ConcatRef(); in test7bitWithHeader() local
34 concatRef.refNumber = 1; in test7bitWithHeader()
35 concatRef.seqNumber = 2; in test7bitWithHeader()
36 concatRef.msgCount = 2; in test7bitWithHeader()
37 concatRef.isEightBits = true; in test7bitWithHeader()
39 header.concatRef = concatRef; in test7bitWithHeader()
DGsmSmsTest.java78 assertNotNull(header.concatRef); in testUdh()
79 assertEquals(header.concatRef.refNumber, 42); in testUdh()
80 assertEquals(header.concatRef.msgCount, 2); in testUdh()
81 assertEquals(header.concatRef.seqNumber, 1); in testUdh()
82 assertEquals(header.concatRef.isEightBits, true); in testUdh()
94 assertNotNull(header.concatRef); in testUdh()
95 assertEquals(header.concatRef.refNumber, 42); in testUdh()
96 assertEquals(header.concatRef.msgCount, 2); in testUdh()
97 assertEquals(header.concatRef.seqNumber, 2); in testUdh()
98 assertEquals(header.concatRef.isEightBits, true); in testUdh()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java743 SmsHeader.ConcatRef concatRef = new SmsHeader.ConcatRef(); in getSubmitPduEncodedMessage() local
744 concatRef.refNumber = refNumber; in getSubmitPduEncodedMessage()
745 concatRef.seqNumber = seqNumber; // 1-based sequence in getSubmitPduEncodedMessage()
746 concatRef.msgCount = msgCount; in getSubmitPduEncodedMessage()
753 concatRef.isEightBits = true; in getSubmitPduEncodedMessage()
755 smsHeader.concatRef = concatRef; in getSubmitPduEncodedMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGsmInboundSmsHandlerTest.java514 mSmsHeader.concatRef = new SmsHeader.ConcatRef(); in testMultiPartSmsWithIncompleteWAP()
569 mSmsHeader.concatRef = new SmsHeader.ConcatRef(); in testMultiPartSms()
655 mSmsHeader.concatRef = new SmsHeader.ConcatRef(); in testMultiPartIncompleteSms()
695 mSmsHeader.concatRef = new SmsHeader.ConcatRef(); in testMultiPartSmsWithInvalidSeqNumber()
752 mSmsHeader.concatRef = new SmsHeader.ConcatRef(); in testMultipartSmsFromBlockedNumber_noBroadcastsSent()
802 mSmsHeader.concatRef = new SmsHeader.ConcatRef(); in testMultipartSmsFromBlockedEmail_noBroadcastsSent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java789 if ((smsHeader == null) || (smsHeader.concatRef == null)) { in dispatchNormalMessage()
806 SmsHeader.ConcatRef concatRef = smsHeader.concatRef; in dispatchNormalMessage() local
813 sms.getDisplayOriginatingAddress(), concatRef.refNumber, concatRef.seqNumber, in dispatchNormalMessage()
814 concatRef.msgCount, false, sms.getMessageBody(), in dispatchNormalMessage()
DSMSDispatcher.java1103 SmsHeader.ConcatRef concatRef = new SmsHeader.ConcatRef(); in sendMultipartText() local
1104 concatRef.refNumber = refNumber; in sendMultipartText()
1105 concatRef.seqNumber = i + 1; // 1-based sequence in sendMultipartText()
1106 concatRef.msgCount = msgCount; in sendMultipartText()
1113 concatRef.isEightBits = true; in sendMultipartText()
1115 smsHeader.concatRef = concatRef; in sendMultipartText()