Home
last modified time | relevance | path

Searched refs:seqNumber (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsHeader.java130 public int seqNumber; field in SmsHeader.ConcatRef
141 && seqNumber == concatRef.seqNumber in equals()
148 return Objects.hash(refNumber, seqNumber, msgCount, isEightBits); in hashCode()
242 concatRef.seqNumber = inStream.read(); in fromByteArray()
244 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 && in fromByteArray()
245 concatRef.seqNumber <= concatRef.msgCount) { in fromByteArray()
253 concatRef.seqNumber = inStream.read(); in fromByteArray()
255 if (concatRef.msgCount != 0 && concatRef.seqNumber != 0 && in fromByteArray()
256 concatRef.seqNumber <= concatRef.msgCount) { in fromByteArray()
328 outStream.write(concatRef.seqNumber); in toByteArray()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/
DCdmaSmsTest.java225 concatRef.seqNumber = 2; in testUserData7bitGsmFeedback()
236 assertEquals(decodedHeader.concatRef.seqNumber, concatRef.seqNumber); in testUserData7bitGsmFeedback()
415 concatRef.seqNumber = 2; in testUserDataHeaderConcatRefFeedback()
423 assertEquals(decodedHeader.concatRef.seqNumber, concatRef.seqNumber); in testUserDataHeaderConcatRefFeedback()
435 assertEquals(decodedHeader.concatRef.seqNumber, concatRef.seqNumber); in testUserDataHeaderConcatRefFeedback()
448 concatRef.seqNumber = 2; in testUserDataHeaderIllegalConcatRef()
460 concatRef.seqNumber = 2; in testUserDataHeaderIllegalConcatRef()
465 concatRef.seqNumber = 0; in testUserDataHeaderIllegalConcatRef()
470 concatRef.seqNumber = 1; in testUserDataHeaderIllegalConcatRef()
474 assertEquals(decodedHeader.concatRef.seqNumber, 1); in testUserDataHeaderIllegalConcatRef()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsTracker.java350 String seqNumber = Integer.toString(getSequenceNumber()); in getExactMatchDupDetectQuery() local
357 String[] whereArgs = new String[]{address, refNumber, count, seqNumber, date, messageBody}; in getExactMatchDupDetectQuery()
378 String seqNumber = Integer.toString(getSequenceNumber()); in getInexactMatchDupDetectQuery() local
383 String[] whereArgs = new String[]{address, refNumber, count, seqNumber}; in getInexactMatchDupDetectQuery()
DInboundSmsHandler.java769 sms.getDisplayOriginatingAddress(), concatRef.refNumber, concatRef.seqNumber, in dispatchNormalMessage()
DSMSDispatcher.java1115 concatRef.seqNumber = i + 1; // 1-based sequence in sendMultipartText()
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.h217 int64_t getSegmentStartTimeUs(int32_t seqNumber) const;
219 int64_t getSegmentDurationUs(int32_t seqNumber) const;
DPlaylistFetcher.cpp195 int64_t PlaylistFetcher::getSegmentStartTimeUs(int32_t seqNumber) const { in getSegmentStartTimeUs()
202 CHECK_GE(seqNumber, firstSeqNumberInPlaylist); in getSegmentStartTimeUs()
203 CHECK_LE(seqNumber, lastSeqNumberInPlaylist); in getSegmentStartTimeUs()
207 index < seqNumber - firstSeqNumberInPlaylist; ++index) { in getSegmentStartTimeUs()
221 int64_t PlaylistFetcher::getSegmentDurationUs(int32_t seqNumber) const { in getSegmentDurationUs()
228 CHECK_GE(seqNumber, firstSeqNumberInPlaylist); in getSegmentDurationUs()
229 CHECK_LE(seqNumber, lastSeqNumberInPlaylist); in getSegmentDurationUs()
231 int32_t index = seqNumber - firstSeqNumberInPlaylist; in getSegmentDurationUs()
1631 int32_t seqNumber = firstSeqNumberInPlaylist + index; in getSeqNumberForDiscontinuity() local
1633 return seqNumber; in getSeqNumberForDiscontinuity()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSMSDispatcherTest.java.broken57 assertEquals(header.concatRef.seqNumber, 1);
84 assertEquals(header.concatRef.seqNumber, 2);
DGsmSmsTest.java81 assertEquals(header.concatRef.seqNumber, 1); in testUdh()
97 assertEquals(header.concatRef.seqNumber, 2); in testUdh()
DGsmAlphabetTest.java35 concatRef.seqNumber = 2; in test7bitWithHeader()
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
DIEuiccCardController.aidl85 oneway void retrieveNotification(String callingPackage, String cardId, int seqNumber, in retrieveNotification() argument
87 oneway void removeNotificationFromList(String callingPackage, String cardId, int seqNumber, in removeNotificationFromList() argument
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccCardManager.java787 public void retrieveNotification(String cardId, int seqNumber, in retrieveNotification() argument
791 seqNumber, new IRetrieveNotificationCallback.Stub() { in retrieveNotification() local
817 public void removeNotificationFromList(String cardId, int seqNumber, in removeNotificationFromList() argument
823 seqNumber, in removeNotificationFromList() local
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java718 @IntRange(from = 1, to = 255) int seqNumber, in getSubmitPduEncodedMessage()
723 concatRef.seqNumber = seqNumber; // 1-based sequence in getSubmitPduEncodedMessage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java1216 public void retrieveNotification(String callingPackage, String cardId, int seqNumber, in retrieveNotification() argument
1261 card.retrieveNotification(seqNumber, cardCb, mEuiccMainThreadHandler); in retrieveNotification()
1265 public void removeNotificationFromList(String callingPackage, String cardId, int seqNumber, in removeNotificationFromList() argument
1310 card.removeNotificationFromList(seqNumber, cardCb, mEuiccMainThreadHandler); in removeNotificationFromList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java965 public void retrieveNotification(int seqNumber, AsyncResultCallback<EuiccNotification> callback, in retrieveNotification() argument
972 .addChildAsInteger(Tags.TAG_CTX_0, seqNumber)) in retrieveNotification()
994 public void removeNotificationFromList(int seqNumber, AsyncResultCallback<Void> callback, in removeNotificationFromList() argument
1000 .addChildAsInteger(Tags.TAG_CTX_0, seqNumber) in removeNotificationFromList()