Home
last modified time | relevance | path

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

/system/netd/resolv/
Dlibnetd_resolv_test.cpp423 dns.setResponseProbability(0.0); // always ignore requests and response preset rcode in TEST_F()
447 dns.setResponseProbability(0.0); // always ignore requests and don't response in TEST_F()
550 dns.setResponseProbability(0.0); // always ignore requests and response preset rcode in TEST_F()
571 dns.setResponseProbability(0.0); // always ignore requests and don't response in TEST_F()
Dresolver_test.cpp830 dns.setResponseProbability(0.0); in TEST_F()
855 dns0.setResponseProbability(0.0); in TEST_F()
903 dns0.setResponseProbability(0.0); in TEST_F()
919 dns1.setResponseProbability(0.0); in TEST_F()
1133 dns1.setResponseProbability(0.0); in TEST_F()
1138 dns2.setResponseProbability(0.0); in TEST_F()
1944 dns.setResponseProbability(0.0); in TEST_F()
1964 dns.setResponseProbability(1.0); in TEST_F()
2190 dns0.setResponseProbability(0.0); in TEST_F()
2191 dns1.setResponseProbability(0.0); in TEST_F()
/system/netd/resolv/dns_responder/
Ddns_responder.h66 void setResponseProbability(double response_probability);
Ddns_responder.cpp573 void DNSResponder::setResponseProbability(double response_probability) { in setResponseProbability() function in test::DNSResponder