Searched refs:send_algorithm_ (Results  1 – 7 of 7) sorted by relevance
| /external/cronet/net/third_party/quiche/src/quiche/quic/core/ | 
| D | quic_connection_test.cc | 620         send_algorithm_(new StrictMock<MockSendAlgorithm>),  in QuicConnectionTest()686     connection_.SetSendAlgorithm(send_algorithm_);  in QuicConnectionTest()
 688     EXPECT_CALL(*send_algorithm_, CanSend(_)).WillRepeatedly(Return(true));  in QuicConnectionTest()
 689     EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _))  in QuicConnectionTest()
 691     EXPECT_CALL(*send_algorithm_, OnPacketNeutered(_)).Times(AnyNumber());  in QuicConnectionTest()
 692     EXPECT_CALL(*send_algorithm_, GetCongestionWindow())  in QuicConnectionTest()
 694     EXPECT_CALL(*send_algorithm_, PacingRate(_))  in QuicConnectionTest()
 696     EXPECT_CALL(*send_algorithm_, BandwidthEstimate())  in QuicConnectionTest()
 699     EXPECT_CALL(*send_algorithm_, PopulateConnectionStats(_))  in QuicConnectionTest()
 701     EXPECT_CALL(*send_algorithm_, InSlowStart()).Times(AnyNumber());  in QuicConnectionTest()
 [all …]
 
 | 
| D | quic_sent_packet_manager_test.cc | 67         *send_algorithm_,  in RetransmitCryptoPacket()82         *send_algorithm_,  in RetransmitDataPacket()
 101         send_algorithm_(new StrictMock<MockSendAlgorithm>),  in QuicSentPacketManagerTest()
 103     QuicSentPacketManagerPeer::SetSendAlgorithm(&manager_, send_algorithm_);  in QuicSentPacketManagerTest()
 109     EXPECT_CALL(*send_algorithm_, GetCongestionControlType())  in QuicSentPacketManagerTest()
 111     EXPECT_CALL(*send_algorithm_, BandwidthEstimate())  in QuicSentPacketManagerTest()
 114     EXPECT_CALL(*send_algorithm_, InSlowStart()).Times(AnyNumber());  in QuicSentPacketManagerTest()
 115     EXPECT_CALL(*send_algorithm_, InRecovery()).Times(AnyNumber());  in QuicSentPacketManagerTest()
 116     EXPECT_CALL(*send_algorithm_, OnPacketNeutered(_)).Times(AnyNumber());  in QuicSentPacketManagerTest()
 159         *send_algorithm_,  in ExpectAck()
 [all …]
 
 | 
| D | quic_sent_packet_manager.cc | 155     send_algorithm_->SetInitialCongestionWindowInPackets(3);  in SetFromConfig()159     send_algorithm_->SetInitialCongestionWindowInPackets(10);  in SetFromConfig()
 163     send_algorithm_->SetInitialCongestionWindowInPackets(20);  in SetFromConfig()
 167     send_algorithm_->SetInitialCongestionWindowInPackets(50);  in SetFromConfig()
 171     send_algorithm_->SetInitialCongestionWindowInPackets(10);  in SetFromConfig()
 207   send_algorithm_->SetFromConfig(config, perspective);  in SetFromConfig()
 217         send_algorithm_->GetCongestionControlType();  in SetFromConfig()
 241   send_algorithm_->ApplyConnectionOptions(connection_options);  in ApplyConnectionOptions()
 281   const QuicByteCount old_cwnd = send_algorithm_->GetCongestionWindow();  in AdjustNetworkParameters()
 287   send_algorithm_->AdjustNetworkParameters(params);  in AdjustNetworkParameters()
 [all …]
 
 | 
| D | quic_sent_packet_manager.h | 248     return send_algorithm_->BandwidthEstimate();  in BandwidthEstimate()259     return send_algorithm_->GetCongestionWindow() / kDefaultTCPMSS;  in GetCongestionWindowInTcpMss()
 268     return send_algorithm_->GetCongestionWindow() / max_packet_length;  in EstimateMaxPacketsInFlight()
 273     return send_algorithm_->GetCongestionWindow();  in GetCongestionWindowInBytes()
 282     return send_algorithm_->PacingRate(GetBytesInFlight());  in GetPacingRate()
 289     return send_algorithm_->GetSlowStartThreshold() / kDefaultTCPMSS;  in GetSlowStartThresholdInTcpMss()
 369   bool InSlowStart() const { return send_algorithm_->InSlowStart(); }  in InSlowStart()
 376     return send_algorithm_.get();  in GetSendAlgorithm()
 577   std::unique_ptr<SendAlgorithmInterface> send_algorithm_;  variable
 
 | 
| /external/cronet/net/quic/ | 
| D | quic_proxy_client_socket_unittest.cc | 190     send_algorithm_ = new quic::test::MockSendAlgorithm();  in Initialize()191     EXPECT_CALL(*send_algorithm_, InRecovery()).WillRepeatedly(Return(false));  in Initialize()
 192     EXPECT_CALL(*send_algorithm_, InSlowStart()).WillRepeatedly(Return(false));  in Initialize()
 193     EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _))  in Initialize()
 195     EXPECT_CALL(*send_algorithm_, GetCongestionWindow())  in Initialize()
 197     EXPECT_CALL(*send_algorithm_, PacingRate(_))  in Initialize()
 199     EXPECT_CALL(*send_algorithm_, CanSend(_)).WillRepeatedly(Return(true));  in Initialize()
 200     EXPECT_CALL(*send_algorithm_, BandwidthEstimate())  in Initialize()
 202     EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)).Times(AnyNumber());  in Initialize()
 203     EXPECT_CALL(*send_algorithm_, OnApplicationLimited(_)).Times(AnyNumber());  in Initialize()
 [all …]
 
 | 
| D | quic_http_stream_test.cc | 355     send_algorithm_ = new quic::test::MockSendAlgorithm();  in Initialize()356     EXPECT_CALL(*send_algorithm_, InRecovery()).WillRepeatedly(Return(false));  in Initialize()
 357     EXPECT_CALL(*send_algorithm_, InSlowStart()).WillRepeatedly(Return(false));  in Initialize()
 358     EXPECT_CALL(*send_algorithm_, OnPacketSent(_, _, _, _, _))  in Initialize()
 360     EXPECT_CALL(*send_algorithm_, OnCongestionEvent(_, _, _, _, _, _, _))  in Initialize()
 362     EXPECT_CALL(*send_algorithm_, GetCongestionWindow())  in Initialize()
 364     EXPECT_CALL(*send_algorithm_, PacingRate(_))  in Initialize()
 366     EXPECT_CALL(*send_algorithm_, CanSend(_)).WillRepeatedly(Return(true));  in Initialize()
 367     EXPECT_CALL(*send_algorithm_, BandwidthEstimate())  in Initialize()
 369     EXPECT_CALL(*send_algorithm_, SetFromConfig(_, _)).Times(AnyNumber());  in Initialize()
 [all …]
 
 | 
| /external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/ | 
| D | quic_sent_packet_manager_peer.cc | 27   return sent_packet_manager.send_algorithm_.get();  in GetSendAlgorithm()
 |