Home
last modified time | relevance | path

Searched refs:msgCount (Results 1 – 15 of 15) 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.java484 int msgCount = 0; in calcUnicodeEncodingDetails() local
493 msgCount++; in calcUnicodeEncodingDetails()
495 ted.msgCount = msgCount; in calcUnicodeEncodingDetails()
497 ted.msgCount = 1; in calcUnicodeEncodingDetails()
/frameworks/base/telephony/common/com/android/internal/telephony/
DGsmAlphabet.java91 public int msgCount; field in GsmAlphabet.TextEncodingDetails
131 "{ msgCount=" + msgCount + in toString()
864 ted.msgCount = (septets + (SmsConstants.MAX_USER_DATA_SEPTETS_WITH_HEADER - 1)) /
866 ted.codeUnitsRemaining = (ted.msgCount *
869 ted.msgCount = 1;
932 ted.msgCount = Integer.MAX_VALUE;
949 int msgCount;
957 msgCount = (septets + septetsPerMessage - 1) / septetsPerMessage;
958 septetsRemaining = (msgCount * septetsPerMessage) - septets;
960 msgCount = 1;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java401 int msgCount = (pair.length + septetsPerPart - 1) / septetsPerPart; in fillData() local
402 numSeptetsWithHeader = udhLength * msgCount + pair.length; in fillData()
452 int msgCount; in fillData() local
459 msgCount = (minNumSeptets + septetsPerPart - 1) / septetsPerPart; in fillData()
461 msgCount = 1; in fillData()
463 values[0] = msgCount; in fillData()
471 udhLength * msgCount + minNumSeptets); in fillData()
568 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callGsmLengthMethods()
590 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callCdmaLengthMethods()
596 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callCdmaLengthMethods()
DGsmSmsTest.java80 assertEquals(header.concatRef.msgCount, 2); in testUdh()
96 assertEquals(header.concatRef.msgCount, 2); in testUdh()
268 assertEquals(1, ted.msgCount); in testFragmentText()
283 assertEquals(2, ted.msgCount); in testFragmentText()
310 assertEquals(1, ted.msgCount); in testFragmentTurkishText()
326 assertEquals(2, ted.msgCount); in testFragmentTurkishText()
344 assertEquals(3, ted.msgCount); in testFragmentTurkishText()
DSMSDispatcherTest.java.broken56 assertEquals(header.concatRef.msgCount, 2);
83 assertEquals(header.concatRef.msgCount, 2);
DGsmAlphabetTest.java36 concatRef.msgCount = 2; in test7bitWithHeader()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java388 ret[0] = ted.msgCount; in calculateLength()
445 if (ted.msgCount > 1) { in fragmentText()
455 if (ted.msgCount > 1) { in fragmentText()
463 if (!hasEmsSupport() && ted.msgCount < 10) { in fragmentText()
477 newMsgBody = Sms7BitEncodingTranslator.translate(text, isCdma && ted.msgCount == 1); in fragmentText()
485 ArrayList<String> result = new ArrayList<String>(ted.msgCount); in fragmentText()
489 if (isCdma && ted.msgCount == 1) { in fragmentText()
719 @IntRange(from = 1, to = 255) int msgCount) { in getSubmitPduEncodedMessage()
724 concatRef.msgCount = msgCount; in getSubmitPduEncodedMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java224 concatRef.msgCount = 2; in testUserData7bitGsmFeedback()
235 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserData7bitGsmFeedback()
414 concatRef.msgCount = 2; in testUserDataHeaderConcatRefFeedback()
422 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserDataHeaderConcatRefFeedback()
434 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserDataHeaderConcatRefFeedback()
447 concatRef.msgCount = 0; in testUserDataHeaderIllegalConcatRef()
459 concatRef.msgCount = 1; in testUserDataHeaderIllegalConcatRef()
464 concatRef.msgCount = 1; in testUserDataHeaderIllegalConcatRef()
469 concatRef.msgCount = 2; in testUserDataHeaderIllegalConcatRef()
473 assertEquals(decodedHeader.concatRef.msgCount, 2); in testUserDataHeaderIllegalConcatRef()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1089 int msgCount = parts.size(); in sendMultipartText() local
1090 if (msgCount < 1) { in sendMultipartText()
1095 TextEncodingDetails[] encodingForParts = new TextEncodingDetails[msgCount]; in sendMultipartText()
1096 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
1106 SmsTracker[] trackers = new SmsTracker[msgCount]; in sendMultipartText()
1109 final AtomicInteger unsentPartCount = new AtomicInteger(msgCount); in sendMultipartText()
1112 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
1116 concatRef.msgCount = msgCount; in sendMultipartText()
1145 encoding, sentIntent, deliveryIntent, (i == (msgCount - 1)), in sendMultipartText()
DInboundSmsHandler.java770 concatRef.msgCount, false, sms.getMessageBody(), 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/gsm/
DSmsMessage.java1537 mVoiceMailCount = msg.msgCount & 0xff; in parseUserData()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java565 ted.msgCount = 1; in calcTextEncodingDetails()
572 if (ted.msgCount == 1 && ted.codeUnitSize == SmsConstants.ENCODING_7BIT && in calcTextEncodingDetails()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt99404 Lcom/android/internal/telephony/SmsHeader$SpecialSmsMsg;->msgCount:I