Home
last modified time | relevance | path

Searched refs:mdns_responder (Results 1 – 8 of 8) sorted by relevance

/external/openscreen/osp/impl/testing/
Dfake_mdns_responder_adapter_unittest.cc26 FakeMdnsResponderAdapter mdns_responder; in TEST() local
28 mdns_responder.Init(); in TEST()
29 ASSERT_TRUE(mdns_responder.running()); in TEST()
32 mdns_responder.AddAEvent(std::move(event)); in TEST()
34 auto a_events = mdns_responder.TakeAResponses(); in TEST()
37 auto result = mdns_responder.StartAQuery(kDefaultSocket, domain_name); in TEST()
40 a_events = mdns_responder.TakeAResponses(); in TEST()
45 result = mdns_responder.StopAQuery(kDefaultSocket, domain_name); in TEST()
48 mdns_responder.Close(); in TEST()
49 ASSERT_FALSE(mdns_responder.running()); in TEST()
[all …]
Dfake_mdns_responder_adapter.cc95 void AddEventsForNewService(FakeMdnsResponderAdapter* mdns_responder, in AddEventsForNewService() argument
104 mdns_responder->AddPtrEvent( in AddEventsForNewService()
106 mdns_responder->AddSrvEvent(MakeSrvEvent(service_instance, service_name, in AddEventsForNewService()
109 mdns_responder->AddTxtEvent(MakeTxtEvent( in AddEventsForNewService()
111 mdns_responder->AddAEvent(MakeAEvent(hostname, address, socket)); in AddEventsForNewService()
Dfake_mdns_responder_adapter.h46 void AddEventsForNewService(FakeMdnsResponderAdapter* mdns_responder,
/external/openscreen/osp/impl/
Dmdns_responder_service_unittest.cc244 auto* mdns_responder = mdns_responder_factory_->last_mdns_responder(); in TEST_F() local
245 ASSERT_TRUE(mdns_responder); in TEST_F()
246 ASSERT_TRUE(mdns_responder->running()); in TEST_F()
248 AddEventsForNewService(mdns_responder, kTestServiceInstance, kTestServiceName, in TEST_F()
263 mdns_responder->AddAEvent(MakeAEvent( in TEST_F()
278 mdns_responder->AddPtrEvent(std::move(ptr_remove)); in TEST_F()
297 auto* mdns_responder = mdns_responder_factory_->last_mdns_responder(); in TEST_F() local
298 ASSERT_TRUE(mdns_responder); in TEST_F()
299 ASSERT_TRUE(mdns_responder->running()); in TEST_F()
301 AddEventsForNewService(mdns_responder, kTestServiceInstance, kTestServiceName, in TEST_F()
[all …]
/external/webrtc/rtc_base/
Dfake_network.h94 std::unique_ptr<webrtc::MdnsResponderInterface> mdns_responder) { in set_mdns_responder() argument
95 mdns_responder_ = std::move(mdns_responder); in set_mdns_responder()
/external/openscreen/discovery/
DBUILD.gn40 "mdns/mdns_responder.cc",
41 "mdns/mdns_responder.h",
/external/openscreen/
DAndroid.bp95 "discovery/mdns/mdns_responder.cc",
/external/webrtc/pc/
Dpeer_connection_integrationtest.cc583 std::unique_ptr<webrtc::FakeMdnsResponder> mdns_responder) { in SetMdnsResponder() argument
584 RTC_DCHECK(mdns_responder != nullptr); in SetMdnsResponder()
585 mdns_responder_ = mdns_responder.get(); in SetMdnsResponder()
586 network_manager()->set_mdns_responder(std::move(mdns_responder)); in SetMdnsResponder()