Searched refs:sequence_number (Results 1 - 25 of 86) sorted by relevance

1234

/external/autotest/client/site_tests/cellular_MbimComplianceDataTransfer/
H A Dcellular_MbimComplianceDTS0511.py46 if nth_2.sequence_number != nth_1.sequence_number + 1:
51 if nth_2.sequence_number != nth_1.sequence_number + 1:
H A Dcellular_MbimComplianceDTS0410.py53 if nth.sequence_number != 0:
58 if nth.sequence_number != 0:
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
H A Dsend_time_history.cc29 void SendTimeHistory::AddAndRemoveOld(uint16_t sequence_number, argument
35 oldest_sequence_number_ = sequence_number;
38 sequence_number, PacketInfo(clock_->TimeInMilliseconds(), 0, -1,
39 sequence_number, length, was_paced)));
42 bool SendTimeHistory::OnSentPacket(uint16_t sequence_number, argument
44 auto it = history_.find(sequence_number);
87 auto it = history_.find(packet->sequence_number);
95 if (packet->sequence_number == oldest_sequence_number_)
H A Dtransport_feedback_adapter_unittest.cc99 EXPECT_EQ(truth[i].sequence_number, input[i].sequence_number);
108 adapter_->AddPacket(info.sequence_number, info.payload_size,
110 adapter_->OnSentPacket(info.sequence_number, info.send_time_ms);
133 feedback.WithBase(packets[0].sequence_number,
137 EXPECT_TRUE(feedback.WithReceivedPacket(packet.sequence_number,
164 if (packet.sequence_number >= kSendSideDropBefore)
169 feedback.WithBase(packets[0].sequence_number,
173 if (packet.sequence_number <= kReceiveSideDropAfter) {
174 EXPECT_TRUE(feedback.WithReceivedPacket(packet.sequence_number,
[all...]
H A Dtransport_feedback_adapter.cc53 void TransportFeedbackAdapter::AddPacket(uint16_t sequence_number, argument
57 send_time_history_.AddAndRemoveOld(sequence_number, length, was_paced);
60 void TransportFeedbackAdapter::OnSentPacket(uint16_t sequence_number, argument
63 send_time_history_.OnSentPacket(sequence_number, send_time_ms);
88 uint16_t sequence_number = feedback.GetBaseSequence(); local
103 PacketInfo info(timestamp_ms, sequence_number);
110 ++sequence_number;
H A Dsend_time_history_unittest.cc34 void AddPacketWithSendTime(uint16_t sequence_number, argument
38 history_.AddAndRemoveOld(sequence_number, length, was_paced);
39 history_.OnSentPacket(sequence_number, send_time_ms);
50 PacketInfo(int64_t arrival_time_ms, uint16_t sequence_number) argument
51 : PacketInfo(arrival_time_ms, 0, sequence_number, 0, false) {}
54 uint16_t sequence_number,
60 sequence_number,
66 sequence_number == other.sequence_number &&
101 EXPECT_EQ(kSeqNo, info.sequence_number);
52 PacketInfo(int64_t arrival_time_ms, int64_t send_time_ms, uint16_t sequence_number, size_t payload_size, bool was_paced) argument
[all...]
/external/webrtc/webrtc/modules/pacing/
H A Dpaced_sender_unittest.cc31 uint16_t sequence_number,
43 uint16_t sequence_number,
71 uint16_t sequence_number,
123 uint16_t sequence_number,
127 send_bucket_->InsertPacket(priority, ssrc, sequence_number, capture_time_ms,
130 TimeToSendPacket(ssrc, sequence_number, capture_time_ms, false))
142 uint16_t sequence_number = 1234; local
146 sequence_number++,
152 sequence_number++,
158 sequence_number
42 TimeToSendPacket(uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, bool retransmission) argument
70 TimeToSendPacket(uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, bool retransmission) argument
121 SendAndExpectPacket(PacedSender::Priority priority, uint32_t ssrc, uint16_t sequence_number, int64_t capture_time_ms, size_t size, bool retransmission) argument
200 uint16_t sequence_number = 1234; local
257 uint16_t sequence_number = 1234; local
325 uint16_t sequence_number = 1234; local
348 uint16_t sequence_number = 1234; local
389 uint16_t sequence_number = 1234; local
412 uint16_t sequence_number = 1234; local
441 uint16_t sequence_number = 1234; local
504 uint16_t sequence_number = 1234; local
536 uint16_t sequence_number = 1234; local
611 uint16_t sequence_number = 1234; local
666 uint16_t sequence_number = 1234; local
703 uint16_t sequence_number = 1234; local
726 uint16_t sequence_number = 1234; local
760 uint16_t sequence_number = 1234; local
791 uint16_t sequence_number = 1234; local
838 uint16_t sequence_number = 1234; local
863 uint16_t sequence_number = 1234; local
[all...]
H A Dpacket_router.h44 uint16_t sequence_number,
50 void SetTransportWideSequenceNumber(uint16_t sequence_number);
H A Dpacket_router.cc43 uint16_t sequence_number,
49 return rtp_module->TimeToSendPacket(ssrc, sequence_number,
71 void PacketRouter::SetTransportWideSequenceNumber(uint16_t sequence_number) { argument
72 rtc::AtomicOps::ReleaseStore(&transport_seq_, sequence_number);
42 TimeToSendPacket(uint32_t ssrc, uint16_t sequence_number, int64_t capture_timestamp, bool retransmission) argument
H A Dpacket_router_unittest.cc42 uint16_t sequence_number = 17; local
49 EXPECT_CALL(rtp_1, TimeToSendPacket(kSsrc1, sequence_number, timestamp,
54 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1, sequence_number,
58 ++sequence_number;
66 EXPECT_CALL(rtp_2, TimeToSendPacket(kSsrc2, sequence_number, timestamp,
70 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc2, sequence_number,
78 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1, sequence_number,
88 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1 + kSsrc2, sequence_number,
98 EXPECT_TRUE(packet_router_->TimeToSendPacket(kSsrc1, sequence_number,
/external/webrtc/webrtc/modules/rtp_rtcp/source/
H A Drtp_packet_history.cc119 stored_packets_[prev_index_].sequence_number = seq_num;
133 bool RTPPacketHistory::HasRTPPacket(uint16_t sequence_number) const {
140 bool found = FindSeqNum(sequence_number, &index);
152 bool RTPPacketHistory::SetSent(uint16_t sequence_number) { argument
159 bool found = FindSeqNum(sequence_number, &index);
173 bool RTPPacketHistory::GetPacketAndSetSendTime(uint16_t sequence_number, argument
185 bool found = FindSeqNum(sequence_number, &index);
187 LOG(LS_WARNING) << "No match for getting seqNum " << sequence_number;
194 LOG(LS_WARNING) << "No match for getting seqNum " << sequence_number
246 bool RTPPacketHistory::FindSeqNum(uint16_t sequence_number, argument
[all...]
H A Drtp_packet_history.h55 bool GetPacketAndSetSendTime(uint16_t sequence_number,
65 bool HasRTPPacket(uint16_t sequence_number) const;
67 bool SetSent(uint16_t sequence_number);
79 bool FindSeqNum(uint16_t sequence_number, int32_t* index) const
92 uint16_t sequence_number = 0; member in struct:webrtc::RTPPacketHistory::StoredPacket
H A Dpacket_loss_stats.h27 void AddLostPacket(uint16_t sequence_number);
H A Dpacket_loss_stats.cc29 void PacketLossStats::AddLostPacket(uint16_t sequence_number) { argument
32 static_cast<int>(*(lost_packets_buffer_.rbegin())) - sequence_number
35 lost_packets_wrapped_buffer_.insert(sequence_number);
37 lost_packets_buffer_.insert(sequence_number);
/external/webrtc/webrtc/modules/remote_bitrate_estimator/include/
H A Dsend_time_history.h27 void AddAndRemoveOld(uint16_t sequence_number, size_t length, bool was_paced);
28 bool OnSentPacket(uint16_t sequence_number, int64_t timestamp);
31 // thus be non-null and have the sequence_number field set.
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Dnack.cc52 void Nack::UpdateLastReceivedPacket(uint16_t sequence_number, argument
57 sequence_num_last_received_rtp_ = sequence_number;
63 sequence_num_last_decoded_rtp_ = sequence_number;
69 if (sequence_number == sequence_num_last_received_rtp_)
73 nack_list_.erase(sequence_number);
76 if (IsNewerSequenceNumber(sequence_num_last_received_rtp_, sequence_number))
79 UpdateSamplesPerPacket(sequence_number, timestamp);
81 UpdateList(sequence_number);
83 sequence_num_last_received_rtp_ = sequence_number;
150 void Nack::UpdateLastDecodedPacket(uint16_t sequence_number, argument
[all...]
H A Ddelay_manager.cc72 int DelayManager::Update(uint16_t sequence_number, argument
82 last_seq_no_ = sequence_number;
91 !IsNewerSequenceNumber(sequence_number, last_seq_no_)) {
98 static_cast<uint16_t>(sequence_number - last_seq_no_);
110 UpdateCumulativeSums(packet_len_ms, sequence_number);
114 if (IsNewerSequenceNumber(sequence_number, last_seq_no_ + 1)) {
118 iat_packets -= static_cast<uint16_t>(sequence_number - last_seq_no_ - 1);
120 } else if (!IsNewerSequenceNumber(sequence_number, last_seq_no_)) {
121 iat_packets += static_cast<uint16_t>(last_seq_no_ + 1 - sequence_number);
139 last_seq_no_ = sequence_number;
144 UpdateCumulativeSums(int packet_len_ms, uint16_t sequence_number) argument
[all...]
H A Dnack.h79 void UpdateLastDecodedPacket(uint16_t sequence_number, uint32_t timestamp);
83 void UpdateLastReceivedPacket(uint16_t sequence_number, uint32_t timestamp);
169 uint32_t EstimateTimestamp(uint16_t sequence_number);
H A Ddelay_manager.h43 // |sequence_number| and |timestamp| from the RTP header. This updates the
47 virtual int Update(uint16_t sequence_number,
122 void UpdateCumulativeSums(int packet_len_ms, uint16_t sequence_number);
/external/webrtc/webrtc/modules/pacing/mock/
H A Dmock_paced_sender.h28 uint16_t sequence_number,
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
H A Dbwe.cc51 received_packets_.Insert(media_packet.sequence_number(),
190 uint16_t oldest_seq_num = (*node_it)->sequence_number;
197 uint16_t seq_num = (*node_it)->sequence_number;
219 void LinkedSet::Insert(uint16_t sequence_number, argument
223 auto it = map_.find(sequence_number);
231 map_[sequence_number] = list_.begin();
237 UpdateHead(new PacketIdentifierNode(sequence_number, send_time_ms,
243 Insert(packet_identifier.sequence_number, packet_identifier.send_time_ms,
248 map_.erase(list_.back()->sequence_number);
254 map_[new_head->sequence_number]
[all...]
H A Dpacket_sender.h114 uint16_t sequence_number,
154 : sequence_number(packet.header().sequenceNumber),
158 : sequence_number(seq_num), time_ms(now_ms) {}
161 return sequence_number < rhs.sequence_number;
164 uint16_t sequence_number; // Sequence number of a packet in flight, or a member in struct:webrtc::testing::bwe::TcpSender::InFlight
/external/webrtc/webrtc/modules/bitrate_controller/
H A Dbitrate_controller_unittest.cc272 uint32_t sequence_number[2] = {0, 0xFF00}; local
282 report_blocks.push_back(CreateReportBlock(1, 2, 0, sequence_number[0]));
294 report_blocks.push_back(CreateReportBlock(1, 2, 0, sequence_number[0]));
295 report_blocks.push_back(CreateReportBlock(1, 3, 0, sequence_number[1]));
303 sequence_number[0] += 20;
304 sequence_number[1] += 1;
311 report_blocks.push_back(CreateReportBlock(1, 2, 50, sequence_number[0]));
312 report_blocks.push_back(CreateReportBlock(1, 3, 0, sequence_number[1]));
318 sequence_number[0] += 20;
319 sequence_number[
[all...]
/external/webrtc/webrtc/modules/rtp_rtcp/include/
H A Drtp_rtcp_defines.h175 : sequence_number(0),
181 uint16_t sequence_number; member in struct:webrtc::RtpState
260 PacketInfo(int64_t arrival_time_ms, uint16_t sequence_number) argument
261 : PacketInfo(-1, arrival_time_ms, -1, sequence_number, 0, false) {}
265 uint16_t sequence_number,
271 sequence_number,
278 uint16_t sequence_number,
284 sequence_number(sequence_number),
298 uint16_t sequence_number; member in struct:webrtc::PacketInfo
263 PacketInfo(int64_t arrival_time_ms, int64_t send_time_ms, uint16_t sequence_number, size_t payload_size, bool was_paced) argument
275 PacketInfo(int64_t creation_time_ms, int64_t arrival_time_ms, int64_t send_time_ms, uint16_t sequence_number, size_t payload_size, bool was_paced) argument
[all...]
/external/v8/src/
H A Delements-kind.cc99 ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number) { argument
100 DCHECK(sequence_number >= 0 &&
101 sequence_number < kFastElementsKindCount);
102 return fast_elements_kind_sequence.Get()[sequence_number];

Completed in 741 milliseconds

1234