Home
last modified time | relevance | path

Searched refs:seqNum (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextJitterBuffer.cpp28 uint32_t timestamp, bool mark, uint32_t seqNum, ImsMediaSubType /*dataType*/, in Add() argument
40 "[Add] seq[%u], mark[%u], TS[%u], size[%u], lastPlayedSeq[%u], arrivalTime[%u]", seqNum, in Add()
45 if (mFirstFrameReceived && USHORT_SEQ_ROUND_COMPARE(mLastPlayedSeqNum, seqNum)) in Add()
48 seqNum, mLastPlayedSeqNum); in Add()
58 currEntry.nSeqNum = seqNum; in Add()
77 if (USHORT_SEQ_ROUND_COMPARE(pEntry->nSeqNum, seqNum)) // a >= b in Add()
84 if (seqNum == pEntry->nSeqNum) in Add()
86 IMLOGD_PACKET1(IM_PACKET_LOG_JITTER, "[Add] Redundant seq[%u]", seqNum); in Add()
89 else if (!USHORT_SEQ_ROUND_COMPARE(seqNum, pEntry->nSeqNum)) in Add()
91 IMLOGD_PACKET2(IM_PACKET_LOG_JITTER, "[Add] InsertAt[%u] seq[%u]", i, seqNum); in Add()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoJitterBuffer.cpp679 void VideoJitterBuffer::RemovePacketFromLostList(uint16_t seqNum, bool bRemoveOldPacket) in RemovePacketFromLostList() argument
694 if (bRemoveOldPacket && pEntry->seqNum < seqNum) in RemovePacketFromLostList()
699 pEntry->seqNum, seqNum, bRemoveOldPacket); in RemovePacketFromLostList()
704 else if (pEntry->seqNum == seqNum) in RemovePacketFromLostList()
707 "[RemovePacketFromLostList] remove lost seq[%u]", pEntry->seqNum); in RemovePacketFromLostList()
719 void VideoJitterBuffer::CheckPacketLoss(uint16_t seqNum, uint16_t nLastRecvPkt) in CheckPacketLoss() argument
723 RemovePacketFromLostList(seqNum); in CheckPacketLoss()
727 if (RTCPNACK_SEQ_INCREASE(nLastRecvPkt) == seqNum) in CheckPacketLoss()
732 if (nLastRecvPkt == seqNum) in CheckPacketLoss()
741 uint16_t nLossGap = RTCPNACK_SEQ_ROUND_COMPARE(nLastRecvPkt, seqNum) in CheckPacketLoss()
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTunnelTest.java285 int seqNum) in run() argument
384 int seqNum) in getIpSecTunnelTestRunnable()
420 seqNum, in getIpSecTunnelTestRunnable()
422 seqNum, in getIpSecTunnelTestRunnable()
423 seqNum * (long) innerPacketSize, in getIpSecTunnelTestRunnable()
456 int seqNum)
505 int seqNum)
531 seqNum);
542 seqNum);
561 seqNum,
[all …]
DPacketUtils.java358 public final int seqNum; field in PacketUtils.EspHeader
371 public EspHeader(int nextHeader, int spi, int seqNum, byte[] key, byte[] payload) { in EspHeader() argument
372 this(nextHeader, spi, seqNum, payload, getDefaultCipher(key), getDefaultAuth(key)); in EspHeader()
387 int seqNum, in EspHeader() argument
393 this.seqNum = seqNum; in EspHeader()
437 espPayloadBuffer.putInt(seqNum); in addPacketBytes()
439 espPayloadBuffer.put(cipher.getCipherText(nextHeader, payload, spi, seqNum)); in addPacketBytes()
545 public abstract byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText() argument
565 public byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText() argument
581 public byte[] getCipherText(int nextHeader, byte[] payload, int spi, int seqNum) in getCipherText() argument
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DRtcpXrEncoder.cpp214 if (packet->seqNum >= beginSeq && packet->seqNum <= endSeq) in createLossAnalysisReport()
222 if (packet->seqNum >= beginSeq && packet->seqNum <= endSeq) in createLossAnalysisReport()
226 if (packet->seqNum + i > endSeq) in createLossAnalysisReport()
258 if (packet->seqNum >= beginSeq && packet->seqNum <= endSeq) in createJitterAnalysisReport()
323 if (packet->seqNum >= beginSeq && packet->seqNum <= endSeq) in createDuplicateAnalysisReport()
DMediaQualityAnalyzer.cpp251 packet->seqNum, packet->jitter, mListRxPacket.size()); in collectInfo()
348 if (packet->seqNum == seq) in collectRxRtpStatus()
950 if (packet->seqNum > seq) in clearPacketList()
973 if (packet->seqNum > seq) in clearLostPacketList()
DAudioJitterBuffer.cpp195 packet->seqNum = nSeqNum; in Add()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecTransformState.java230 public Builder setTxHighestSequenceNumber(long seqNum) { in setTxHighestSequenceNumber() argument
231 mTxHighestSequenceNumber = seqNum; in setTxHighestSequenceNumber()
241 public Builder setRxHighestSequenceNumber(long seqNum) { in setRxHighestSequenceNumber() argument
242 mRxHighestSequenceNumber = seqNum; in setRxHighestSequenceNumber()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DMediaQualityAnalyzerTest.cpp398 packet1->seqNum = 0; in TEST_F()
402 packet2->seqNum = kNumLostPacket + 1; in TEST_F()
430 packet->seqNum = i; in TEST_F()
458 packet->seqNum = i; in TEST_F()
485 packet->seqNum = i; in TEST_F()
524 packet->seqNum = i; in TEST_F()
550 packet1->seqNum = i; in TEST_F()
557 packet2->seqNum = i; in TEST_F()
659 packet->seqNum = 0; in TEST_F()
755 packet->seqNum = i; in TEST_F()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/
DTextJitterBuffer.h28 bool mark, uint32_t seqNum,
32 uint32_t* timestamp, bool* mark, uint32_t* seqNum, uint32_t currentTime,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/
DImsMediaDefine.h523 seqNum(seq), in ssrc()
535 seqNum = p.seqNum; in RtpPacket()
545 uint32_t seqNum; member
564 seqNum(s), in seqNum() function
571 uint16_t seqNum; member
DIRtpSession.h59 bool mark, uint16_t seqNum, uint32_t payloadType, uint32_t ssrc,
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java318 public final int seqNum; field in PacketUtils.EspHeader
330 public EspHeader(int nextHeader, int spi, int seqNum, byte[] key, byte[] payload) { in EspHeader() argument
333 this.seqNum = seqNum; in EspHeader()
358 espPayloadBuffer.putInt(seqNum); in addPacketBytes()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/video/
DVideoJitterBuffer.h90 void RemovePacketFromLostList(uint16_t seqNum, bool bRemOldPkt = false);
91 void CheckPacketLoss(uint16_t seqNum, uint16_t nLastRecvPkt);
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRtpPayloadDecoderNode.cpp65 uint32_t size, uint32_t timestamp, bool mark, uint32_t seqNum, ImsMediaSubType dataType, in OnDataFromFrontNode() argument
81 DecodeT140(data, size, subtype, timestamp, mark, seqNum); in OnDataFromFrontNode()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DLegacyApfTest.java957 final int seqNum = 2123456789; in testApfFilterKeepaliveAck() local
978 parcel.seq = seqNum; in testApfFilterKeepaliveAck()
989 dstPort, srcPort, ackNum, seqNum + 1, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
993 dstPort, srcPort, ackNum + 100, seqNum, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
996 dstPort, srcPort, ackNum, seqNum + 1, 10 /* dataLength */)); in testApfFilterKeepaliveAck()
1017 ipv6Parcel.seq = seqNum; in testApfFilterKeepaliveAck()
1028 dstPort, srcPort, ackNum, seqNum + 1)); in testApfFilterKeepaliveAck()
1032 dstPort, srcPort, ackNum + 100, seqNum)); in testApfFilterKeepaliveAck()
1051 dstPort, srcPort, ackNum, seqNum + 1, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
1055 dstPort, srcPort, ackNum + 100, seqNum, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
[all …]
DApfTest.java2027 final int seqNum = 2123456789; in testApfFilterKeepaliveAck() local
2048 parcel.seq = seqNum; in testApfFilterKeepaliveAck()
2059 dstPort, srcPort, ackNum, seqNum + 1, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
2063 dstPort, srcPort, ackNum + 100, seqNum, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
2066 dstPort, srcPort, ackNum, seqNum + 1, 10 /* dataLength */)); in testApfFilterKeepaliveAck()
2087 ipv6Parcel.seq = seqNum; in testApfFilterKeepaliveAck()
2098 dstPort, srcPort, ackNum, seqNum + 1)); in testApfFilterKeepaliveAck()
2102 dstPort, srcPort, ackNum + 100, seqNum)); in testApfFilterKeepaliveAck()
2121 dstPort, srcPort, ackNum, seqNum + 1, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
2125 dstPort, srcPort, ackNum + 100, seqNum, 0 /* dataLength */)); in testApfFilterKeepaliveAck()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DIOnWifiUsabilityStatsListener.aidl39 void onWifiUsabilityStats(int seqNum, boolean isSameBssidAndFreq, in onWifiUsabilityStats() argument
DIWifiManager.aidl357 void updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec); in updateWifiUsabilityScore() argument
DBaseWifiService.java798 public void updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec) { in updateWifiUsabilityScore() argument
DWifiManager.java9499 void onWifiUsabilityStats(int seqNum, boolean isSameBssidAndFreq, in onWifiUsabilityStats() argument
9546 public void onWifiUsabilityStats(int seqNum, boolean isSameBssidAndFreq, in addOnWifiUsabilityStatsListener()
9550 + "onWifiUsabilityStats: seqNum=" + seqNum); in addOnWifiUsabilityStatsListener()
9554 seqNum, isSameBssidAndFreq, stats)); in addOnWifiUsabilityStatsListener()
9612 public void updateWifiUsabilityScore(int seqNum, int score, int predictionHorizonSec) { in updateWifiUsabilityScore() argument
9614 mService.updateWifiUsabilityScore(seqNum, score, predictionHorizonSec); in updateWifiUsabilityScore()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/text/nodes/
DTextRtpPayloadDecoderNode.h35 uint32_t timestamp, bool mark, uint32_t seqNum,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/nodes/
DRtpDecoderNode.h46 bool mark, uint16_t seqNum, uint32_t payloadType, uint32_t ssrc,
/packages/modules/Connectivity/framework/src/android/net/
DConnectivityManager.java2292 private void sendExpireMsgForFeature(NetworkCapabilities netCap, int seqNum, int delay) { in sendExpireMsgForFeature() argument
2294 Log.d(TAG, "sending expire msg with seqNum " + seqNum + " and delay " + delay); in sendExpireMsgForFeature()
2296 Message msg = handler.obtainMessage(EXPIRE_LEGACY_REQUEST, seqNum, 0, netCap); in sendExpireMsgForFeature()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java7248 private void sendWifiUsabilityStats(int seqNum, boolean isSameBssidAndFreq,
7253 mOnWifiUsabilityListeners.getBroadcastItem(i).onWifiUsabilityStats(seqNum,
7838 public void incrementWifiUsabilityScoreCount(String ifaceName, int seqNum, int score,
7844 mSeqNumToFramework = seqNum;

12