/external/chromium_org/media/cast/rtcp/ |
rtcp_unittest.cc | 238 base::TimeDelta rtt; local 242 EXPECT_FALSE(rtcp_sender.Rtt(&rtt, &avg_rtt, &min_rtt, &max_rtt)); 243 EXPECT_FALSE(rtcp_receiver.Rtt(&rtt, &avg_rtt, &min_rtt, &max_rtt)); 247 EXPECT_TRUE(rtcp_sender.Rtt(&rtt, &avg_rtt, &min_rtt, &max_rtt)); 248 EXPECT_FALSE(rtcp_receiver.Rtt(&rtt, &avg_rtt, &min_rtt, &max_rtt)); 249 EXPECT_NEAR(2 * kAddedDelay, rtt.InMilliseconds(), 1) 292 base::TimeDelta rtt; local 381 base::TimeDelta rtt; local [all...] |
rtcp.h | 100 bool Rtt(base::TimeDelta* rtt, base::TimeDelta* avg_rtt,
|
rtcp.cc | 438 base::TimeDelta rtt = sender_delay - receiver_delay; local 439 rtt = std::max(rtt, base::TimeDelta::FromMilliseconds(1)); 440 rtt_ = rtt; 441 min_rtt_ = std::min(min_rtt_, rtt); 442 max_rtt_ = std::max(max_rtt_, rtt); 447 ((1.0 / (ac + 1.0)) * rtt.InMilliseconds()); 449 avg_rtt_ms_ = rtt.InMilliseconds(); 454 bool Rtcp::Rtt(base::TimeDelta* rtt, [all...] |
/external/chromium_org/media/cast/video_sender/ |
video_sender.cc | 355 base::TimeDelta rtt; local 360 if (rtcp_->Rtt(&rtt, &avg_rtt, &min_rtt, &max_rtt)) { 362 rtt.InMilliseconds()); 363 // Don't use a RTT lower than our average. 364 rtt = std::max(rtt, avg_rtt); 367 rtt = base::TimeDelta::FromMilliseconds(kStartRttMs); 380 if (congestion_control_.OnAck(rtt, &new_bitrate)) { 406 if (congestion_control_.OnNack(rtt, &new_bitrate)) [all...] |
/external/chromium_org/net/quic/ |
quic_sent_packet_manager_test.cc | 736 TEST_F(QuicSentPacketManagerTest, Rtt) { 754 EXPECT_EQ(expected_rtt, QuicSentPacketManagerPeer::rtt(&manager_)); 758 // Expect that the RTT is equal to the local time elapsed, since the 778 EXPECT_EQ(expected_rtt, QuicSentPacketManagerPeer::rtt(&manager_)); 782 // Expect that the RTT is equal to the local time elapsed, since the 800 EXPECT_EQ(expected_rtt, QuicSentPacketManagerPeer::rtt(&manager_)); 804 // Expect that the RTT is the time between send and receive since the [all...] |