/external/webrtc/rtc_base/ |
D | async_udp_socket.cc | 27 AsyncUDPSocket* AsyncUDPSocket::Create(AsyncSocket* socket, in Create() 34 return new AsyncUDPSocket(owned_socket.release()); in Create() 37 AsyncUDPSocket* AsyncUDPSocket::Create(SocketFactory* factory, in Create() 46 AsyncUDPSocket::AsyncUDPSocket(AsyncSocket* socket) : socket_(socket) { in AsyncUDPSocket() function in rtc::AsyncUDPSocket 51 socket_->SignalReadEvent.connect(this, &AsyncUDPSocket::OnReadEvent); in AsyncUDPSocket() 52 socket_->SignalWriteEvent.connect(this, &AsyncUDPSocket::OnWriteEvent); in AsyncUDPSocket() 55 AsyncUDPSocket::~AsyncUDPSocket() { in ~AsyncUDPSocket() 59 SocketAddress AsyncUDPSocket::GetLocalAddress() const { in GetLocalAddress() 63 SocketAddress AsyncUDPSocket::GetRemoteAddress() const { in GetRemoteAddress() 67 int AsyncUDPSocket::Send(const void* pv, in Send() [all …]
|
D | async_udp_socket.h | 28 class AsyncUDPSocket : public AsyncPacketSocket { 33 static AsyncUDPSocket* Create(AsyncSocket* socket, 37 static AsyncUDPSocket* Create(SocketFactory* factory, 39 explicit AsyncUDPSocket(AsyncSocket* socket); 40 ~AsyncUDPSocket() override;
|
D | nat_server.h | 97 TransEntry(const SocketAddressPair& r, AsyncUDPSocket* s, NAT* nat); 104 AsyncUDPSocket* socket; 121 AsyncUDPSocket* udp_server_socket_;
|
D | async_udp_socket_unittest.cc | 28 udp_socket_(new AsyncUDPSocket(socket_)), in AsyncUdpSocketTest() 40 std::unique_ptr<AsyncUDPSocket> udp_socket_;
|
D | nat_server.cc | 136 udp_server_socket_ = AsyncUDPSocket::Create(internal, internal_udp_addr); in NATServer() 215 AsyncUDPSocket* socket = AsyncUDPSocket::Create(external_, external_ip_); in Translate() 234 AsyncUDPSocket* s, in TransEntry()
|
D | virtual_socket_unittest.cc | 59 socket(std::make_unique<AsyncUDPSocket>(s)), in Sender() 93 std::unique_ptr<AsyncUDPSocket> socket; 105 socket(std::make_unique<AsyncUDPSocket>(s)), in Receiver() 153 std::unique_ptr<AsyncUDPSocket> socket; 204 std::make_unique<AsyncUDPSocket>(socket), &fake_clock_); in TestDefaultRoute() 213 std::make_unique<AsyncUDPSocket>(socket2), &fake_clock_); in TestDefaultRoute() 237 std::make_unique<AsyncUDPSocket>(socket), &fake_clock_); in BasicTest() 241 std::make_unique<AsyncUDPSocket>(socket2), &fake_clock_); in BasicTest() 255 absl::WrapUnique(AsyncUDPSocket::Create(&ss_, empty)), &fake_clock_); in BasicTest() 841 std::make_unique<AsyncUDPSocket>(socket), &fake_clock_); in CrossFamilyDatagramTest() [all …]
|
D | test_client_unittest.cc | 47 TestClient client(std::make_unique<AsyncUDPSocket>(socket)); in TestUdpInternal()
|
D | socket_unittest.cc | 921 new TestClient(absl::WrapUnique(AsyncUDPSocket::Create(ss_, addr1)))); in UdpInternal() 923 new TestClient(absl::WrapUnique(AsyncUDPSocket::Create(ss_, empty)))); in UdpInternal() 936 new TestClient(absl::WrapUnique(AsyncUDPSocket::Create(ss_, empty)))); in UdpInternal() 963 new TestClient(absl::WrapUnique(AsyncUDPSocket::Create(ss_, empty)))); in UdpReadyToSend()
|
D | nat_unittest.cc | 55 absl::WrapUnique(AsyncUDPSocket::Create(factory, local_addr))); in CreateTestClient()
|
D | thread_unittest.cc | 69 : socket_(AsyncUDPSocket::Create(socket, addr)), in SocketClient() 93 AsyncUDPSocket* socket_;
|
/external/webrtc/p2p/base/ |
D | test_stun_server.cc | 22 rtc::AsyncUDPSocket* udp_socket = rtc::AsyncUDPSocket::Create(socket, addr); in Create()
|
D | stun_server.h | 32 explicit StunServer(rtc::AsyncUDPSocket* socket); 66 std::unique_ptr<rtc::AsyncUDPSocket> socket_;
|
D | stun_server_unittest.cc | 39 new StunServer(rtc::AsyncUDPSocket::Create(ss_.get(), server_addr))); in SetUp() 41 absl::WrapUnique(rtc::AsyncUDPSocket::Create(ss_.get(), client_addr)))); in SetUp()
|
D | test_stun_server.h | 34 explicit TestStunServer(rtc::AsyncUDPSocket* socket) : StunServer(socket) {} in TestStunServer()
|
D | stun_server.cc | 20 StunServer::StunServer(rtc::AsyncUDPSocket* socket) : socket_(socket) { in StunServer()
|
D | test_turn_server.h | 97 rtc::AsyncUDPSocket::Create(thread_->socketserver(), int_addr),
|
D | basic_packet_socket_factory.cc | 58 return new AsyncUDPSocket(socket); in CreateUdpSocket()
|
/external/webrtc/examples/stunserver/ |
D | stunserver_main.cc | 34 rtc::AsyncUDPSocket* server_socket = in main() 35 rtc::AsyncUDPSocket::Create(pthMain->socketserver(), server_addr); in main()
|
/external/webrtc/examples/turnserver/ |
D | turnserver_main.cc | 73 rtc::AsyncUDPSocket* int_socket = in main() 74 rtc::AsyncUDPSocket::Create(main->socketserver(), int_addr); in main()
|
/external/webrtc/examples/androidvoip/jni/ |
D | android_voip_client.h | 146 std::unique_ptr<rtc::AsyncUDPSocket> rtp_socket_; 147 std::unique_ptr<rtc::AsyncUDPSocket> rtcp_socket_;
|
D | android_voip_client.cc | 252 rtp_socket_.reset(rtc::AsyncUDPSocket::Create(voip_thread_->socketserver(), in StartSession() 261 rtcp_socket_.reset(rtc::AsyncUDPSocket::Create(voip_thread_->socketserver(), in StartSession()
|