/system/connectivity/shill/ |
D | resolver_unittest.cc | 87 vector<string> domain_search; in TEST_F() local 90 domain_search.push_back(kSearchDomain0); in TEST_F() 91 domain_search.push_back(kSearchDomain1); in TEST_F() 93 EXPECT_TRUE(resolver_->SetDNSFromLists(dns_servers, domain_search)); in TEST_F() 105 vector<string> domain_search; in TEST_F() local 107 EXPECT_TRUE(resolver_->SetDNSFromLists(dns_servers, domain_search)); in TEST_F() 117 vector<string> domain_search; in TEST_F() local 120 domain_search.push_back(kSearchDomain0); in TEST_F() 121 domain_search.push_back(kSearchDomain1); in TEST_F() 126 EXPECT_TRUE(resolver_->SetDNSFromLists(dns_servers, domain_search)); in TEST_F()
|
D | resolver.cc | 56 const std::vector<std::string>& domain_search) { in SetDNSFromLists() argument 59 if (dns_servers.empty() && domain_search.empty()) { in SetDNSFromLists() 72 for (iter = domain_search.begin(); in SetDNSFromLists() 73 iter != domain_search.end(); ++iter) { in SetDNSFromLists()
|
D | ipconfig_unittest.cc | 117 EXPECT_EQ(properties.domain_search.size(), in ExpectPropertiesEqual() 118 ipconfig_->properties().domain_search.size()); in ExpectPropertiesEqual() 119 if (properties.domain_search.size() == in ExpectPropertiesEqual() 120 ipconfig_->properties().domain_search.size()) { in ExpectPropertiesEqual() 121 for (size_t i = 0; i < properties.domain_search.size(); ++i) { in ExpectPropertiesEqual() 122 EXPECT_EQ(properties.domain_search[i], in ExpectPropertiesEqual() 123 ipconfig_->properties().domain_search[i]); in ExpectPropertiesEqual() 161 properties.domain_search.push_back("zoo.org"); in TEST_F() 162 properties.domain_search.push_back("zoo.com"); in TEST_F()
|
D | connection.cc | 285 if (!config->properties().domain_search.empty()) { in UpdateFromIPConfig() 286 dns_domain_search_ = config->properties().domain_search; in UpdateFromIPConfig() 360 vector<string> domain_search = dns_domain_search_; in PushDNSConfig() local 361 if (domain_search.empty() && !dns_domain_name_.empty()) { in PushDNSConfig() 364 domain_search.push_back(dns_domain_name_ + "."); in PushDNSConfig() 367 resolver_->SetDNSFromLists(dns_servers_, domain_search); in PushDNSConfig()
|
D | mock_resolver.h | 37 const std::vector<std::string>& domain_search));
|
D | resolver.h | 54 const std::vector<std::string>& domain_search);
|
D | connection_unittest.cc | 106 properties_.domain_search.push_back(kSearchDomain0); in SetUp() 107 properties_.domain_search.push_back(kSearchDomain1); in SetUp() 331 ipconfig_->properties().domain_search)); in TEST_F() 450 ipconfig_->properties().domain_search)); in TEST_F() 610 ipconfig_->properties().domain_search)); in TEST_F() 621 properties_.domain_search.clear(); in TEST_F()
|
D | ipconfig.h | 68 std::vector<std::string> domain_search; member
|
D | ipconfig.cc | 95 &properties_.domain_search); in Init()
|
/system/connectivity/shill/dhcp/ |
D | dhcpv6_config_unittest.cc | 195 vector<string> domain_search; in TEST_F() local 196 domain_search.push_back(kConfigDomainSearch); in TEST_F() 197 conf.SetStrings(DHCPv6Config::kConfigurationKeyDomainSearch, domain_search); in TEST_F() 208 ASSERT_EQ(1, config_->properties_.domain_search.size()); in TEST_F() 209 EXPECT_EQ(kConfigDomainSearch, config_->properties_.domain_search[0]); in TEST_F()
|
D | dhcpv6_config.cc | 158 properties_.domain_search = value.Get<vector<string>>(); in ParseConfiguration()
|
D | dhcpv4_config_unittest.cc | 337 ASSERT_EQ(2, properties.domain_search.size()); in TEST_F() 338 EXPECT_EQ("foo.com", properties.domain_search[0]); in TEST_F() 339 EXPECT_EQ("bar.com", properties.domain_search[1]); in TEST_F()
|
D | dhcpv4_config.cc | 389 properties->domain_search = value.Get<vector<string>>(); in ParseConfiguration()
|
/system/connectivity/shill/vpn/ |
D | openvpn_driver_unittest.cc | 589 vector<string> domain_search; in TEST_F() local 592 OpenVPNDriver::ParseForeignOption("", &domain_search, &dns_servers); in TEST_F() 594 "dhcp-option DOMAIN", &domain_search, &dns_servers); in TEST_F() 596 "dhcp-option DOMAIN zzz.com foo", &domain_search, &dns_servers); in TEST_F() 598 "dhcp-Option DOmAIN xyz.com", &domain_search, &dns_servers); in TEST_F() 599 ASSERT_EQ(1, domain_search.size()); in TEST_F() 600 EXPECT_EQ("xyz.com", domain_search[0]); in TEST_F() 602 "dhcp-option DnS 1.2.3.4", &domain_search, &dns_servers); in TEST_F() 618 ASSERT_EQ(5, props.domain_search.size()); in TEST_F() 619 EXPECT_EQ("two.com", props.domain_search[0]); in TEST_F() [all …]
|
D | openvpn_driver.cc | 498 vector<string> domain_search; in ParseForeignOptions() local 501 ParseForeignOption(option_map.second, &domain_search, &dns_servers); in ParseForeignOptions() 503 if (!domain_search.empty()) { in ParseForeignOptions() 504 properties->domain_search.swap(domain_search); in ParseForeignOptions() 506 LOG_IF(WARNING, properties->domain_search.empty()) in ParseForeignOptions() 517 vector<string>* domain_search, in ParseForeignOption() argument 527 domain_search->push_back(tokens[2]); in ParseForeignOption()
|
D | openvpn_driver.h | 188 std::vector<std::string>* domain_search,
|
D | third_party_vpn_driver.cc | 337 kNonIPDelimiter, &ip_properties_.domain_search, in SetParameters()
|