Lines Matching refs:DNSResponder
257 void StartDns(test::DNSResponder& dns, const std::vector<DnsRecord>& records) { in StartDns()
442 test::DNSResponder dns; in TEST_F()
478 test::DNSResponder dns; in TEST_F()
532 test::DNSResponder dns; in TEST_F()
555 test::DNSResponder dns; in TEST_F()
604 test::DNSResponder dns; in TEST_F()
666 std::vector<std::unique_ptr<test::DNSResponder>> dns; in TEST_F()
725 test::DNSResponder dns(listen_addr); in TEST_F()
726 test::DNSResponder dns2(listen_addr2); in TEST_F()
772 test::DNSResponder dns; in TEST_F()
785 test::DNSResponder dns; in TEST_F()
803 test::DNSResponder dns; in TEST_F()
839 test::DNSResponder dns1(listen_addr1, listen_srv, ns_rcode::ns_r_servfail); in TEST_F()
840 test::DNSResponder dns2(listen_addr2, listen_srv, ns_rcode::ns_r_servfail); in TEST_F()
841 test::DNSResponder dns3(listen_addr3, listen_srv, ns_rcode::ns_r_servfail); in TEST_F()
912 test::DNSResponder dns; in TEST_F()
939 test::DNSResponder dns; in TEST_F()
957 test::DNSResponder dns; in TEST_F()
975 test::DNSResponder dns; in TEST_F()
1023 test::DNSResponder dns("127.0.0.6"); in TEST_F()
1041 test::DNSResponder dns; in TEST_F()
1065 test::DNSResponder dns0(listen_addr0); in TEST_F()
1066 test::DNSResponder dns1(listen_addr1); in TEST_F()
1123 test::DNSResponder dns0(listen_addr0, listen_srv, static_cast<ns_rcode>(-1)); in TEST_F()
1124 test::DNSResponder dns1(listen_addr1, listen_srv, static_cast<ns_rcode>(-1)); in TEST_F()
1159 test::DNSResponder dns0(listen_addr0); in TEST_F()
1160 test::DNSResponder dns1(listen_addr1); in TEST_F()
1161 test::DNSResponder dns2(listen_addr2); in TEST_F()
1211 test::DNSResponder dns(listen_addr3); in TEST_F()
1270 test::DNSResponder dns1(listen_addr1, test::kDefaultListenService, static_cast<ns_rcode>(-1)); in TEST_F()
1271 test::DNSResponder dns2(listen_addr2); in TEST_F()
1320 test::DNSResponder dns; in TEST_F()
1404 test::DNSResponder dns; in TEST_F()
1450 test::DNSResponder dns; in TEST_F()
1527 test::DNSResponder dns(listen_addr); in TEST_F()
1599 test::DNSResponder dns(listen_addr); in TEST_F()
1654 std::vector<std::unique_ptr<test::DNSResponder>> dns; in TEST_F()
1704 test::DNSResponder dns1(listen_addr1, "53", static_cast<ns_rcode>(-1)); in TEST_F()
1709 test::DNSResponder dns2(listen_addr2); in TEST_F()
1714 test::DNSResponder dns3(listen_addr3); in TEST_F()
1744 test::DNSResponder dns1(listen_addr1, test::kDefaultListenService, static_cast<ns_rcode>(-1)); in TEST_F()
1748 test::DNSResponder dns3(listen_addr3); in TEST_F()
1800 test::DNSResponder dns; in TEST_F()
1828 test::DNSResponder dns; in TEST_F()
1890 test::DNSResponder dns; in TEST_F()
1944 test::DNSResponder dns1(listen_addr1); in TEST_F()
1945 test::DNSResponder dns2(listen_addr2); in TEST_F()
1992 test::DNSResponder dns; in TEST_F()
2022 test::DNSResponder dns; in TEST_F()
2067 test::DNSResponder dns(cleartext_addr); in TEST_F()
2195 test::DNSResponder dns(cleartext_addr); in TEST_F()
2290 test::DNSResponder dns(listen_addr); in TEST_F()
2338 test::DNSResponder dns(listen_addr); in TEST_F()
2381 test::DNSResponder dns(listen_addr); in TEST_F()
2448 test::DNSResponder dns(listen_addr); in TEST_F()
2513 test::DNSResponder dns(listen_addr); in TEST_F()
2649 test::DNSResponder dns(listen_addr); in TEST_F()
2697 test::DNSResponder dns0(listen_addr0); in TEST_F()
2698 test::DNSResponder dns1(listen_addr1); in TEST_F()
2754 test::DNSResponder dns(listen_addr); in TEST_F()
2823 typedef test::DNSResponder::Edns Edns; in TEST_F()
2852 test::DNSResponder dns(CLEARTEXT_ADDR, CLEARTEXT_PORT, ns_rcode::ns_r_servfail); in TEST_F()
3027 test::DNSResponder dns(CLEARTEXT_ADDR, CLEARTEXT_PORT, ns_rcode::ns_r_servfail); in TEST_F()
3029 dns.setEdns(test::DNSResponder::Edns::FORMERR_ON_EDNS); in TEST_F()
3059 test::DNSResponder dns(CLEARTEXT_ADDR, CLEARTEXT_PORT, ns_rcode::ns_r_servfail); in TEST_F()
3068 dns.setEdns(test::DNSResponder::Edns::FORMERR_UNCOND); in TEST_F()
3090 test::DNSResponder dns(listen_addr); in TEST_F()
3137 test::DNSResponder dns(listen_addr); in TEST_F()
3174 test::DNSResponder dns(listen_addr); in TEST_F()
3205 test::DNSResponder dns(listen_addr); in TEST_F()
3240 test::DNSResponder dns(listen_addr); in TEST_F()
3305 test::DNSResponder dns(listen_addr); in TEST_F()
3346 test::DNSResponder dns(listen_addr); in TEST_F()
3428 test::DNSResponder dns(listen_addr); in TEST_F()
3471 test::DNSResponder dns(listen_addr); in TEST_F()
3518 test::DNSResponder dns(listen_addr); in TEST_F()
3562 test::DNSResponder dns; in TEST_F()
3592 test::DNSResponder dns(listen_addr); in TEST_F()
3673 test::DNSResponder dns(listen_addr); in TEST_F()
3745 test::DNSResponder dns(listen_addr); in TEST_F()
3788 test::DNSResponder dns; in TEST_F()
3814 test::DNSResponder dns(listen_addr); in TEST_F()
3841 test::DNSResponder dns(listen_addr); in TEST_F()
3882 test::DNSResponder dns(listen_addr); in TEST_F()
3933 test::DNSResponder dns(listen_addr); in TEST_F()
3982 test::DNSResponder dns(listen_addr); in TEST_F()
4277 test::DNSResponder dns1(listen_addr1); in TEST_F()
4278 test::DNSResponder dns2(listen_addr2); in TEST_F()
4323 test::DNSResponder dns1(listen_addr1); in TEST_F()
4324 test::DNSResponder dns2(listen_addr2); in TEST_F()
4375 test::DNSResponder dns1(listen_addr1); in TEST_F()
4376 test::DNSResponder dns2(listen_addr2); in TEST_F()
4476 test::DNSResponder dns(addr); in TEST_F()
4588 test::DNSResponder dns(addr); in TEST_F()
4655 test::DNSResponder dns(addr); in TEST_F()
4771 test::DNSResponder dns(addr); in TEST_F()
4865 test::DNSResponder backend(backend_addr); in TEST_F()
4891 test::DNSResponder dns(addr, "53", static_cast<ns_rcode>(-1)); in TEST_F()
4941 test::DNSResponder dns; in TEST_F()
4962 test::DNSResponder dns; in TEST_F()
4988 test::DNSResponder dns1(listen_addr1); in TEST_F()
4989 test::DNSResponder dns2(listen_addr2); in TEST_F()
5039 test::DNSResponder dns; in TEST_F()
5078 test::DNSResponder dns(listen_addr, listen_srv, static_cast<ns_rcode>(-1)); in TEST_F()
5079 test::DNSResponder dns2(listen_addr2, listen_srv, static_cast<ns_rcode>(-1)); in TEST_F()
5160 test::DNSResponder dns(listen_addr); in TEST_F()
5247 test::DNSResponder dns1(addr1); in TEST_F()
5248 test::DNSResponder dns2(addr2); in TEST_F()
5364 test::DNSResponder dns1(addr1); in TEST_F()
5365 test::DNSResponder dns2(addr2); in TEST_F()
5489 void VerifyQueryHelloExampleComV4(const test::DNSResponder& dns, const CallType calltype, in VerifyQueryHelloExampleComV4()
5561 EXPECT_TRUE(test::DNSResponder::fillRdata(kHelloExampleComAddrV4, recordAnswer)); in TEST_P()
5571 EXPECT_TRUE(test::DNSResponder::fillRdata("ns1.example.com.", recordAuthority)); in TEST_P()
5581 EXPECT_TRUE(test::DNSResponder::fillRdata("5.6.7.8", recordAdditional)); in TEST_P()
5585 test::DNSResponder dns(test::DNSResponder::MappingType::DNS_HEADER); in TEST_P()
5711 test::DNSResponder dns(test::DNSResponder::MappingType::BINARY_PACKET); in TEST_P()
5724 test::DNSResponder dns; in TEST_P()
5745 test::DNSResponder neverRespondDns(listen_addr2, "53", static_cast<ns_rcode>(-1)); in TEST_F()
5763 test::DNSResponder delayedDns(listen_addr1); in TEST_F()
5787 test::DNSResponder neverRespondDns(listen_addr, "53", static_cast<ns_rcode>(-1)); in TEST_F()
5823 test::DNSResponder dns(listen_addr); in TEST_F()
5863 test::DNSResponder dns1(listen_addr1); in TEST_F()
5864 test::DNSResponder dns2(listen_addr2); in TEST_F()
5899 test::DNSResponder dns1("127.0.0.3"); in TEST_F()
5900 test::DNSResponder dns2("127.0.0.4"); in TEST_F()
5901 test::DNSResponder dns3("127.0.0.5"); in TEST_F()
5974 test::DNSResponder dns(addr); in TEST_F()
6056 DnsServerPair(std::shared_ptr<test::DNSResponder> server, std::string addr) in DnsServerPair()
6058 std::shared_ptr<test::DNSResponder> dnsServer;
6226 void StartDns(test::DNSResponder& dns, const std::vector<DnsRecord>& records);
6292 void ResolverMultinetworkTest::StartDns(test::DNSResponder& dns, in StartDns()
6330 return mDnsServerPairs.emplace_back(std::make_shared<test::DNSResponder>(mNetId, dst2), dst1); in addDns()
6535 auto setupDnsFn = [&](std::shared_ptr<test::DNSResponder> dnsServer, in TEST_F()
6567 std::shared_ptr<test::DNSResponder> dnsServer, in TEST_F()
6584 std::shared_ptr<test::DNSResponder> expectedDnsServer; in TEST_F()