Lines Matching refs:servers

154     bool GetResolverInfo(std::vector<std::string>* servers, std::vector<std::string>* domains,  in GetResolverInfo()  argument
159 auto rv = mNetdSrv->getResolverInfo(TEST_NETID, servers, domains, &params32, &stats32); in GetResolverInfo()
226 std::vector<std::string> servers; in RunGetAddrInfoStressTest_Binder() local
229 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest_Binder()
231 ASSERT_TRUE(SetResolversForNetwork(servers, domains, mDefaultParams_Binder)); in RunGetAddrInfoStressTest_Binder()
236 thread = std::thread([this, &servers, &dns, &mappings, num_queries]() { in RunGetAddrInfoStressTest_Binder()
280 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
281 ASSERT_TRUE(SetResolversForNetwork(mDefaultSearchDomains, servers, mDefaultParams)); in TEST_F()
324 std::vector<std::string> servers; in TEST_F() local
327 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(4, mappings, &dns, &servers)); in TEST_F()
331 ASSERT_TRUE(SetResolversForNetwork(servers, domains, mDefaultParams_Binder)); in TEST_F()
351 EXPECT_EQ(servers.size(), res_servers.size()); in TEST_F()
360 EXPECT_EQ(servers.size(), res_stats.size()); in TEST_F()
362 EXPECT_TRUE(UnorderedCompareArray(res_servers, servers)); in TEST_F()
388 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
389 ASSERT_TRUE(SetResolversForNetwork(mDefaultSearchDomains, servers, mDefaultParams)); in TEST_F()
421 servers = { listen_addr2 }; in TEST_F()
422 ASSERT_TRUE(SetResolversForNetwork(mDefaultSearchDomains, servers, mDefaultParams)); in TEST_F()
455 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
456 ASSERT_TRUE(SetResolversForNetwork(mDefaultSearchDomains, servers, mDefaultParams)); in TEST_F()
479 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
480 ASSERT_TRUE(SetResolversForNetwork(searchDomains, servers, mDefaultParams)); in TEST_F()
508 std::vector<std::string> servers = { listen_addr0, listen_addr1 }; in TEST_F() local
515 ASSERT_TRUE(SetResolversForNetwork(mDefaultSearchDomains, servers, params)); in TEST_F()
563 const std::vector<std::string> servers = { listen_addr0, listen_addr1, listen_addr2 }; in TEST_F() local
566 thread = std::thread([this, &servers, &dns0, &dns1, &dns2]() { in TEST_F()
570 for (const auto& server : servers) { in TEST_F()
575 if (serverSubset.empty()) serverSubset = servers; in TEST_F()
611 std::vector<std::string> servers; in TEST_F() local
613 ASSERT_TRUE(SetResolversForNetwork(servers, domains, mDefaultParams_Binder)); in TEST_F()
642 std::vector<std::string> servers = { listen_addr }; in TEST_F() local
644 ASSERT_TRUE(SetResolversForNetwork(domains, servers, mDefaultParams)); in TEST_F()
657 ASSERT_TRUE(SetResolversForNetwork(domains, servers, mDefaultParams)); in TEST_F()
672 std::vector<std::string> servers; in TEST_F() local
675 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(MAXNS + 1, mappings, &dns, &servers)); in TEST_F()
677 ASSERT_TRUE(SetResolversForNetwork(servers, domains, mDefaultParams_Binder)); in TEST_F()