Home
last modified time | relevance | path

Searched refs:FakeUdpSocket (Results 1 – 13 of 13) sorted by relevance

/external/openscreen/platform/test/
Dfake_udp_socket.cc11 FakeUdpSocket::FakeUdpSocket(TaskRunner* task_runner, in FakeUdpSocket() function in openscreen::FakeUdpSocket
16 FakeUdpSocket::~FakeUdpSocket() = default;
18 bool FakeUdpSocket::IsIPv4() const { in IsIPv4()
22 bool FakeUdpSocket::IsIPv6() const { in IsIPv6()
26 IPEndpoint FakeUdpSocket::GetLocalEndpoint() const { in GetLocalEndpoint()
30 void FakeUdpSocket::Bind() { in Bind()
35 void FakeUdpSocket::SetMulticastOutboundInterface( in SetMulticastOutboundInterface()
42 void FakeUdpSocket::JoinMulticastGroup(const IPAddress& address, in JoinMulticastGroup()
49 void FakeUdpSocket::SetDscp(DscpMode mode) { in SetDscp()
54 void FakeUdpSocket::MockReceivePacket(UdpPacket packet) { in MockReceivePacket()
[all …]
Dfake_udp_socket.h20 class FakeUdpSocket : public UdpSocket {
34 explicit FakeUdpSocket(TaskRunner* task_runner = nullptr,
37 ~FakeUdpSocket() override;
/external/openscreen/platform/api/
Dsocket_integration_unittest.cc22 testing::StrictMock<FakeUdpSocket::MockClient> client; in TEST()
40 testing::StrictMock<FakeUdpSocket::MockClient> client; in TEST()
/external/openscreen/osp/impl/quic/testing/
Dquic_test_support.h83 std::unique_ptr<FakeUdpSocket> client_socket_;
84 std::unique_ptr<FakeUdpSocket> server_socket_;
Dquic_test_support.cc31 std::make_unique<FakeUdpSocket>(task_runner_, fake_client_factory.get()); in FakeQuicBridge()
40 std::make_unique<FakeUdpSocket>(task_runner_, fake_server_factory.get()); in FakeQuicBridge()
/external/openscreen/discovery/mdns/
Dmdns_receiver_unittest.cc48 FakeUdpSocket socket; in TEST()
103 FakeUdpSocket socket; in TEST()
Dmdns_sender_unittest.cc156 FakeUdpSocket::MockClient socket_client; in TEST_F()
157 FakeUdpSocket socket(nullptr, &socket_client); in TEST_F()
Dmdns_probe_unittest.cc80 FakeUdpSocket socket_;
Dmdns_probe_manager_unittest.cc176 FakeUdpSocket socket_;
Dmdns_trackers_unittest.cc178 FakeUdpSocket socket_;
Dmdns_publisher_unittest.cc231 FakeUdpSocket socket_;
Dmdns_responder_unittest.cc214 FakeUdpSocket socket_;
/external/openscreen/platform/impl/
Dudp_socket_reader_posix_unittest.cc110 FakeUdpSocket::MockClient client; in TEST()
121 FakeUdpSocket::MockClient client; in TEST()