Home
last modified time | relevance | path

Searched refs:FakeNetworkSocket (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/test/network/
Dfake_network_socket_server.cc33 class FakeNetworkSocket : public rtc::AsyncSocket, class
36 explicit FakeNetworkSocket(FakeNetworkSocketServer* scoket_manager,
38 ~FakeNetworkSocket() override;
80 FakeNetworkSocket::FakeNetworkSocket(FakeNetworkSocketServer* socket_server, in FakeNetworkSocket() function in webrtc::test::FakeNetworkSocket
87 FakeNetworkSocket::~FakeNetworkSocket() { in ~FakeNetworkSocket()
92 void FakeNetworkSocket::OnPacketReceived(EmulatedIpPacket packet) { in OnPacketReceived()
111 rtc::SocketAddress FakeNetworkSocket::GetLocalAddress() const { in GetLocalAddress()
116 rtc::SocketAddress FakeNetworkSocket::GetRemoteAddress() const { in GetRemoteAddress()
121 int FakeNetworkSocket::Bind(const rtc::SocketAddress& addr) { in Bind()
145 int FakeNetworkSocket::Connect(const rtc::SocketAddress& addr) { in Connect()
[all …]
Dfake_network_socket_server.h28 class FakeNetworkSocket; variable
50 friend class FakeNetworkSocket;
52 void Unregister(FakeNetworkSocket* socket);
62 std::vector<FakeNetworkSocket*> sockets_ RTC_GUARDED_BY(lock_);