D | NetworkMonitorTest.java | 468 private void setAnswer(String hostname, String[] answer, int type) { in setAnswer() method in NetworkMonitorTest.FakeDns 469 setAnswer(hostname, new InstantAddressSupplier(generateAnswer(answer)), type); in setAnswer() 472 private void setAnswer(String hostname, AddressSupplier answerSupplier, int type) { in setAnswer() method in NetworkMonitorTest.FakeDns 686 mFakeDns.setAnswer(PRIVATE_DNS_PROBE_HOST_SUFFIX, new String[]{"192.0.2.2"}, TYPE_A); in setUp() 687 mFakeDns.setAnswer(PRIVATE_DNS_PROBE_HOST_SUFFIX, new String[]{"2001:db8::1"}, TYPE_AAAA); in setUp() 1398 mFakeDns.setAnswer(httpHost, new String[] { "2001:db8::123" }, TYPE_AAAA); in setupPrivateIpResponse() 1400 mFakeDns.setAnswer(httpHost, new String[] { privateAddr }, in setupPrivateIpResponse() 2364 mFakeDns.setAnswer("dns6.google", new String[]{"2001:db8::53"}, TYPE_AAAA); in runPrivateDnsSuccessTest() 2373 mFakeDns.setAnswer("dns4.google", new String[]{"192.0.2.1"}, TYPE_A); in runPrivateDnsSuccessTest() 2382 mFakeDns.setAnswer("dns.google", new String[]{"2001:db8::54"}, TYPE_AAAA); in runPrivateDnsSuccessTest() [all …]
|