Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp645 dns.setResponseProbability(0.0); // always ignore requests and response preset rcode in TEST_F()
851 dns.setResponseProbability(0.0); // always ignore requests and don't respond in TEST_F()
1035 mdnsv4.setResponseProbability(0.0); // always ignore requests and don't respond in TEST_F()
1037 mdnsv6.setResponseProbability(0.0); in TEST_F()
1042 dns.setResponseProbability(0.0); in TEST_F()
1545 dns.setResponseProbability(0.0); // always ignore requests and response preset rcode in TEST_F()
1565 dns.setResponseProbability(0.0); // always ignore requests and don't respond in TEST_F()
1826 mdnsv4.setResponseProbability(0.0); // always ignore requests and don't respond in TEST_F()
1828 mdnsv6.setResponseProbability(0.0); in TEST_F()
1833 dns.setResponseProbability(0.0); in TEST_F()
Dresolv_private_dns_test.cpp468 mdnsv4.setResponseProbability(0.0); in TEST_P()
469 mdnsv6.setResponseProbability(0.0); in TEST_P()
707 doh_backend.setResponseProbability(0.0); in TEST_F()
738 doh_backend.setResponseProbability(0.0); in TEST_F()
Dresolv_integration_test.cpp1234 dns.setResponseProbability(0.0); in TEST_F()
1259 dns0.setResponseProbability(0.0); in TEST_F()
1322 dns0.setResponseProbability(0.0); in TEST_F()
1345 dns1.setResponseProbability(0.0); in TEST_F()
1466 dns1.setResponseProbability(0.0); in TEST_F()
1932 dns1.setResponseProbability(0.0); in TEST_F()
1937 dns2.setResponseProbability(0.0); in TEST_F()
1972 dns1.setResponseProbability(0.0); in TEST_F()
2611 dns.setResponseProbability(0.0); in TEST_F()
2633 dns.setResponseProbability(1.0); in TEST_F()
[all …]
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h180 void setResponseProbability(double response_probability);
181 void setResponseProbability(double response_probability, int protocol);
Ddns_responder.cpp538 void DNSResponder::setResponseProbability(double response_probability) { in setResponseProbability() function in test::DNSResponder
539 setResponseProbability(response_probability, IPPROTO_TCP); in setResponseProbability()
540 setResponseProbability(response_probability, IPPROTO_UDP); in setResponseProbability()
549 void DNSResponder::setResponseProbability(double response_probability, int protocol) { in setResponseProbability() function in test::DNSResponder