Searched refs:mFakeDns (Results 1 – 1 of 1) sorted by relevance
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 439 private FakeDns mFakeDns; field in NetworkMonitorTest 519 mFakeDns = new FakeDns(); in setUp() 520 mFakeDns.startMocking(); in setUp() 526 mFakeDns.setAnswer(PRIVATE_DNS_PROBE_HOST_SUFFIX, new String[]{"192.0.2.2"}, TYPE_A); in setUp() 527 mFakeDns.setAnswer(PRIVATE_DNS_PROBE_HOST_SUFFIX, new String[]{"2001:db8::1"}, TYPE_AAAA); in setUp() 552 mFakeDns.clearAll(); in tearDown() 1068 mFakeDns.setAnswer(httpHost, new String[] { "2001:db8::123" }, TYPE_AAAA); in setupPrivateIpResponse() 1070 mFakeDns.setAnswer(httpHost, new String[] { privateAddr }, in setupPrivateIpResponse() 1766 mFakeDns.setAnswer("dns6.google", new String[]{"2001:db8::53"}, TYPE_AAAA); 1777 mFakeDns.setAnswer("dns4.google", new String[]{"192.0.2.1"}, TYPE_A); [all …]
|