/external/cronet/net/http/ |
D | http_network_transaction_unittest.cc | 518 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 …]
|
D | http_stream_factory_unittest.cc | 743 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 …]
|
D | http_stream_factory_job_controller_unittest.cc | 255 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 …]
|
D | http_stream_request_unittest.cc | 32 session_deps.socket_factory->AddSocketDataProvider(&data); in TEST() 33 session_deps.socket_factory->AddSSLSocketDataProvider(ssl_data.get()); in TEST()
|
D | http_proxy_connect_job_unittest.cc | 208 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/ |
D | connection_context.cc | 135 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/ |
D | udp_server.cc | 169 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/ |
D | udp_server.cc | 171 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/ |
D | stun_prober_unittest.cc | 56 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/ |
D | spdy_session_pool_unittest.cc | 78 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 …]
|
D | spdy_session_unittest.cc | 219 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 …]
|
D | spdy_session_fuzzer.cc | 116 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()
|
D | spdy_stream_unittest.cc | 140 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/ |
D | owned_factory_and_threads.cc | 19 std::unique_ptr<rtc::SocketFactory> socket_factory, in OwnedFactoryAndThreads() argument 24 : socket_factory_(std::move(socket_factory)), in OwnedFactoryAndThreads()
|
D | owned_factory_and_threads.h | 33 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/ |
D | peer_connection_factory.cc | 24 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/ |
D | mock_dns_resolving_packet_socket_factory.h | 29 explicit MockDnsResolvingPacketSocketFactory(SocketFactory* socket_factory) in MockDnsResolvingPacketSocketFactory() argument 30 : BasicPacketSocketFactory(socket_factory) {} in MockDnsResolvingPacketSocketFactory()
|
D | test_turn_server.h | 57 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/ |
D | udp_server_test.cc | 238 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/ |
D | connect_server_backend.cc | 64 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/ |
D | socket_unittest.h | 25 explicit SocketTest(rtc::SocketFactory* socket_factory) in SocketTest() argument 28 socket_factory_(socket_factory) {} in SocketTest()
|
/external/webrtc/p2p/client/ |
D | basic_port_allocator.h | 40 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
|
D | basic_port_allocator.cc | 181 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/ |
D | main.cc | 130 auto socket_factory = in main() local 135 auto prober = std::make_unique<StunProber>(socket_factory.get(), in main()
|
/external/cronet/net/dns/ |
D | mdns_client_impl.cc | 141 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()
|