Searched refs:DnsProtocol (Results 1 – 1 of 1) sorted by relevance
47 enum class DnsProtocol { CLEARTEXT, TLS }; enum168 android_net_context GetNetContext(const DnsProtocol protocol) { in GetNetContext()169 return protocol == DnsProtocol::TLS ? kNetcontextTls : kNetcontext; in GetNetContext()183 void VerifyGetAddrInfo(const android::net::GoldTest& goldtest, const DnsProtocol protocol) { in VerifyGetAddrInfo()208 void VerifyGetHostByName(const android::net::GoldTest& goldtest, const DnsProtocol protocol) { in VerifyGetHostByName()223 const test::DnsTlsFrontend& tls, const DnsProtocol protocol) { in VerifyResolver()248 if (protocol == DnsProtocol::TLS) EXPECT_TRUE(tls.waitForQueries(queries)); in VerifyResolver()387 using GoldTestParamType = std::tuple<DnsProtocol, std::string /* filename */>;394 "%s_%s", protocol == DnsProtocol::CLEARTEXT ? "CLEARTEXT" : "TLS", file.c_str()); in Name()403 ::testing::Combine(::testing::Values(DnsProtocol::CLEARTEXT),[all …]