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.java83 public int msgCount; field in SmsHeader.ConcatRef
89 public int msgCount; field in SmsHeader.SpecialSmsMsg
140 concatRef.msgCount = inStream.read(); in fromByteArray()
143 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 && in fromByteArray()
144 concatRef.seqNumber <= concatRef.msgCount) { in fromByteArray()
151 concatRef.msgCount = inStream.read(); in fromByteArray()
154 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 && in fromByteArray()
155 concatRef.seqNumber <= concatRef.msgCount) { in fromByteArray()
182 specialSmsMsg.msgCount = inStream.read(); in fromByteArray()
225 outStream.write(concatRef.msgCount); in toByteArray()
[all …]
DGsmAlphabet.java87 public int msgCount; field in GsmAlphabet.TextEncodingDetails
122 "{ msgCount=" + msgCount + in toString()
841 ted.msgCount = (septets + (SmsConstants.MAX_USER_DATA_SEPTETS_WITH_HEADER - 1)) /
843 ted.codeUnitsRemaining = (ted.msgCount *
846 ted.msgCount = 1;
910 ted.msgCount = Integer.MAX_VALUE;
927 int msgCount;
935 msgCount = (septets + septetsPerMessage - 1) / septetsPerMessage;
936 septetsRemaining = (msgCount * septetsPerMessage) - septets;
938 msgCount = 1;
[all …]
DSmsMessageBase.java414 int msgCount = 0; in calcUnicodeEncodingDetails() local
423 msgCount++; in calcUnicodeEncodingDetails()
425 ted.msgCount = msgCount; in calcUnicodeEncodingDetails()
427 ted.msgCount = 1; in calcUnicodeEncodingDetails()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java408 int msgCount = (pair.length + septetsPerPart - 1) / septetsPerPart; in fillData() local
409 numSeptetsWithHeader = udhLength * msgCount + pair.length; in fillData()
459 int msgCount; in fillData() local
466 msgCount = (minNumSeptets + septetsPerPart - 1) / septetsPerPart; in fillData()
468 msgCount = 1; in fillData()
470 values[0] = msgCount; in fillData()
478 udhLength * msgCount + minNumSeptets); in fillData()
575 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callGsmLengthMethods()
597 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callCdmaLengthMethods()
603 assertEquals("msgCount", expectedValues[0], ted.msgCount); in callCdmaLengthMethods()
DGsmSmsTest.java63 assertEquals(header.concatRef.msgCount, 2); in testUdh()
79 assertEquals(header.concatRef.msgCount, 2); in testUdh()
251 assertEquals(1, ted.msgCount); in testFragmentText()
266 assertEquals(2, ted.msgCount); in testFragmentText()
293 assertEquals(1, ted.msgCount); in testFragmentTurkishText()
309 assertEquals(2, ted.msgCount); in testFragmentTurkishText()
327 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.java214 concatRef.msgCount = 2; in testUserData7bitGsmFeedback()
225 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserData7bitGsmFeedback()
366 concatRef.msgCount = 2; in testUserDataHeaderConcatRefFeedback()
374 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserDataHeaderConcatRefFeedback()
386 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount); in testUserDataHeaderConcatRefFeedback()
399 concatRef.msgCount = 0; in testUserDataHeaderIllegalConcatRef()
411 concatRef.msgCount = 1; in testUserDataHeaderIllegalConcatRef()
416 concatRef.msgCount = 1; in testUserDataHeaderIllegalConcatRef()
421 concatRef.msgCount = 2; in testUserDataHeaderIllegalConcatRef()
425 assertEquals(decodedHeader.concatRef.msgCount, 2); in testUserDataHeaderIllegalConcatRef()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java354 ret[0] = ted.msgCount; in calculateLength()
392 if (ted.msgCount > 1) { in fragmentText()
402 if (ted.msgCount > 1) { in fragmentText()
410 if (!hasEmsSupport() && ted.msgCount < 10) { in fragmentText()
428 ArrayList<String> result = new ArrayList<String>(ted.msgCount); in fragmentText()
432 if (useCdmaFormatForMoSms() && ted.msgCount == 1) { in fragmentText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java965 int msgCount = parts.size(); in sendMultipartText() local
968 TextEncodingDetails[] encodingForParts = new TextEncodingDetails[msgCount]; in sendMultipartText()
969 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
979 SmsTracker[] trackers = new SmsTracker[msgCount]; in sendMultipartText()
982 final AtomicInteger unsentPartCount = new AtomicInteger(msgCount); in sendMultipartText()
985 for (int i = 0; i < msgCount; i++) { in sendMultipartText()
989 concatRef.msgCount = msgCount; in sendMultipartText()
1018 sentIntent, deliveryIntent, (i == (msgCount - 1)), in sendMultipartText()
DInboundSmsHandler.java716 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.java1358 mVoiceMailCount = msg.msgCount & 0xff; in parseUserData()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DBearerData.java482 ted.msgCount = 1; in calcTextEncodingDetails()
489 if (ted.msgCount == 1 && ted.codeUnitSize == SmsConstants.ENCODING_7BIT && in calcTextEncodingDetails()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8276 Lcom/android/internal/telephony/GsmAlphabet$TextEncodingDetails;->msgCount:I
8394 Lcom/android/internal/telephony/SmsHeader$ConcatRef;->msgCount:I