• Home
  • Raw
  • Download

Lines Matching refs:servers

110     bool GetResolverInfo(std::vector<std::string>* servers, std::vector<std::string>* domains,  in GetResolverInfo()  argument
119 TEST_NETID, servers, domains, tlsServers, &params32, &stats32, in GetResolverInfo()
234 std::vector<std::string> servers; in RunGetAddrInfoStressTest_Binder() local
237 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest_Binder()
239 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in RunGetAddrInfoStressTest_Binder()
519 std::vector<std::string> servers; in TEST_F() local
522 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(4, mappings, &dns, &servers)); in TEST_F()
526 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in TEST_F()
549 EXPECT_EQ(servers.size(), res_servers.size()); in TEST_F()
561 EXPECT_EQ(servers.size(), res_stats.size()); in TEST_F()
563 EXPECT_THAT(res_servers, testing::UnorderedElementsAreArray(servers)); in TEST_F()
859 std::vector<std::string> servers = { listen_addr0, listen_addr1 }; in TEST_F() local
863 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, kDefaultSearchDomains, params)); in TEST_F()
940 const std::vector<std::string> servers = { listen_addr0, listen_addr1, listen_addr2 }; in TEST_F() local
943 thread = std::thread([this, &servers]() { in TEST_F()
947 for (const auto& server : servers) { in TEST_F()
952 if (serverSubset.empty()) serverSubset = servers; in TEST_F()
995 std::vector<std::string> servers; in TEST_F() local
997 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F()
1025 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1034 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F()
1045 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F()
1066 static void setupTlsServers(const std::vector<std::string>& servers, in setupTlsServers() argument
1072 for (const auto& server : servers) { in setupTlsServers()
1085 std::vector<std::string> servers; in TEST_F() local
1093 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS + 1, mappings, &dns, &servers)); in TEST_F()
1094 ASSERT_NO_FATAL_FAILURE(setupTlsServers(servers, &tls, &fingerprints)); in TEST_F()
1096 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, domains, kDefaultParams, "", fingerprints)); in TEST_F()
1121 EXPECT_TRUE(std::equal(servers.begin(), servers.begin() + MAXNS, res_servers.begin())); in TEST_F()
1122 EXPECT_TRUE(std::equal(servers.begin(), servers.begin() + MAXNS, res_tls_servers.begin())); in TEST_F()
1146 std::vector<std::string> servers = {listen_addr1, listen_addr2, listen_addr3}; in TEST_F() local
1147 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
1178 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1183 mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", {})); in TEST_F()
1207 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1224 mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", {})); in TEST_F()
1270 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1275 mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", {})); in TEST_F()
1320 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1325 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, in TEST_F()
1356 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1362 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", in TEST_F()
1386 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1393 servers, kDefaultSearchDomains, kDefaultParams, "", in TEST_F()
1425 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1429 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", in TEST_F()
1478 std::vector<std::string> servers = { listen_addr1, listen_addr2 }; in TEST_F() local
1485 servers, kDefaultSearchDomains, kDefaultParams, "", in TEST_F()
1517 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
1528 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1532 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, in TEST_F()
1558 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
1562 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", in TEST_F()
1603 const std::vector<std::string> servers = { cleartext_addr }; in TEST_F() local
1654 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, kDefaultSearchDomains, in TEST_F()
1657 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, in TEST_F()
1666 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, in TEST_F()
1729 const std::vector<std::string> servers = { cleartext_addr }; in TEST_F() local
1739 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, {}, in TEST_F()
1838 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
1839 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
1886 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
1887 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
1929 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
1930 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
1990 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
1991 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2055 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2056 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2236 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2237 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2317 const std::vector<std::string> servers = { CLEARTEXT_ADDR }; in TEST_F() local
2389 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2391 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, in TEST_F()
2395 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, in TEST_F()
2401 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, in TEST_F()
2454 const std::vector<std::string> servers = {CLEARTEXT_ADDR}; in TEST_F() local
2462 mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", {})); in TEST_F()
2487 const std::vector<std::string> servers = {CLEARTEXT_ADDR}; in TEST_F() local
2494 mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", {})); in TEST_F()
2524 std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2525 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2570 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2571 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2607 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2608 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2638 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2639 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2673 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2674 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2736 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2737 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2777 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2778 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2857 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2858 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2901 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2902 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2947 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2948 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
2989 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
2990 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3068 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
3069 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3138 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
3139 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3172 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
3173 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3199 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
3200 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3240 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
3241 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers)); in TEST_F()
3286 const std::vector<std::string> servers = {listen_addr}; in TEST_F() local
3295 mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", {})); in TEST_F()
3313 ASSERT_TRUE(mDnsClient.SetResolversWithTls(servers, kDefaultSearchDomains, kDefaultParams, "", in TEST_F()