Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.h179 void setResponseProbability(double response_probability);
180 void setResponseProbability(double response_probability, int protocol);
Ddns_responder.cpp544 void DNSResponder::setResponseProbability(double response_probability) { in setResponseProbability() function in test::DNSResponder
545 setResponseProbability(response_probability, IPPROTO_TCP); in setResponseProbability()
546 setResponseProbability(response_probability, IPPROTO_UDP); in setResponseProbability()
555 void DNSResponder::setResponseProbability(double response_probability, int protocol) { in setResponseProbability() function in test::DNSResponder
/packages/modules/DnsResolver/tests/
Dresolv_unit_test.cpp642 dns.setResponseProbability(0.0); // always ignore requests and response preset rcode in TEST_F()
848 dns.setResponseProbability(0.0); // always ignore requests and don't response in TEST_F()
1352 dns.setResponseProbability(0.0); // always ignore requests and response preset rcode in TEST_F()
1372 dns.setResponseProbability(0.0); // always ignore requests and don't response in TEST_F()
Dresolv_integration_test.cpp1042 dns.setResponseProbability(0.0); in TEST_F()
1067 dns0.setResponseProbability(0.0); in TEST_F()
1125 dns0.setResponseProbability(0.0); in TEST_F()
1144 dns1.setResponseProbability(0.0); in TEST_F()
1272 dns1.setResponseProbability(0.0); in TEST_F()
1705 dns1.setResponseProbability(0.0); in TEST_F()
1710 dns2.setResponseProbability(0.0); in TEST_F()
1745 dns1.setResponseProbability(0.0); in TEST_F()
2398 dns.setResponseProbability(0.0); in TEST_F()
2418 dns.setResponseProbability(1.0); in TEST_F()
[all …]