Searched refs:addMapping (Results 1 – 3 of 3) sorted by relevance
/system/netd/tests/ |
D | netd_test.cpp | 240 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers() 241 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers() 426 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 516 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 517 dns.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F() 522 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 523 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); in TEST_F() 592 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.5"); in TEST_F() 616 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 643 dns0.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::5"); in TEST_F() [all …]
|
D | dns_responder.h | 49 void addMapping(const char* name, ns_type type, const char* addr);
|
D | dns_responder.cpp | 531 void DNSResponder::addMapping(const char* name, ns_type type, in addMapping() function in test::DNSResponder
|