Home
last modified time | relevance | path

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

/system/netd/resolv/
Dresolver_test.cpp204 size_t GetNumQueriesForType(const test::DNSResponder& dns, ns_type type, in GetNumQueriesForType() function in ResolverTest
310 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, nonexistent_host_name)); in TEST_F()
316 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, kHelloExampleCom)); in TEST_F()
435 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, name_ip6_dot)) << dns.dumpQueries(); in TEST_F()
436 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, name_ip6_fqdn)) << dns.dumpQueries(); in TEST_F()
531 return total + GetNumQueriesForType(*d, ns_type::ns_t_a, mapping.entry.c_str()); in TEST_F()
817 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F()
1684 EXPECT_EQ(1U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F()
2418 EXPECT_EQ(0U, GetNumQueriesForType(dns, ns_type::ns_t_a, host_name)); in TEST_F()