Lines Matching refs:sender_

26        sender_(&send_clock_),
39 while (sender_.TimeUntilSend(send_clock_.Now(),
46 sender_.OnPacketSent(send_clock_.Now(), sequence_number_, bytes_in_packet,
50 EXPECT_FALSE(sender_.TimeUntilSend(send_clock_.Now(),
56 sender_.OnPacketAcked(
79 sender_.OnIncomingQuicCongestionFeedbackFrame(feedback, send_clock_.Now(),
101 sender_.OnIncomingQuicCongestionFeedbackFrame(feedback, send_clock_.Now(),
116 InterArrivalSender sender_;
126 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
132 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
134 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
140 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(), NOT_RETRANSMISSION,
145 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
147 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
155 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
160 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
163 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
169 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
175 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
178 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
184 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
190 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
193 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
199 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
206 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
209 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
215 sender_.BandwidthEstimate().ToBytesPerSecond(), 2000);
222 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
225 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
231 sender_.BandwidthEstimate().ToBytesPerSecond(), 2000);
237 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
240 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
246 sender_.BandwidthEstimate().ToBytesPerSecond(), 2000);
252 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
255 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
261 sender_.BandwidthEstimate().ToBytesPerSecond(), 2000);
272 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
275 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
281 sender_.BandwidthEstimate().ToBytesPerSecond(), 5000);
288 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
291 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
297 sender_.BandwidthEstimate().ToBytesPerSecond(), 5000);
304 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
310 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
312 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
318 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(), NOT_RETRANSMISSION,
323 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
325 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
333 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
338 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
341 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
347 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
351 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
353 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
363 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
369 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
371 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
378 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
385 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
388 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
394 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
401 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
407 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
409 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
415 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(), NOT_RETRANSMISSION,
420 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
422 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
430 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
435 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
438 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
444 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
448 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
450 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
460 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
473 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
481 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
487 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
489 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
499 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
501 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
503 EXPECT_EQ(expected_min_bitrate, sender_.BandwidthEstimate());
510 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
516 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
518 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
525 send_clock_.AdvanceTime(sender_.TimeUntilSend(send_clock_.Now(),
527 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
534 sender_.BandwidthEstimate().ToBytesPerSecond(), 1000);
538 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
541 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
543 sender_.OnPacketLost(acked_sequence_number_ - 1, send_clock_.Now());
544 sender_.OnPacketAcked(acked_sequence_number_, kDefaultMaxPacketSize, rtt_);
549 EXPECT_EQ(expected_min_bitrate, sender_.BandwidthEstimate());
553 QuicTime::Delta time_until_send = sender_.TimeUntilSend(send_clock_.Now(),
556 EXPECT_TRUE(sender_.TimeUntilSend(send_clock_.Now(),
558 sender_.OnPacketLost(acked_sequence_number_ - 1, send_clock_.Now());
559 sender_.OnPacketAcked(acked_sequence_number_, kDefaultMaxPacketSize, rtt_);
564 EXPECT_EQ(expected_min_bitrate, sender_.BandwidthEstimate());