Home
last modified time | relevance | path

Searched refs:CreateAsyncSocket (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/rtc_base/
Dsocket_unittest.cc237 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
244 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternal()
292 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
297 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupInternal()
340 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
345 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectFailInternal()
373 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
378 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithDnsLookupFailInternal()
411 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
417 ss_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectWithClosedSocketInternal()
[all …]
Dvirtual_socket_unittest.cc199 ss_.CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
208 ss_.CreateAsyncSocket(default_route.family(), SOCK_DGRAM); in TestDefaultRoute()
230 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_DGRAM); in BasicTest()
239 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_DGRAM); in BasicTest()
281 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in ConnectTest()
288 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in ConnectTest()
350 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in ConnectToNonListenerTest()
355 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in ConnectToNonListenerTest()
384 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in CloseDuringConnectTest()
387 ss_.CreateAsyncSocket(initial_addr.family(), SOCK_STREAM)); in CloseDuringConnectTest()
[all …]
Dphysical_socket_server_unittest.cc66 AsyncSocket* CreateAsyncSocket(int family, int type) override { in CreateAsyncSocket() function in rtc::FakePhysicalSocketServer
202 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
208 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
215 server_->CreateAsyncSocket(loopback.family(), SOCK_STREAM)); in ConnectInternalAcceptError()
472 server_->CreateAsyncSocket(AF_INET, SOCK_DGRAM)); in TEST_F()
484 server_->CreateAsyncSocket(AF_INET, SOCK_DGRAM)); in TEST_F()
498 server_->CreateAsyncSocket(AF_INET, SOCK_DGRAM)); in TEST_F()
Dtest_client_unittest.cc44 main->socketserver()->CreateAsyncSocket(loopback.family(), SOCK_DGRAM); in TestUdpInternal()
60 main->socketserver()->CreateAsyncSocket(loopback.family(), SOCK_STREAM); in TestTcpInternal()
Dnat_socket_factory.cc342 AsyncSocket* NATSocketFactory::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::NATSocketFactory
356 return factory_->CreateAsyncSocket(family, type); in CreateInternalSocket()
387 AsyncSocket* NATSocketServer::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::NATSocketServer
412 socket = nat->internal_factory()->CreateAsyncSocket(family, type); in CreateInternalSocket()
416 socket = server_->CreateAsyncSocket(family, type); in CreateInternalSocket()
Dnat_socket_factory.h56 AsyncSocket* CreateAsyncSocket(int family, int type) override;
151 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dfirewall_socket_server.cc206 return WrapSocket(server_->CreateAsyncSocket(family, type), type); in CreateSocket()
209 AsyncSocket* FirewallSocketServer::CreateAsyncSocket(int family, int type) { in CreateAsyncSocket() function in rtc::FirewallSocketServer
210 return WrapSocket(server_->CreateAsyncSocket(family, type), type); in CreateAsyncSocket()
Dsocket_factory.h28 virtual AsyncSocket* CreateAsyncSocket(int family, int type) = 0;
Dproxy_server.cc30 int_factory->CreateAsyncSocket(int_addr.family(), SOCK_STREAM)) { in ProxyServer()
50 ext_factory_->CreateAsyncSocket(ext_ip_.family(), SOCK_STREAM); in OnAcceptEvent()
Dnat_unittest.cc205 pss->CreateAsyncSocket(src.family(), SOCK_DGRAM)); in TestConnectivity()
207 pss->CreateAsyncSocket(src.family(), SOCK_DGRAM)); in TestConnectivity()
376 server_.reset(ext_vss_->CreateAsyncSocket(AF_INET, SOCK_STREAM)); in TEST_F()
380 client_.reset(natsf_->CreateAsyncSocket(AF_INET, SOCK_STREAM)); in TEST_F()
Dnull_socket_server.cc37 rtc::AsyncSocket* NullSocketServer::CreateAsyncSocket(int /* family */, in CreateAsyncSocket() function in rtc::NullSocketServer
Dnull_socket_server.h31 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dtest_echo_server.cc18 : server_socket_(thread->socketserver()->CreateAsyncSocket(addr.family(), in TestEchoServer()
Dasync_tcp_socket_unittest.cc25 socket_(vss_->CreateAsyncSocket(SOCK_STREAM)), in AsyncTCPSocketTest()
Dasync_udp_socket_unittest.cc27 socket_(vss_->CreateAsyncSocket(SOCK_DGRAM)), in AsyncUdpSocketTest()
Dproxy_unittest.cc47 ss()->CreateAsyncSocket(kSocksProxyIntAddr.family(), SOCK_STREAM); in TEST_F()
Dfirewall_socket_server.h81 AsyncSocket* CreateAsyncSocket(int family, int type) override;
Dwin32_socket_server.h103 AsyncSocket* CreateAsyncSocket(int family, int type) override;
/external/webrtc/p2p/base/
Dbasic_packet_socket_factory.cc49 socket_factory()->CreateAsyncSocket(address.family(), SOCK_DGRAM); in CreateUdpSocket()
73 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateServerTcpSocket()
107 socket_factory()->CreateAsyncSocket(local_address.family(), SOCK_STREAM); in CreateClientTcpSocket()
Dtest_stun_server.cc21 thread->socketserver()->CreateAsyncSocket(addr.family(), SOCK_DGRAM); in Create()
Dasync_stun_tcp_socket_unittest.cc71 vss_->CreateAsyncSocket(kServerAddr.family(), SOCK_STREAM); in CreateSockets()
78 vss_->CreateAsyncSocket(kClientAddr.family(), SOCK_STREAM); in CreateSockets()
/external/webrtc/test/network/
Dnetwork_emulation_unittest.cc211 auto* s1 = t1->socketserver()->CreateAsyncSocket(AF_INET, SOCK_DGRAM); in TEST()
212 auto* s2 = t2->socketserver()->CreateAsyncSocket(AF_INET, SOCK_DGRAM); in TEST()
335 auto* s1 = t1->socketserver()->CreateAsyncSocket(AF_INET, SOCK_DGRAM); in TEST()
336 auto* s2 = t2->socketserver()->CreateAsyncSocket(AF_INET, SOCK_DGRAM); in TEST()
Dfake_network_socket_server.h40 rtc::AsyncSocket* CreateAsyncSocket(int family, int type) override;
/external/webrtc/test/
Drun_loop.cc64 rtc::AsyncSocket* RunLoop::FakeSocketServer::CreateAsyncSocket(int family, in CreateAsyncSocket() function in webrtc::test::RunLoop::FakeSocketServer
Drun_loop.h59 rtc::AsyncSocket* CreateAsyncSocket(int family, int type) override;

12