Home
last modified time | relevance | path

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

/aosp_15_r20/external/cronet/net/socket/
H A Dsocket_test_util.cc850 std::make_unique<MockTCPClientSocket>(addresses, net_log, data_provider); in CreateTransportClientSocket()
996 MockTCPClientSocket::MockTCPClientSocket(const AddressList& addresses, in MockTCPClientSocket() function in net::MockTCPClientSocket
1011 MockTCPClientSocket::~MockTCPClientSocket() { in ~MockTCPClientSocket()
1016 int MockTCPClientSocket::Read(IOBuffer* buf, in Read()
1025 base::BindOnce(&MockTCPClientSocket::RetryRead, base::Unretained(this))); in Read()
1036 int MockTCPClientSocket::ReadIfReady(IOBuffer* buf, in ReadIfReady()
1046 int MockTCPClientSocket::CancelReadIfReady() { in CancelReadIfReady()
1054 int MockTCPClientSocket::Write( in Write()
1090 int MockTCPClientSocket::SetReceiveBufferSize(int32_t size) { in SetReceiveBufferSize()
1097 int MockTCPClientSocket::SetSendBufferSize(int32_t size) { in SetSendBufferSize()
[all …]
H A Dsocket_test_util.h683 class MockTCPClientSocket; variable
808 class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
810 MockTCPClientSocket(const AddressList& addresses,
814 MockTCPClientSocket(const MockTCPClientSocket&) = delete;
815 MockTCPClientSocket& operator=(const MockTCPClientSocket&) = delete;
817 ~MockTCPClientSocket() override;
H A Dsocks_client_socket_unittest.cc82 auto socket = std::make_unique<MockTCPClientSocket>(address_list_, net_log, in BuildMockSocket()
437 std::make_unique<MockTCPClientSocket>(address_list_, NetLog::Get(), in TEST_F()
464 SOCKSClientSocket socket(std::make_unique<MockTCPClientSocket>( in TEST_F()
H A Dsocks5_client_socket_unittest.cc95 auto tcp_sock = std::make_unique<MockTCPClientSocket>(address_list_, net_log, in BuildMockSocket()
366 std::make_unique<MockTCPClientSocket>(address_list_, NetLog::Get(), in TEST_F()
H A Dconnect_job_unittest.cc71 SetSocket(std::make_unique<MockTCPClientSocket>( in ConnectInternal()
H A Dssl_client_socket_unittest.cc2324 std::make_unique<MockTCPClientSocket>(addr(), nullptr, &data)); in TEST_F()
/aosp_15_r20/external/cronet/net/websockets/
H A Dwebsocket_basic_handshake_stream_test.cc51 auto socket = std::make_unique<MockTCPClientSocket>( in TEST()
55 const MockTCPClientSocket* const socket_ptr = socket.get(); in TEST()
108 auto socket = std::make_unique<MockTCPClientSocket>( in TEST()
119 const MockTCPClientSocket* const socket_ptr = socket.get(); in TEST()
/aosp_15_r20/external/cronet/net/http/
H A Dhttp_proxy_client_socket_unittest.cc24 std::make_unique<MockTCPClientSocket>(AddressList(), in TEST()
H A Dhttp_stream_parser_unittest.cc63 std::make_unique<MockTCPClientSocket>(net::AddressList(), nullptr, data); in CreateConnectedSocket()