Searched refs:addMapping (Results 1 – 6 of 6) sorted by relevance
/system/netd/resolv/ |
D | libnetd_resolv_test.cpp | 336 dns.addMapping(v4_host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 363 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F() 364 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 422 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 446 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 470 dns.addMapping(host_name, ns_type::ns_t_a, v4addr); in TEST_F() 471 dns.addMapping(host_name, ns_type::ns_t_aaaa, v6addr); in TEST_F() 505 dns.addMapping(v4_host_name, ns_type::ns_t_a, "1.2.3.3"); in TEST_F() 549 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 570 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
|
D | resolver_test.cpp | 285 dns.addMapping(r.host_name, r.type, r.addr); in StartDns() 676 dns1.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 677 dns2.addMapping(host_name_deferred, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 678 dns3.addMapping(host_name_normal, ns_type::ns_t_a, "1.2.3.5"); in TEST_F() 1143 dns3.addMapping(kHelloExampleCom, ns_type::ns_t_a, "1.2.3.4"); in TEST_F() 1319 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.1"); in TEST_F() 1648 dns.addMapping(host_name, ns_type::ns_t_a, ADDR4); in TEST_F() 1649 dns.addMapping(host_name, ns_type::ns_t_aaaa, ADDR6); in TEST_F() 2385 dns.addMapping(host_name, ns_type::ns_t_a, ADDR4); in TEST_F() 2698 dns.addMapping(host_name, ns_type::ns_t_a, config.addr.c_str()); in TEST_F() [all …]
|
D | dnsresolver_binder_test.cpp | 180 dns.addMapping("hi.example.com.", ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
|
/system/netd/resolv/dns_responder/ |
D | dns_responder_client.cpp | 115 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_a, mapping.ip4.c_str()); in SetupDNSServers() 116 d->addMapping(mapping.entry.c_str(), ns_type::ns_t_aaaa, mapping.ip6.c_str()); in SetupDNSServers()
|
D | dns_responder.h | 64 void addMapping(const std::string& name, ns_type type, const std::string& addr);
|
D | dns_responder.cpp | 549 void DNSResponder::addMapping(const std::string& name, ns_type type, const std::string& addr) { in addMapping() function in test::DNSResponder
|