Searched refs:MockTCPClientSocket (Results 1 – 9 of 9) sorted by relevance
/aosp_15_r20/external/cronet/net/socket/ |
H A D | socket_test_util.cc | 850 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 D | socket_test_util.h | 683 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 D | socks_client_socket_unittest.cc | 82 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 D | socks5_client_socket_unittest.cc | 95 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 D | connect_job_unittest.cc | 71 SetSocket(std::make_unique<MockTCPClientSocket>( in ConnectInternal()
|
H A D | ssl_client_socket_unittest.cc | 2324 std::make_unique<MockTCPClientSocket>(addr(), nullptr, &data)); in TEST_F()
|
/aosp_15_r20/external/cronet/net/websockets/ |
H A D | websocket_basic_handshake_stream_test.cc | 51 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 D | http_proxy_client_socket_unittest.cc | 24 std::make_unique<MockTCPClientSocket>(AddressList(), in TEST()
|
H A D | http_stream_parser_unittest.cc | 63 std::make_unique<MockTCPClientSocket>(net::AddressList(), nullptr, data); in CreateConnectedSocket()
|