Home
last modified time | relevance | path

Searched refs:socket_factory (Results 1 – 25 of 79) sorted by relevance

1234

/external/cronet/net/http/
Dhttp_network_transaction_unittest.cc518 session_deps_.socket_factory->AddSocketDataProvider(provider); in SimpleGetHelperForData()
601 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_); in AddSSLSocketData()
862 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
891 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
974 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
1003 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
1045 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
1079 session_deps_.socket_factory->AddSocketDataProvider(&data1); in TEST_F()
1087 session_deps_.socket_factory->AddSocketDataProvider(&data2); in TEST_F()
1124 session_deps_.socket_factory->AddSocketDataProvider(&data1); in TEST_F()
[all …]
Dhttp_stream_factory_unittest.cc743 session_deps.socket_factory->AddSocketDataProvider(&socket_data1); in TEST_F()
748 session_deps.socket_factory->AddSocketDataProvider(&socket_data2); in TEST_F()
801 session_deps.socket_factory->AddSocketDataProvider(&socket_data1); in TEST_F()
866 MockClientSocketFactory socket_factory; in TEST_F() local
867 session_context.client_socket_factory = &socket_factory; in TEST_F()
893 socket_factory.AddSocketDataProvider(&socket_data1); in TEST_F()
898 socket_factory.AddSocketDataProvider(&socket_data2); in TEST_F()
1091 session_deps.socket_factory->AddSocketDataProvider(&socket_data_1); in TEST_F()
1094 session_deps.socket_factory->AddSocketDataProvider(&socket_data_2); in TEST_F()
1097 session_deps.socket_factory->AddSocketDataProvider(&socket_data_3); in TEST_F()
[all …]
Dhttp_stream_factory_job_controller_unittest.cc255 quic_data_->AddSocketDataToFactory(session_deps_.socket_factory.get()); in Initialize()
257 quic_data2_->AddSocketDataToFactory(session_deps_.socket_factory.get()); in Initialize()
259 session_deps_.socket_factory->AddSocketDataProvider(tcp_data_.get()); in Initialize()
261 session_deps_.socket_factory->AddSocketDataProvider(tcp_data2_.get()); in Initialize()
678 session_deps_.socket_factory->AddSocketDataProvider( in TEST_F()
680 session_deps_.socket_factory->AddSocketDataProvider( in TEST_F()
689 session_deps_.socket_factory->AddSocketDataProvider( in TEST_F()
692 session_deps_.socket_factory->AddSSLSocketDataProvider( in TEST_F()
701 session_deps_.socket_factory->AddSocketDataProvider( in TEST_F()
704 session_deps_.socket_factory->AddSSLSocketDataProvider( in TEST_F()
[all …]
Dhttp_stream_request_unittest.cc32 session_deps.socket_factory->AddSocketDataProvider(&data); in TEST()
33 session_deps.socket_factory->AddSSLSocketDataProvider(ssl_data.get()); in TEST()
Dhttp_proxy_connect_job_unittest.cc208 session_deps_.socket_factory->AddSocketDataProvider(data_.get()); in Initialize()
218 session_deps_.socket_factory->AddSSLSocketDataProvider(ssl_data_.get()); in Initialize()
318 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_P()
330 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_data); in TEST_P()
334 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_data); in TEST_P()
426 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_data); in TEST_P()
431 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_data); in TEST_P()
435 session_deps_.socket_factory->AddSocketDataProvider(sequenced_data); in TEST_P()
922 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_data); in TEST_P()
935 session_deps_.socket_factory->AddSocketDataProvider(sequenced_data); in TEST_P()
[all …]
/external/webrtc/pc/
Dconnection_context.cc135 rtc::SocketFactory* socket_factory = dependencies->socket_factory; local
136 if (socket_factory == nullptr) {
138 socket_factory = owned_socket_factory_.get();
145 socket_factory = network_thread()->socketserver();
152 network_monitor_factory_.get(), socket_factory, &field_trials());
156 std::make_unique<rtc::BasicPacketSocketFactory>(socket_factory);
/external/grpc-grpc/src/core/lib/iomgr/
Dudp_server.cc169 grpc_socket_factory* socket_factory; member
213 s->socket_factory = get_socket_factory(args); in grpc_udp_server_create()
214 if (s->socket_factory) { in grpc_udp_server_create()
215 grpc_socket_factory_ref(s->socket_factory); in grpc_udp_server_create()
256 if (s->socket_factory) { in finish_shutdown()
257 grpc_socket_factory_unref(s->socket_factory); in finish_shutdown()
346 static int bind_socket(grpc_socket_factory* socket_factory, int sockfd, in bind_socket() argument
348 return (socket_factory != nullptr) in bind_socket()
349 ? grpc_socket_factory_bind(socket_factory, sockfd, addr) in bind_socket()
357 static int prepare_socket(grpc_socket_factory* socket_factory, int fd, in prepare_socket() argument
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dudp_server.cc171 grpc_socket_factory* socket_factory; member
214 s->socket_factory = get_socket_factory(args); in grpc_udp_server_create()
215 if (s->socket_factory) { in grpc_udp_server_create()
216 grpc_socket_factory_ref(s->socket_factory); in grpc_udp_server_create()
258 if (s->socket_factory) { in finish_shutdown()
259 grpc_socket_factory_unref(s->socket_factory); in finish_shutdown()
348 static int bind_socket(grpc_socket_factory* socket_factory, int sockfd, in bind_socket() argument
350 return (socket_factory != nullptr) in bind_socket()
351 ? grpc_socket_factory_bind(socket_factory, sockfd, addr) in bind_socket()
359 static int prepare_socket(grpc_socket_factory* socket_factory, int fd, in prepare_socket() argument
[all …]
/external/webrtc/p2p/stunprober/
Dstun_prober_unittest.cc56 void StartProbing(rtc::PacketSocketFactory* socket_factory, in StartProbing() argument
63 socket_factory, rtc::Thread::Current(), std::move(networks)); in StartProbing()
85 auto socket_factory = in RunProber() local
98 StartProbing(socket_factory.get(), addrs, std::move(networks), shared_mode, in RunProber()
/external/cronet/net/spdy/
Dspdy_session_pool_unittest.cc78 session_deps_.socket_factory->AddSSLSocketDataProvider(ssl.get()); in AddSSLSocketData()
240 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
243 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl); in TEST_F()
279 session_deps_.socket_factory->AddSocketDataProvider(&data1); in TEST_F()
302 session_deps_.socket_factory->AddSocketDataProvider(&data2); in TEST_F()
318 session_deps_.socket_factory->AddSocketDataProvider(&data3); in TEST_F()
411 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
414 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl); in TEST_F()
463 session_deps_.socket_factory->AddSocketDataProvider(&data_);
464 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_);
[all …]
Dspdy_session_unittest.cc219 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_); in AddSSLSocketData()
405 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
456 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
503 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
526 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
555 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
624 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
684 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
752 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
840 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
[all …]
Dspdy_session_fuzzer.cc116 net::FuzzedSocketFactoryWithMockSSLData socket_factory(&data_provider); in LLVMFuzzerTestOneInput() local
117 socket_factory.set_fuzz_connect_result(false); in LLVMFuzzerTestOneInput()
122 socket_factory.AddSSLSocketDataProvider(&ssl_provider); in LLVMFuzzerTestOneInput()
127 &deps, &socket_factory)); in LLVMFuzzerTestOneInput()
Dspdy_stream_unittest.cc140 session_deps_.socket_factory->AddSSLSocketDataProvider(&ssl_); in AddSSLSocketData()
190 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
240 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
315 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
370 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
437 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
487 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
535 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
588 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
651 session_deps_.socket_factory->AddSocketDataProvider(&data); in TEST_F()
[all …]
/external/webrtc/sdk/android/src/jni/pc/
Downed_factory_and_threads.cc19 std::unique_ptr<rtc::SocketFactory> socket_factory, in OwnedFactoryAndThreads() argument
24 : socket_factory_(std::move(socket_factory)), in OwnedFactoryAndThreads()
Downed_factory_and_threads.h33 std::unique_ptr<rtc::SocketFactory> socket_factory,
42 rtc::SocketFactory* socket_factory() { return socket_factory_.get(); } in socket_factory() function
/external/webrtc/sdk/android/native_api/peerconnection/
Dpeer_connection_factory.cc24 std::unique_ptr<rtc::SocketFactory> socket_factory, in NativeToJavaPeerConnectionFactory() argument
29 jni, pcf, std::move(socket_factory), std::move(network_thread), in NativeToJavaPeerConnectionFactory()
/external/webrtc/p2p/base/
Dmock_dns_resolving_packet_socket_factory.h29 explicit MockDnsResolvingPacketSocketFactory(SocketFactory* socket_factory) in MockDnsResolvingPacketSocketFactory() argument
30 : BasicPacketSocketFactory(socket_factory) {} in MockDnsResolvingPacketSocketFactory()
Dtest_turn_server.h57 rtc::SocketFactory* socket_factory,
63 : server_(thread), socket_factory_(socket_factory) { in server_()
66 new rtc::BasicPacketSocketFactory(socket_factory), udp_ext_addr); in server_()
/external/grpc-grpc/test/core/iomgr/
Dudp_server_test.cc238 test_socket_factory* socket_factory = test_socket_factory_create(); in test_no_op_with_port_and_socket_factory() local
240 grpc_socket_factory_to_arg(&socket_factory->base); in test_no_op_with_port_and_socket_factory()
254 GPR_ASSERT(socket_factory->number_of_socket_calls == g_num_listeners); in test_no_op_with_port_and_socket_factory()
255 GPR_ASSERT(socket_factory->number_of_bind_calls == g_num_listeners); in test_no_op_with_port_and_socket_factory()
259 grpc_socket_factory_unref(&socket_factory->base); in test_no_op_with_port_and_socket_factory()
/external/cronet/net/third_party/quiche/src/quiche/quic/tools/
Dconnect_server_backend.cc64 void ConnectServerBackend::SetSocketFactory(SocketFactory* socket_factory) { in SetSocketFactory() argument
65 QUICHE_DCHECK_NE(socket_factory_, socket_factory); in SetSocketFactory()
68 socket_factory_ = socket_factory; in SetSocketFactory()
/external/webrtc/rtc_base/
Dsocket_unittest.h25 explicit SocketTest(rtc::SocketFactory* socket_factory) in SocketTest() argument
28 socket_factory_(socket_factory) {} in SocketTest()
/external/webrtc/p2p/client/
Dbasic_port_allocator.h40 rtc::PacketSocketFactory* socket_factory,
54 rtc::PacketSocketFactory* socket_factory,
70 rtc::PacketSocketFactory* socket_factory() { in socket_factory() function
143 rtc::PacketSocketFactory* socket_factory() { return socket_factory_; } in socket_factory() function
Dbasic_port_allocator.cc181 rtc::PacketSocketFactory* socket_factory, in BasicPortAllocator() argument
187 socket_factory_(socket_factory) { in BasicPortAllocator()
227 rtc::PacketSocketFactory* socket_factory, in BasicPortAllocator() argument
232 socket_factory_(socket_factory) { in BasicPortAllocator()
333 socket_factory_(allocator->socket_factory()), in BasicPortAllocatorSession()
1372 udp_socket_.reset(session_->socket_factory()->CreateUdpSocket( in Init()
1545 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts()
1552 session_->network_thread(), session_->socket_factory(), network_, in CreateUDPPorts()
1591 session_->network_thread(), session_->socket_factory(), network_, in CreateTCPPorts()
1621 session_->network_thread(), session_->socket_factory(), network_, in CreateStunPorts()
[all …]
/external/webrtc/examples/stunprober/
Dmain.cc130 auto socket_factory = in main() local
135 auto prober = std::make_unique<StunProber>(socket_factory.get(), in main()
/external/cronet/net/dns/
Dmdns_client_impl.cc141 int MDnsConnection::Init(MDnsSocketFactory* socket_factory) { in Init() argument
143 socket_factory->CreateSockets(&sockets); in Init()
217 int MDnsClientImpl::Core::Init(MDnsSocketFactory* socket_factory) { in Init() argument
219 return connection_->Init(socket_factory); in Init()
457 int MDnsClientImpl::StartListening(MDnsSocketFactory* socket_factory) { in StartListening() argument
460 int rv = core_->Init(socket_factory); in StartListening()

1234