Home
last modified time | relevance | path

Searched refs:host_name (Results 1 – 2 of 2) sorted by relevance

/system/netd/resolv/
Dresolver_test.cpp100 std::string host_name; // host name member
285 dns.addMapping(r.host_name, r.type, r.addr); in StartDns()
325 constexpr char host_name[] = "host.example.com."; in TEST_F() local
335 {"e.example.com.", ns_type::ns_t_cname, host_name}, in TEST_F()
336 {host_name, ns_type::ns_t_a, "1.2.3.3"}, in TEST_F()
337 {host_name, ns_type::ns_t_aaaa, "2001:db8::42"}, in TEST_F()
349 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
367 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F()
570 constexpr char host_name[] = "howdy.example.com."; in TEST_F() local
573 {host_name, ns_type::ns_t_a, "1.2.3.4"}, in TEST_F()
[all …]
Dlibnetd_resolv_test.cpp358 constexpr char host_name[] = "sawadee.example.com."; in TEST_F() local
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()
389 EXPECT_EQ(1U, GetNumQueries(dns, host_name)); in TEST_F()
399 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
422 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
433 android_getaddrinfofornetcontext(host_name, nullptr, &hints, &mNetcontext, &result); in TEST_F()
444 constexpr char host_name[] = "hello.example.com."; in TEST_F() local
446 dns.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); in TEST_F()
465 constexpr char host_name[] = "jiababuei.example.com."; in TEST_F() local
[all …]