Lines Matching refs:servers
59 std::vector<std::string> servers; member
205 return resolv_set_nameservers(netId, setup.servers, setup.domains, setup.params, in cacheSetupResolver()
218 sockaddr_storage servers[MAXNS]; in expectCacheStats() local
224 android_net_res_stats_get_info_for_net(netId, &nscount, servers, &dcount, domains, ¶ms, in expectCacheStats()
228 EXPECT_EQ(nscount, static_cast<int>(expected.setup.servers.size())) << msg; in expectCacheStats()
230 EXPECT_EQ(addrToString(&servers[i]), expected.setup.servers[i]) << msg; in expectCacheStats()
625 .servers = {"127.0.0.1", "::127.0.0.2", "fe80::3"}, in TEST_F()
649 .servers = {}, in TEST_F()
657 setup.servers = {"127.0.0.1", server, "127.0.0.2"}; in TEST_F()
667 const std::vector<std::string> servers = {"127.0.0.1", "fe80::1"}; in TEST_F() local
672 .servers = servers, in TEST_F()
699 const std::vector<std::string> servers = {"127.0.0.1", "::127.0.0.2", "fe80::1", "fe80::2", in TEST_F() local
704 .servers = servers, in TEST_F()
713 .setup = {.servers = std::vector(servers.begin(), servers.begin() + MAXNS), in TEST_F()
725 .servers = {"127.0.0.1", "::127.0.0.2", "fe80::3"}, in TEST_F()
744 .servers = {"127.0.0.1", "::127.0.0.2", "fe80::3"}, in TEST_F()
753 ASSERT_TRUE(inet_pton(AF_INET, setup.servers[0].c_str(), &sin.sin_addr)); in TEST_F()
866 .servers = {"127.0.0.1", "::127.0.0.2", "fe80::3"}, in TEST_F()