Home
last modified time | relevance | path

Searched refs:send_algorithm (Results 1 – 13 of 13) sorted by relevance

/external/cronet/net/third_party/quiche/src/quiche/quic/core/http/
Dquic_server_session_base.cc142 const SendAlgorithmInterface* send_algorithm = in OnBandwidthUpdateTimeout() local
144 if (send_algorithm != nullptr && in OnBandwidthUpdateTimeout()
145 send_algorithm->HasGoodBandwidthEstimateForResumption()) { in OnBandwidthUpdateTimeout()
368 const SendAlgorithmInterface* send_algorithm = in GenerateCachedNetworkParameters() local
370 if (send_algorithm != nullptr && in GenerateCachedNetworkParameters()
371 send_algorithm->HasGoodBandwidthEstimateForResumption()) { in GenerateCachedNetworkParameters()
374 send_algorithm->BandwidthEstimate())); in GenerateCachedNetworkParameters()
Dquic_spdy_session_test.cc837 MockSendAlgorithm* send_algorithm = new StrictMock<MockSendAlgorithm>; in TEST_P() local
838 QuicConnectionPeer::SetSendAlgorithm(session_.connection(), send_algorithm); in TEST_P()
848 EXPECT_CALL(*send_algorithm, CanSend(_)).WillRepeatedly(Return(true)); in TEST_P()
849 EXPECT_CALL(*send_algorithm, GetCongestionWindow()) in TEST_P()
851 EXPECT_CALL(*send_algorithm, InRecovery()).WillRepeatedly(Return(false)); in TEST_P()
866 EXPECT_CALL(*send_algorithm, OnPacketSent(_, _, _, _, _)); in TEST_P()
867 EXPECT_CALL(*send_algorithm, OnApplicationLimited(_)); in TEST_P()
878 MockSendAlgorithm* send_algorithm = new StrictMock<MockSendAlgorithm>; in TEST_P() local
879 QuicConnectionPeer::SetSendAlgorithm(session_.connection(), send_algorithm); in TEST_P()
889 EXPECT_CALL(*send_algorithm, CanSend(_)).WillOnce(Return(true)); in TEST_P()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_session_test.cc1146 MockSendAlgorithm* send_algorithm = new StrictMock<MockSendAlgorithm>; in TEST_P() local
1147 QuicConnectionPeer::SetSendAlgorithm(session_.connection(), send_algorithm); in TEST_P()
1157 EXPECT_CALL(*send_algorithm, CanSend(_)).WillRepeatedly(Return(true)); in TEST_P()
1158 EXPECT_CALL(*send_algorithm, GetCongestionWindow()) in TEST_P()
1160 EXPECT_CALL(*send_algorithm, InRecovery()).WillRepeatedly(Return(false)); in TEST_P()
1175 EXPECT_CALL(*send_algorithm, OnPacketSent(_, _, _, _, _)); in TEST_P()
1176 EXPECT_CALL(*send_algorithm, OnApplicationLimited(_)); in TEST_P()
1187 MockSendAlgorithm* send_algorithm = new StrictMock<MockSendAlgorithm>; in TEST_P() local
1188 QuicConnectionPeer::SetSendAlgorithm(session_.connection(), send_algorithm); in TEST_P()
1198 EXPECT_CALL(*send_algorithm, CanSend(_)).WillOnce(Return(true)); in TEST_P()
[all …]
Dquic_sent_packet_manager.cc1121 SendAlgorithmInterface* send_algorithm) { in SetSendAlgorithm() argument
1122 send_algorithm_.reset(send_algorithm); in SetSendAlgorithm()
1123 pacing_sender_.set_sender(send_algorithm); in SetSendAlgorithm()
Dquic_sent_packet_manager.h424 void SetSendAlgorithm(SendAlgorithmInterface* send_algorithm);
Dquic_connection.cc5278 alternative_path_.send_algorithm != nullptr)); in StartEffectivePeerMigration()
5293 previous_default_path.send_algorithm = OnPeerIpAddressChanged(); in StartEffectivePeerMigration()
5297 alternative_path_.send_algorithm != nullptr) { in StartEffectivePeerMigration()
5301 alternative_path_.send_algorithm.release()); in StartEffectivePeerMigration()
5390 QUICHE_DCHECK(alternative_path_.send_algorithm != nullptr); in StartEffectivePeerMigration()
7117 send_algorithm = nullptr; in Clear()
7139 send_algorithm = std::move(other.send_algorithm); in operator =()
7337 if (alternative_path_.send_algorithm != nullptr) { in RestoreToLastValidatedPath()
7339 alternative_path_.send_algorithm.release()); in RestoreToLastValidatedPath()
Dquic_connection.h1466 std::unique_ptr<SendAlgorithmInterface> send_algorithm; member
Dquic_connection_test.cc234 void SetSendAlgorithm(SendAlgorithmInterface* send_algorithm) { in SetSendAlgorithm() argument
235 QuicConnectionPeer::SetSendAlgorithm(this, send_algorithm); in SetSendAlgorithm()
404 void EnablePathMtuDiscovery(MockSendAlgorithm* send_algorithm) { in EnablePathMtuDiscovery() argument
414 EXPECT_CALL(*send_algorithm, SetFromConfig(_, _)); in EnablePathMtuDiscovery()
421 EXPECT_CALL(*send_algorithm, PacingRate(_)) in EnablePathMtuDiscovery()
9083 const SendAlgorithmInterface* send_algorithm = manager_->GetSendAlgorithm(); in TEST_P() local
9093 EXPECT_NE(send_algorithm, manager_->GetSendAlgorithm()); in TEST_P()
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/
Dquic_sent_packet_manager_peer.cc33 SendAlgorithmInterface* send_algorithm) { in SetSendAlgorithm() argument
34 sent_packet_manager->SetSendAlgorithm(send_algorithm); in SetSendAlgorithm()
Dquic_sent_packet_manager_peer.h29 SendAlgorithmInterface* send_algorithm);
Dquic_connection_peer.cc22 QuicConnection* connection, SendAlgorithmInterface* send_algorithm) { in SetSendAlgorithm() argument
23 GetSentPacketManager(connection)->SetSendAlgorithm(send_algorithm); in SetSendAlgorithm()
Dquic_connection_peer.h40 SendAlgorithmInterface* send_algorithm);
/external/cronet/net/quic/
Dquic_http_stream_test.cc180 void SetSendAlgorithm(quic::SendAlgorithmInterface* send_algorithm) { in SetSendAlgorithm() argument
181 quic::test::QuicConnectionPeer::SetSendAlgorithm(this, send_algorithm); in SetSendAlgorithm()