Home
last modified time | relevance | path

Searched refs:msgCount (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java132 public int msgCount; field in SmsHeader.ConcatRef
142 && msgCount == concatRef.msgCount in equals()
148 return Objects.hash(refNumber, seqNumber, msgCount, isEightBits); in hashCode()
154 public int msgCount; field in SmsHeader.SpecialSmsMsg
162 && msgCount == that.msgCount; in equals()
167 return Objects.hash(msgIndType, msgCount); in hashCode()
241 concatRef.msgCount = inStream.read(); in fromByteArray()
244 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 && in fromByteArray()
245 concatRef.seqNumber <= concatRef.msgCount) { in fromByteArray()
252 concatRef.msgCount = inStream.read(); in fromByteArray()
[all …]
DSmsMessageBase.java494 int msgCount = 0; in calcUnicodeEncodingDetails() local
503 msgCount++; in calcUnicodeEncodingDetails()
505 ted.msgCount = msgCount; in calcUnicodeEncodingDetails()
507 ted.msgCount = 1; in calcUnicodeEncodingDetails()
/frameworks/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java93 public int msgCount; field in GsmAlphabet.TextEncodingDetails
133 "{ msgCount=" + msgCount + in toString()
866 ted.msgCount = (septets + (SmsConstants.MAX_USER_DATA_SEPTETS_WITH_HEADER - 1)) /
868 ted.codeUnitsRemaining = (ted.msgCount *
871 ted.msgCount = 1;
934 ted.msgCount = Integer.MAX_VALUE;
951 int msgCount;
959 msgCount = (septets + septetsPerMessage - 1) / septetsPerMessage;
960 septetsRemaining = (msgCount * septetsPerMessage) - septets;
962 msgCount = 1;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java402 int msgCount = (pair.length + septetsPerPart - 1) / septetsPerPart; in fillData() local
403 numSeptetsWithHeader = udhLength * msgCount + pair.length; in fillData()
453 int msgCount; in fillData() local
460 msgCount = (minNumSeptets + septetsPerPart - 1) / septetsPerPart; in fillData()
462 msgCount = 1; in fillData()
464 values[0] = msgCount; in fillData()
472 udhLength * msgCount + minNumSeptets); in fillData()
569 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callGsmLengthMethods()
591 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callCdmaLengthMethods()
597 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callCdmaLengthMethods()
DGsmSmsTest.java89 assertEquals(header.concatRef.msgCount, 2); in testUdh()
105 assertEquals(header.concatRef.msgCount, 2); in testUdh()
277 assertEquals(1, ted.msgCount); in testFragmentText()
292 assertEquals(2, ted.msgCount); in testFragmentText()
319 assertEquals(1, ted.msgCount); in testFragmentTurkishText()
335 assertEquals(2, ted.msgCount); in testFragmentTurkishText()
353 assertEquals(3, ted.msgCount); in testFragmentTurkishText()
DGsmAlphabetTest.java34 concatRef.msgCount = 2; in test7bitWithHeader()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java392 ret[0] = ted.msgCount; in calculateLength()
449 if (ted.msgCount > 1) { in fragmentText()
459 if (ted.msgCount > 1) { in fragmentText()
467 if (!hasEmsSupport() && ted.msgCount < 10) { in fragmentText()
481 newMsgBody = Sms7BitEncodingTranslator.translate(text, isCdma && ted.msgCount == 1); in fragmentText()
489 ArrayList<String> result = new ArrayList<String>(ted.msgCount); in fragmentText()
493 if (isCdma && ted.msgCount == 1) { in fragmentText()
723 @IntRange(from = 1, to = 255) int msgCount) { in getSubmitPduEncodedMessage()
728 concatRef.msgCount = msgCount; in getSubmitPduEncodedMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java225 concatRef.msgCount = 2; in testUserData7bitGsmFeedback()
236 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserData7bitGsmFeedback()
415 concatRef.msgCount = 2; in testUserDataHeaderConcatRefFeedback()
423 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserDataHeaderConcatRefFeedback()
435 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserDataHeaderConcatRefFeedback()
448 concatRef.msgCount = 0; in testUserDataHeaderIllegalConcatRef()
460 concatRef.msgCount = 1; in testUserDataHeaderIllegalConcatRef()
465 concatRef.msgCount = 1; in testUserDataHeaderIllegalConcatRef()
470 concatRef.msgCount = 2; in testUserDataHeaderIllegalConcatRef()
474 assertEquals(decodedHeader.concatRef.msgCount, 2); in testUserDataHeaderIllegalConcatRef()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1833 int msgCount = parts.size(); in sendMultipartText() local
1834 if (msgCount < 1) { in sendMultipartText()
1839 TextEncodingDetails[] encodingForParts = new TextEncodingDetails[msgCount]; in sendMultipartText()
1840 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
1850 SmsTracker[] trackers = new SmsTracker[msgCount]; in sendMultipartText()
1853 final AtomicInteger unsentPartCount = new AtomicInteger(msgCount); in sendMultipartText()
1856 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
1860 concatRef.msgCount = msgCount; in sendMultipartText()
1889 encoding, sentIntent, deliveryIntent, (i == (msgCount - 1)), in sendMultipartText()
DInboundSmsHandler.java855 concatRef.refNumber, concatRef.seqNumber, concatRef.msgCount, false, in dispatchNormalMessage()
/frameworks/opt/telephony/src/java/android/telephony/gsm/
DSmsMessage.java202 ret[0] = ted.msgCount; in calculateLength()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java566 ted.msgCount = 1; in calcTextEncodingDetails()
573 if (ted.msgCount == 1 && ted.codeUnitSize == SmsConstants.ENCODING_7BIT && in calcTextEncodingDetails()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java1603 mVoiceMailCount = msg.msgCount & 0xff; in parseUserData()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt84328 Lcom/android/internal/telephony/SmsHeader$SpecialSmsMsg;->msgCount:I