Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
DDnsStatsTest.cpp210 std::vector<IPSockAddr> ipSockAddrs; in TEST_F() local
211 ipSockAddrs.reserve(servers.size()); in TEST_F()
213 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in TEST_F()
216 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_TCP) == isSuccess); in TEST_F()
217 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_UDP) == isSuccess); in TEST_F()
218 EXPECT_TRUE(mDnsStats.setServers(ipSockAddrs, PROTO_DOT) == isSuccess); in TEST_F()
Dres_cache.cpp1629 std::vector<IPSockAddr> ipSockAddrs; in resolv_set_nameservers() local
1630 ipSockAddrs.reserve(nameservers.size()); in resolv_set_nameservers()
1633 ipSockAddrs.push_back(IPSockAddr::toIPSockAddr(server, 53)); in resolv_set_nameservers()
1652 netconfig->nameserverSockAddrs = std::move(ipSockAddrs); in resolv_set_nameservers()