Home
last modified time | relevance | path

Searched refs:send_algorithm_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/net/quic/
Dquic_connection_test.cc606 send_algorithm_(new StrictMock<MockSendAlgorithm>), in QuicConnectionTest()
617 connection_.SetSendAlgorithm(send_algorithm_); in QuicConnectionTest()
623 *send_algorithm_, TimeUntilSend(_, _, _)).WillRepeatedly(Return( in QuicConnectionTest()
627 EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)) in QuicConnectionTest()
629 EXPECT_CALL(*send_algorithm_, RetransmissionDelay()).WillRepeatedly( in QuicConnectionTest()
631 EXPECT_CALL(*send_algorithm_, GetCongestionWindow()).WillRepeatedly( in QuicConnectionTest()
633 ON_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)) in QuicConnectionTest()
792 EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)) in SendStreamDataToPeer()
799 EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)) in SendStreamDataToPeer()
805 EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _)).Times(1); in SendAckPacketToPeer()
[all …]
Dquic_sent_packet_manager_test.cc46 send_algorithm_(new StrictMock<MockSendAlgorithm>) { in QuicSentPacketManagerTest()
47 QuicSentPacketManagerPeer::SetSendAlgorithm(&manager_, send_algorithm_); in QuicSentPacketManagerTest()
89 EXPECT_CALL(*send_algorithm_, OnCongestionEvent( in ExpectAck()
94 EXPECT_CALL(*send_algorithm_, in ExpectUpdatedRtt()
101 EXPECT_CALL(*send_algorithm_, OnCongestionEvent( in ExpectAckAndLoss()
120 EXPECT_CALL(*send_algorithm_, in ExpectAcksAndLosses()
149 EXPECT_CALL(*send_algorithm_, in RetransmitAndSendPacket()
184 EXPECT_CALL(*send_algorithm_, in SendDataPacket()
195 EXPECT_CALL(*send_algorithm_, in SendCryptoPacket()
210 EXPECT_CALL(*send_algorithm_, in SendFecPacket()
[all …]
Dquic_sent_packet_manager.cc66 send_algorithm_( in QuicSentPacketManager()
90 send_algorithm_.reset( in SetFromConfig()
100 send_algorithm_->SetFromConfig(config, is_server_); in SetFromConfig()
176 send_algorithm_->OnCongestionEvent( in MaybeInvokeCongestionEvent()
457 send_algorithm_->OnPacketSent(sent_time, in OnPacketSent()
568 send_algorithm_->OnRetransmissionTimeout(packets_retransmitted); in RetransmitAllPackets()
594 send_algorithm_->OnIncomingQuicCongestionFeedbackFrame( in OnIncomingQuicCongestionFeedbackFrame()
658 return send_algorithm_->TimeUntilSend( in TimeUntilSend()
736 QuicTime::Delta retransmission_delay = send_algorithm_->RetransmissionDelay(); in GetRetransmissionDelay()
762 return send_algorithm_->BandwidthEstimate(); in BandwidthEstimate()
[all …]
Dquic_http_stream_test.cc182 send_algorithm_ = new MockSendAlgorithm(); in Initialize()
186 EXPECT_CALL(*send_algorithm_, in Initialize()
188 EXPECT_CALL(*send_algorithm_, RetransmissionDelay()).WillRepeatedly( in Initialize()
190 EXPECT_CALL(*send_algorithm_, GetCongestionWindow()).WillRepeatedly( in Initialize()
192 EXPECT_CALL(*send_algorithm_, TimeUntilSend(_, _, _)). in Initialize()
194 EXPECT_CALL(*send_algorithm_, BandwidthEstimate()).WillRepeatedly( in Initialize()
196 EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)).Times(AnyNumber()); in Initialize()
204 connection_->SetSendAlgorithm(send_algorithm_); in Initialize()
286 MockSendAlgorithm* send_algorithm_; member in net::test::QuicHttpStreamTest
Dquic_sent_packet_manager.h290 scoped_ptr<SendAlgorithmInterface> send_algorithm_; variable
/external/chromium_org/net/quic/congestion_control/
Dsend_algorithm_simulator.cc31 : send_algorithm_(send_algorithm), in SendAlgorithmSimulator()
65 << send_algorithm_->GetCongestionWindow(); in SendBytes()
67 QuicTime::Delta send_delta = send_algorithm_->TimeUntilSend( in SendBytes()
209 send_algorithm_->OnCongestionEvent( in HandlePendingAck()
221 send_algorithm_->OnPacketSent( in SendDataNow()
254 QuicByteCount cwnd = send_algorithm_->GetCongestionWindow(); in RecordStats()
Dsend_algorithm_simulator.h98 SendAlgorithmInterface* send_algorithm_; variable
/external/chromium_org/net/quic/test_tools/
Dquic_sent_packet_manager_peer.cc26 sent_packet_manager->send_algorithm_.reset(send_algorithm); in SetSendAlgorithm()
Dquic_connection_peer.cc37 connection->sent_packet_manager_.send_algorithm_.reset(send_algorithm); in SetSendAlgorithm()