Home
last modified time | relevance | path

Searched refs:bound_interfaces_ (Results 1 – 4 of 4) sorted by relevance

/external/openscreen/osp/impl/testing/
Dfake_mdns_platform_service_unittest.cc28 std::vector<MdnsPlatformService::BoundInterface> bound_interfaces_{ member in openscreen::osp::__anone27d22300111::FakeMdnsPlatformServiceTest
50 bound_interfaces_[0]}; in TEST_F()
68 bound_interfaces_[1]}; in TEST_F()
79 platform_service.set_interfaces(bound_interfaces_); in TEST_F()
83 (std::vector<MdnsPlatformService::BoundInterface>{bound_interfaces_[0]}), in TEST_F()
89 (std::vector<MdnsPlatformService::BoundInterface>{bound_interfaces_[1]}), in TEST_F()
94 EXPECT_EQ(bound_interfaces_, both); in TEST_F()
100 platform_service.set_interfaces(bound_interfaces_); in TEST_F()
104 bound_interfaces_[0]}; in TEST_F()
106 bound_interfaces_[1]}; in TEST_F()
/external/openscreen/osp/impl/
Dmdns_responder_service.cc304 if (bound_interfaces_.empty()) { in StartListening()
306 bound_interfaces_ = platform_->RegisterInterfaces({}); in StartListening()
307 for (auto& interface : bound_interfaces_) { in StartListening()
315 for (const auto& interface : bound_interfaces_) { in StartListening()
339 for (const auto& interface : bound_interfaces_) { in StopListening()
348 if (!bound_interfaces_.empty() && !interface_index_allowlist_.empty()) { in StartService()
354 for (auto it = bound_interfaces_.begin(); it != bound_interfaces_.end();) { in StartService()
361 it = bound_interfaces_.erase(it); in StartService()
367 } else if (bound_interfaces_.empty()) { in StartService()
370 bound_interfaces_ = in StartService()
[all …]
Dmdns_responder_service_unittest.cc193 fake_platform_service_->set_interfaces(bound_interfaces_); in SetUp()
220 std::vector<MdnsPlatformService::BoundInterface> bound_interfaces_{ member in openscreen::osp::__anon5d16bb1a0111::MdnsResponderServiceTest
290 bound_interfaces_.emplace_back( in TEST_F()
293 fake_platform_service_->set_interfaces(bound_interfaces_); in TEST_F()
Dmdns_responder_service.h179 std::vector<MdnsPlatformService::BoundInterface> bound_interfaces_; variable