/external/chromium_org/net/socket/ |
D | socks_client_socket_pool_unittest.cc | 131 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 149 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 168 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 202 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, in TEST_F() 216 socket_data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_REFUSED)); in TEST_F() 238 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 257 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 309 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F() 314 data2.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F()
|
D | socket_test_util.h | 60 struct MockConnect { struct 64 MockConnect(); 67 MockConnect(IoMode io_mode, int r); 68 MockConnect(IoMode io_mode, int r, IPEndPoint addr); 69 ~MockConnect(); 214 MockConnect connect_data() const { return connect_; } in connect_data() 215 void set_connect_data(const MockConnect& connect) { connect_ = connect; } in set_connect_data() 218 MockConnect connect_; 234 virtual void OnConnectComplete(const MockConnect& data) = 0; 326 MockConnect connect; [all …]
|
D | socket_test_util.cc | 130 MockConnect::MockConnect() : mode(ASYNC), result(OK) { in MockConnect() function in net::MockConnect 136 MockConnect::MockConnect(IoMode io_mode, int r) : mode(io_mode), result(r) { in MockConnect() function in net::MockConnect 142 MockConnect::MockConnect(IoMode io_mode, int r, IPEndPoint addr) : in MockConnect() function in net::MockConnect 148 MockConnect::~MockConnect() {} in ~MockConnect() 311 const MockConnect& connect, int write_delay, MockRead* reads, in DelayedSocketData() 370 const MockConnect& connect, in OrderedSocketData() 986 void MockTCPClientSocket::OnConnectComplete(const MockConnect& data) { in OnConnectComplete() 1224 const MockConnect& data) { in OnConnectComplete() 1318 const MockConnect& data) {} in OnConnectComplete() 1470 void MockSSLClientSocket::OnConnectComplete(const MockConnect& data) { in OnConnectComplete() [all …]
|
D | ssl_client_socket_pool_unittest.cc | 703 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); in TEST_P() 721 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); in TEST_P() 744 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_P() 773 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_P() 975 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); in TEST_P() 994 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); in TEST_P() 1017 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_P() 1042 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_P() 1086 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); in TEST_P() 1105 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); in TEST_P() [all …]
|
D | deterministic_socket_data_unittest.cc | 57 MockConnect connect_data_;
|
/external/chromium_org/net/http/ |
D | http_stream_factory_impl_unittest.cc | 595 socket_data1.set_connect_data(MockConnect(ASYNC, ERR_ADDRESS_UNREACHABLE)); in TEST_P() 600 socket_data2.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 633 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 687 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 740 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 767 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 814 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 861 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 913 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 958 socket_data.set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() [all …]
|
D | http_stream_parser_unittest.cc | 227 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST() 381 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST() 450 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST() 522 data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in SetupParserAndSendRequest() 829 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST()
|
D | http_proxy_client_socket_pool_unittest.cc | 267 data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in Initialize() 543 data_->set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_CLOSED)); in TEST_P() 562 data_->set_connect_data(MockConnect(ASYNC, OK)); in TEST_P() 587 data_->set_connect_data(MockConnect(ASYNC, OK)); in TEST_P()
|
D | http_network_transaction_unittest.cc | 8469 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_P() 8532 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_P() 8583 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_P() 8631 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_P() 8680 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_P() 8728 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_P() 8863 MockConnect never_finishing_connect(SYNCHRONOUS, ERR_IO_PENDING); in TEST_P() 8932 MockConnect never_finishing_connect(SYNCHRONOUS, ERR_IO_PENDING); in TEST_P() 9052 MockConnect never_finishing_connect(SYNCHRONOUS, ERR_IO_PENDING); in TEST_P() 9208 MockConnect never_finishing_connect(SYNCHRONOUS, ERR_IO_PENDING); in TEST_P() [all …]
|
/external/chromium_org/net/spdy/ |
D | spdy_stream_unittest.cc | 144 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 184 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 262 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 344 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 405 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 463 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 521 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 596 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 676 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 745 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() [all …]
|
D | spdy_session_unittest.cc | 242 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 291 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 321 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 348 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 428 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 508 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 616 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 652 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 716 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 781 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() [all …]
|
D | spdy_session_pool_unittest.cc | 101 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 140 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 272 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() 362 MockConnect connect_data(SYNCHRONOUS, OK); in RunIPPoolingTest() 512 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P()
|
D | spdy_proxy_client_socket_unittest.cc | 128 MockConnect connect_data_;
|
/external/chromium_org/jingle/glue/ |
D | proxy_resolving_client_socket_unittest.cc | 79 net::MockConnect(net::ASYNC, net::ERR_ADDRESS_UNREACHABLE)); in TEST_F() 92 socket_data2.set_connect_data(net::MockConnect(net::ASYNC, net::OK)); in TEST_F()
|
D | fake_ssl_client_socket_unittest.cc | 99 void SetData(const net::MockConnect& mock_connect, in SetData() 134 net::MockConnect mock_connect(mode, net::OK); in RunSuccessfulHandshakeTest() 196 net::MockConnect mock_connect(mode, net::OK); in RunUnsuccessfulHandshakeTestHelper()
|
D | chrome_async_socket_unittest.cc | 350 net::MockConnect(net::SYNCHRONOUS, net::OK)); in DoOpenClosed() 539 net::MockConnect(net::ASYNC, net::OK)); in TEST_F() 561 net::MockConnect(net::ASYNC, net::OK)); in TEST_F() 576 net::MockConnect(net::ASYNC, net::ERR_TIMED_OUT)); in TEST_F() 603 net::MockConnect(net::ASYNC, net::OK)); in TEST_F() 918 net::MockConnect(net::ASYNC, net::ERR_CERT_COMMON_NAME_INVALID), in TEST_F()
|
/external/chromium_org/extensions/browser/api/cast_channel/ |
D | cast_socket_unittest.cc | 89 explicit MockTCPSocket(const net::MockConnect& connect_data) : in MockTCPSocket() 137 net::MockConnect connect_data_; 211 tcp_connect_data_[0].reset(new net::MockConnect(mode, result)); in SetupTcp1Connect() 214 ssl_connect_data_[0].reset(new net::MockConnect(mode, result)); in SetupSsl1Connect() 217 tcp_connect_data_[1].reset(new net::MockConnect(mode, result)); in SetupTcp2Connect() 220 ssl_connect_data_[1].reset(new net::MockConnect(mode, result)); in SetupSsl2Connect() 291 net::MockConnect* connect_data = tcp_connect_data_[connect_index_].get(); in CreateTcpSocket() 299 net::MockConnect* connect_data = ssl_connect_data_[connect_index_].get(); in CreateSslSocket() 330 scoped_ptr<net::MockConnect> tcp_connect_data_[2]; 331 scoped_ptr<net::MockConnect> ssl_connect_data_[2];
|
/external/chromium_org/net/websockets/ |
D | websocket_stream_test.cc | 73 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in BuildSocketData() 1094 MockConnect(SYNCHRONOUS, ERR_CONNECTION_REFUSED)); in TEST_F() 1109 MockConnect(ASYNC, ERR_CONNECTION_TIMED_OUT)); in TEST_F() 1121 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, ERR_IO_PENDING)); in TEST_F() 1162 MockConnect(SYNCHRONOUS, ERR_CONNECTION_REFUSED)); in TEST_F() 1182 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, ERR_IO_PENDING)); in TEST_F() 1201 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in TEST_F()
|
D | websocket_test_util.cc | 120 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in SetExpectations()
|
D | websocket_basic_stream_test.cc | 125 socket_data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in MakeTransportSocket()
|
D | websocket_job_test.cc | 283 MockConnect connect_data(SYNCHRONOUS, OK); in MockHttpTransactionFactory()
|
/external/chromium_org/net/quic/ |
D | quic_network_transaction_unittest.cc | 302 MockConnect hanging_connect(SYNCHRONOUS, ERR_IO_PENDING); in AddHangingNonAlternateProtocolSocketData() 890 http_data.set_connect_data(MockConnect(ASYNC, ERR_SOCKET_NOT_CONNECTED)); in TEST_P() 976 quic_data.set_connect_data(MockConnect(SYNCHRONOUS, in TEST_P()
|
/external/chromium_org/net/url_request/ |
D | url_request_ftp_job_unittest.cc | 235 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK)); in AddSocket()
|
/external/chromium_org/net/dns/ |
D | dns_transaction_unittest.cc | 119 provider_->set_connect_data(MockConnect(reads_[0].mode, OK)); in GetProvider()
|
/external/chromium_org/net/socket_stream/ |
D | socket_stream_unittest.cc | 971 MockConnect mock_connect(ASYNC, ERR_CONNECTION_REFUSED); in TEST_F()
|