Home
last modified time | relevance | path

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

/system/netd/resolv/
Dlibnetd_resolv_test.cpp336 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()
Dresolver_test.cpp285 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 …]
Ddnsresolver_binder_test.cpp180 dns.addMapping("hi.example.com.", ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
/system/netd/resolv/dns_responder/
Ddns_responder_client.cpp115 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()
Ddns_responder.h64 void addMapping(const std::string& name, ns_type type, const std::string& addr);
Ddns_responder.cpp549 void DNSResponder::addMapping(const std::string& name, ns_type type, const std::string& addr) { in addMapping() function in test::DNSResponder