Lines Matching refs:ScopedNetwork
7045 class ScopedNetwork { class in ResolverMultinetworkTest
7047 ScopedNetwork(unsigned netId, ConnectivityType type, INetd* netdSrv, in ScopedNetwork() function in ResolverMultinetworkTest::ScopedNetwork
7056 virtual ~ScopedNetwork() { in ~ScopedNetwork()
7118 class ScopedPhysicalNetwork : public ScopedNetwork {
7121 : ScopedNetwork(netId, ConnectivityType::V4V6, nullptr, nullptr, networkName) {} in ScopedPhysicalNetwork()
7124 : ScopedNetwork(netId, type, netdSrv, dnsResolvSrv, name) {} in ScopedPhysicalNetwork()
7148 class ScopedVirtualNetwork : public ScopedNetwork {
7152 : ScopedNetwork(netId, type, netdSrv, dnsResolvSrv, name), mIsSecure(isSecure) { in ScopedVirtualNetwork()
7247 Result<std::shared_ptr<test::DNSResponder>> setupDns(ConnectivityType type, ScopedNetwork* nw,
7283 Result<void> ResolverMultinetworkTest::ScopedNetwork::init() { in init()
7335 ConnectivityType type, ScopedNetwork* nw, const char* host_name, const char* ipv4_addr, in setupDns()
7349 Result<ResolverMultinetworkTest::DnsServerPair> ResolverMultinetworkTest::ScopedNetwork::addDns( in addDns()
7355 std::bind((type == ConnectivityType::V4) ? &ScopedNetwork::makeIpv4AddrString in addDns()
7356 : &ScopedNetwork::makeIpv6AddrString, in addDns()
7379 bool ResolverMultinetworkTest::ScopedNetwork::setDnsConfiguration() const { in setDnsConfiguration()
7392 bool ResolverMultinetworkTest::ScopedNetwork::clearDnsConfiguration() const { in clearDnsConfiguration()
7610 ScopedNetwork* selectedNetwork; in TEST_F()
7633 std::vector<ScopedNetwork*> nwVec{&defaultNetwork, &underlyingNetwork, in TEST_F()
7742 ScopedNetwork* selectedNetwork; in TEST_F()
7998 const ScopedNetwork& selectedNetwork; in TEST_F()