Searched refs:send_time_us (Results 1 – 9 of 9) sorted by relevance
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_framework.cc | 33 bool ShouldSendPacket(int64_t send_time_us, int64_t arrival_time_us) { in ShouldSendPacket() argument 34 int64_t packet_delay_us = send_time_us - arrival_time_us; in ShouldSendPacket() 65 void RateCounter::UpdateRates(int64_t send_time_us, uint32_t payload_size) { in UpdateRates() argument 68 last_accumulated_us_ = send_time_us; in UpdateRates() 69 window_.push_back(std::make_pair(send_time_us, payload_size)); in UpdateRates() 104 Packet::Packet(int flow_id, int64_t send_time_us, size_t payload_size) in Packet() argument 106 creation_time_us_(send_time_us), in Packet() 107 send_time_us_(send_time_us), in Packet() 108 sender_timestamp_us_(send_time_us), in Packet() 120 void Packet::set_send_time_us(int64_t send_time_us) { in set_send_time_us() argument [all …]
|
D | packet.h | 31 Packet(int flow_id, int64_t send_time_us, size_t payload_size); 37 virtual void set_send_time_us(int64_t send_time_us); 38 virtual int64_t send_time_us() const { return send_time_us_; } in send_time_us() function 68 int64_t send_time_us, 72 int64_t send_time_us, 75 MediaPacket(int64_t send_time_us, uint16_t sequence_number); 117 int64_t send_time_us, 135 int64_t send_time_us, 185 int64_t send_time_us, in TcpFeedback() argument 188 : FeedbackPacket(flow_id, send_time_us, latest_send_time_ms), in TcpFeedback()
|
D | bwe_test_framework_unittest.cc | 295 EXPECT_LE(now_ms_ * 1000, (*it)->send_time_us()); in TestDelayFilter() 470 packet2->send_time_us() - packet1->send_time_us()); in TestJitterFilter() 471 jitter_us.Push(packet2->send_time_us() - packet1->send_time_us()); in TestJitterFilter() 619 if (packet->send_time_us() > now_ms_ * 1000) { in TestChoke() 632 int64_t delay_us = media_packet->send_time_us() - in CheckMaxDelay() 653 int64_t send_time_us = 0; in TEST_F() local 662 new MediaPacket(0, send_time_us, kPacketSizeBytes, header)); in TEST_F() 665 send_time_us += kExpectedSendTimeUs + 1000; in TEST_F() 669 EXPECT_EQ(kExpectedSendTimeUs, packets.front()->send_time_us()); in TEST_F() 672 EXPECT_EQ(2 * kExpectedSendTimeUs + 1000, packets.front()->send_time_us()); in TEST_F() [all …]
|
D | bwe_unittest.cc | 168 int64_t send_time_us = i * kTimeGapMs * 1000; in TEST_F() local 169 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; in TEST_F() 171 const MediaPacket media_packet(kFlowId, send_time_us, kPayloadSizeBytes, in TEST_F()
|
D | packet_sender.cc | 58 if ((*it)->send_time_us() > 1000 * end_time_ms) in GetFeedbackPackets() 268 if ((*it)->send_time_us() > end_of_batch_time_us) { in QueuePackets()
|
D | bwe_test_framework.h | 58 void UpdateRates(int64_t send_time_us, uint32_t payload_size);
|
D | bwe_test.cc | 87 if ((*it)->send_time_us() > end_of_batch_time_us) { in QueuePackets()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/estimators/ |
D | nada_unittest.cc | 336 int64_t send_time_us = i * kTimeGapMs * 1000; in TEST_F() local 337 int64_t arrival_time_ms = send_time_us / 1000 + kOneWayDelayMs; in TEST_F() 340 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number); in TEST_F() 374 int64_t send_time_us = (i + 1) * kTimeGapMs * 1000; in TEST_F() local 375 int64_t arrival_time_ms = send_time_us / 1000 + 10 * (i + 1); in TEST_F() 378 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number); in TEST_F() 443 int64_t send_time_us = (i + 1) * kTimeGapMs * 1000; in TEST_F() local 444 int64_t arrival_time_ms = send_time_us / 1000 + 50 + 200 * i; in TEST_F() 447 const MediaPacket media_packet(kFlowId, send_time_us, 0, sequence_number); in TEST_F()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | remote_bitrate_estimator_unittest_helper.cc | 87 int64_t send_time_us = time_now_us + kSendSideOffsetUs; in Rtcp() local 89 ((frequency_ / 1000) * send_time_us + 500) / 1000); in Rtcp() 90 rtcp->ntp_secs = send_time_us / 1000000; in Rtcp() 91 rtcp->ntp_frac = static_cast<int64_t>((send_time_us % 1000000) * in Rtcp()
|