Searched refs:addMapping (Results 1 – 4 of 4) sorted by relevance
/system/netd/tests/ |
D | netd_test.cpp | 283 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/ |
D | dns_responder_client.cpp | 78 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()
|
D | dns_responder.h | 49 void addMapping(const char* name, ns_type type, const char* addr);
|
D | dns_responder.cpp | 541 void DNSResponder::addMapping(const char* name, ns_type type, in addMapping() function in test::DNSResponder
|