Searched refs:msgCount (Results 1 - 13 of 13) sorted by path

/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java87 public int msgCount; field in class:GsmAlphabet.TextEncodingDetails
122 "{ msgCount=" + msgCount +
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 * septetsPerMessag
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java304 ret[0] = ted.msgCount;
342 if (ted.msgCount > 1) {
352 if (ted.msgCount > 1) {
360 if (!hasEmsSupport() && ted.msgCount < 10) {
378 ArrayList<String> result = new ArrayList<String>(ted.msgCount);
382 if (useCdmaFormatForMoSms() && ted.msgCount == 1) {
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsMessage.java202 ret[0] = ted.msgCount;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java636 concatRef.seqNumber, concatRef.msgCount, false);
H A DSMSDispatcher.java827 int msgCount = parts.size();
830 TextEncodingDetails[] encodingForParts = new TextEncodingDetails[msgCount];
831 for (int i = 0; i < msgCount; i++) {
841 SmsTracker[] trackers = new SmsTracker[msgCount];
844 final AtomicInteger unsentPartCount = new AtomicInteger(msgCount);
847 for (int i = 0; i < msgCount; i++) {
851 concatRef.msgCount = msgCount;
880 sentIntent, deliveryIntent, (i == (msgCount - 1)),
H A DSmsHeader.java83 public int msgCount; field in class:SmsHeader.ConcatRef
89 public int msgCount; field in class:SmsHeader.SpecialSmsMsg
140 concatRef.msgCount = inStream.read();
143 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 &&
144 concatRef.seqNumber <= concatRef.msgCount) {
151 concatRef.msgCount = inStream.read();
154 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 &&
155 concatRef.seqNumber <= concatRef.msgCount) {
182 specialSmsMsg.msgCount = inStream.read();
225 outStream.write(concatRef.msgCount);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
H A DBearerData.java481 ted.msgCount = 1;
488 if (ted.msgCount == 1 && ted.codeUnitSize == SmsConstants.ENCODING_7BIT &&
508 ted.msgCount = (octets + (max_user_data_bytes_with_header - 1)) /
510 ted.codeUnitsRemaining = ((ted.msgCount *
513 ted.msgCount = 1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java814 ted.msgCount = (octets + (max_user_data_bytes_with_header - 1)) /
816 ted.codeUnitsRemaining = ((ted.msgCount *
819 ted.msgCount = 1;
1264 mVoiceMailCount = msg.msgCount & 0xff;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmAlphabetTest.java36 concatRef.msgCount = 2;
H A DGsmSmsTest.java59 assertEquals(header.concatRef.msgCount, 2);
75 assertEquals(header.concatRef.msgCount, 2);
247 assertEquals(1, ted.msgCount);
262 assertEquals(2, ted.msgCount);
289 assertEquals(1, ted.msgCount);
305 assertEquals(2, ted.msgCount);
323 assertEquals(3, ted.msgCount);
H A DSMSDispatcherTest.java56 assertEquals(header.concatRef.msgCount, 2);
83 assertEquals(header.concatRef.msgCount, 2);
H A DSmsMessageBodyTest.java407 int msgCount = (pair.length + septetsPerPart - 1) / septetsPerPart;
408 numSeptetsWithHeader = udhLength * msgCount + pair.length;
458 int msgCount;
465 msgCount = (minNumSeptets + septetsPerPart - 1) / septetsPerPart;
467 msgCount = 1;
469 values[0] = msgCount;
477 udhLength * msgCount + minNumSeptets);
556 assertEquals("msgCount", expectedValues[0], values[0]);
564 assertEquals("msgCount", expectedValues[0], values[0]);
572 assertEquals("msgCount", expectedValue
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsTest.java214 concatRef.msgCount = 2;
225 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount);
366 concatRef.msgCount = 2;
374 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount);
386 assertEquals(decodedHeader.concatRef.msgCount, concatRef.msgCount);
399 concatRef.msgCount = 0;
411 concatRef.msgCount
[all...]

Completed in 153 milliseconds