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.java483 int msgCount = 0; in calcUnicodeEncodingDetails() local
492 msgCount++; in calcUnicodeEncodingDetails()
494 ted.msgCount = msgCount; in calcUnicodeEncodingDetails()
496 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.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/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/base/telephony/java/android/telephony/
DSmsMessage.java413 ret[0] = ted.msgCount; in calculateLength()
470 if (ted.msgCount > 1) { in fragmentText()
480 if (ted.msgCount > 1) { in fragmentText()
488 if (!hasEmsSupport() && ted.msgCount < 10) { in fragmentText()
507 ArrayList<String> result = new ArrayList<String>(ted.msgCount); in fragmentText()
511 if (isCdma && ted.msgCount == 1) { in fragmentText()
741 @IntRange(from = 1, to = 255) int msgCount) { in getSubmitPduEncodedMessage()
746 concatRef.msgCount = msgCount; in getSubmitPduEncodedMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1079 int msgCount = parts.size(); in sendMultipartText() local
1080 if (msgCount < 1) { in sendMultipartText()
1085 TextEncodingDetails[] encodingForParts = new TextEncodingDetails[msgCount]; in sendMultipartText()
1086 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
1096 SmsTracker[] trackers = new SmsTracker[msgCount]; in sendMultipartText()
1099 final AtomicInteger unsentPartCount = new AtomicInteger(msgCount); in sendMultipartText()
1102 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
1106 concatRef.msgCount = msgCount; in sendMultipartText()
1135 encoding, sentIntent, deliveryIntent, (i == (msgCount - 1)), in sendMultipartText()
DInboundSmsHandler.java814 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.java1564 mVoiceMailCount = msg.msgCount & 0xff; in parseUserData()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java547 ted.msgCount = 1; in calcTextEncodingDetails()
554 if (ted.msgCount == 1 && ted.codeUnitSize == SmsConstants.ENCODING_7BIT && in calcTextEncodingDetails()