Home
last modified time | relevance | path

Searched refs:dns (Results 1 – 15 of 15) sorted by relevance

/system/netd/tests/
Dnetd_test.cpp201 size_t GetNumQueries(const test::DNSResponder& dns, const char* name) const { in GetNumQueries() argument
202 auto queries = dns.queries(); in GetNumQueries()
212 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type, in GetNumQueriesForType() argument
214 auto queries = dns.queries(); in GetNumQueriesForType()
227 std::vector<std::unique_ptr<test::DNSResponder>> dns; in RunGetAddrInfoStressTest_Binder() local
231 ASSERT_NO_FATAL_FAILURE(SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest_Binder()
238 thread = std::thread([this, &servers, &dns, &mappings, num_queries]() { in RunGetAddrInfoStressTest_Binder()
265 ASSERT_NO_FATAL_FAILURE(ShutdownDNSServers(&dns)); in RunGetAddrInfoStressTest_Binder()
279 test::DNSResponder dns(listen_addr, listen_srv, 250, ns_rcode::ns_r_servfail, 1.0); in TEST_F() local
280 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F()
[all …]
DAndroid.mk31 system/extras/tests/include bionic/libc/dns/include
/system/connectivity/shill/mobile_operator_db/
Dserviceproviders.prototxt42 dns : "194.170.1.6"
43 dns : "194.170.1.7"
252 dns : "172.25.7.6"
253 dns : "172.25.7.7"
277 dns : "170.51.255.100"
278 dns : "170.51.242.18"
341 dns : "172.25.7.6"
342 dns : "172.25.7.7"
373 dns : "194.48.124.202"
374 dns : "194.48.124.200"
[all …]
Dmobile_operator_db.proto59 repeated string dns = 7; field
/system/netd/tests/benchmarks/
Ddns_benchmark.cpp42 DnsResponderClient dns; member in DnsFixture
49 dns.SetUp(); in SetUp()
53 dns.SetupMappings(num_hosts, domains, &mappings); in SetUp()
55 dns.SetupDNSServers(MAXNS, mappings, &mDns, &servers); in SetUp()
58 dns.SetResolversForNetwork(servers, domains, mDefaultParams_Binder); in SetUp()
64 dns.ShutdownDNSServers(&mDns); in TearDown()
65 dns.TearDown(); in TearDown()
74 return dns.mNetdSrv; in getNetd()
/system/netd/tests/dns_responder/
Ddns_responder_client.cpp129 std::vector<std::unique_ptr<test::DNSResponder>>* dns, in SetupDNSServers() argument
132 dns->resize(num_servers); in SetupDNSServers()
136 auto& d = (*dns)[i]; in SetupDNSServers()
148 void DnsResponderClient::ShutdownDNSServers(std::vector<std::unique_ptr<test::DNSResponder>>* dns) { in ShutdownDNSServers() argument
149 for (const auto& d : *dns) { in ShutdownDNSServers()
152 dns->clear(); in ShutdownDNSServers()
Ddns_responder_client.h38 std::vector<std::unique_ptr<test::DNSResponder>>* dns,
41 static void ShutdownDNSServers(std::vector<std::unique_ptr<test::DNSResponder>>* dns);
DAndroid.mk37 bionic/libc/dns/include
/system/connectivity/shill/shims/
Dnsswitch.conf1 hosts: files dns
/system/netd/client/
DAndroid.mk19 LOCAL_C_INCLUDES := bionic/libc/dns/include system/netd/include
/system/connectivity/shill/dhcp/
Ddhcpv6_config_unittest.cc190 vector<string> dns; in TEST_F() local
191 dns.push_back(kConfigNameServer); in TEST_F()
192 conf.SetStrings(DHCPv6Config::kConfigurationKeyDNS, dns); in TEST_F()
Ddhcpv4_config_unittest.cc309 vector<uint32_t> dns; in TEST_F() local
310 dns.push_back(0x09070503); in TEST_F()
311 dns.push_back(0x08060402); in TEST_F()
312 conf.SetUint32s(DHCPv4Config::kConfigurationKeyDNS, dns); in TEST_F()
/system/netd/server/
DAndroid.mk44 bionic/libc/dns/include \
/system/sepolicy/
Dproperty_contexts11 net.dns u:object_r:net_radio_prop:s0
/system/connectivity/shill/init/
Dshill.conf.in91 ARGS="${ARGS} --prepend-dns-servers=${SHILL_PREPEND_DNS_SERVERS}"