Home
last modified time | relevance | path

Searched refs:addMapping (Results 1 – 4 of 4) sorted by relevance

/system/netd/tests/
Dnetd_test.cpp283 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F()
382 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
383 dns.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F()
388 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
389 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F()
458 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.5"); in TEST_F()
480 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F()
506 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.5"); in TEST_F()
531 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F()
558 dns0.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::5"); in TEST_F()
[all …]
/system/netd/tests/dns_responder/
Ddns_responder_client.cpp78 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers()
79 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers()
Ddns_responder.h49 void addMapping(const char* name, ns_type type, const char* addr);
Ddns_responder.cpp541 void DNSResponder::addMapping(const char* name, ns_type type, in addMapping() function in test::DNSResponder