Searched refs:searchDomains (Results 1 – 5 of 5) sorted by relevance
/system/netd/tests/dns_responder/ |
D | dns_responder_client.cpp | 98 bool DnsResponderClient::SetResolversForNetwork(const std::vector<std::string>& searchDomains, in SetResolversForNetwork() argument 101 if (!searchDomains.empty()) { in SetResolversForNetwork() 102 cmd += searchDomains[0].c_str(); in SetResolversForNetwork() 103 for (size_t i = 1 ; i < searchDomains.size() ; ++i) { in SetResolversForNetwork() 105 cmd += searchDomains[i]; in SetResolversForNetwork()
|
D | dns_responder_client.h | 32 bool SetResolversForNetwork(const std::vector<std::string>& searchDomains,
|
/system/netd/server/ |
D | ResolverController.h | 39 int setDnsServers(unsigned netId, const char* searchDomains, const char** servers,
|
D | ResolverController.cpp | 46 int ResolverController::setDnsServers(unsigned netId, const char* searchDomains, in setDnsServers() argument 51 return -_resolv_set_nameservers_for_net(netId, servers, numservers, searchDomains, params); in setDnsServers()
|
/system/netd/tests/ |
D | netd_test.cpp | 471 std::vector<std::string> searchDomains = { "example1.com", "example2.com", "example3.com" }; in TEST_F() local 480 ASSERT_TRUE(SetResolversForNetwork(searchDomains, servers, mDefaultParams)); in TEST_F()
|