Home
last modified time | relevance | path

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

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsHeader.java131 public int msgCount; field in SmsHeader.ConcatRef
141 && msgCount == concatRef.msgCount in equals()
147 return Objects.hash(refNumber, seqNumber, msgCount, isEightBits); in hashCode()
156 public int msgCount; field in SmsHeader.SpecialSmsMsg
164 && msgCount == that.msgCount; in equals()
169 return Objects.hash(msgIndType, msgCount); in hashCode()
239 concatRef.msgCount = inStream.read(); in fromByteArray()
242 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 in fromByteArray()
243 && concatRef.seqNumber <= concatRef.msgCount) { in fromByteArray()
250 concatRef.msgCount = inStream.read(); in fromByteArray()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DRequestGetMessagesListingForOwnNumberTest.java109 int msgCount = 0; in getMessageListingAsInputStream() local
110 for (int i = offset; i < folderElements.size() && msgCount < maxCount; i++) { in getMessageListingAsInputStream()
115 msgCount += 1; in getMessageListingAsInputStream()
122 + msgCount in getMessageListingAsInputStream()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DSmsHeaderTest.java54 concatRef.msgCount = 0x03; in setUp()
61 specialSmsMessage1.msgCount = 0x02; in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java537 int msgCount = ted[0]; in getSubmitPdus() local
544 ArrayList<SmsPdu> pdus = new ArrayList<SmsPdu>(msgCount); in getSubmitPdus()
558 if (msgCount == 1) { in getSubmitPdus()
567 for (int i = 0; i < msgCount; i++) { in getSubmitPdus()
578 msgCount); in getSubmitPdus()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyBackupAgent.java774 int msgCount = 0;
784 values[(msgCount++) % bulkInsertSize] = cv;
785 if (msgCount % bulkInsertSize == 0) {
794 if (msgCount % bulkInsertSize > 0) {
796 Arrays.copyOf(values, msgCount % bulkInsertSize));
799 incremenentSharedPref(true, msgCount, numExceptions);
800 if (msgCount > 0) {
801 mBackupRestoreEventLoggerProxy.logItemsRestored("SMS", msgCount);
812 void incremenentSharedPref(boolean sms, int msgCount, int numExceptions) {
816 editor.putInt(NUM_SMS_RESTORED, sp.getInt(NUM_SMS_RESTORED, 0) + msgCount);
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/util/
DGsmAlphabet.java70 public int msgCount; field in GsmAlphabet.TextEncodingDetails
99 + msgCount in toString()