Home
last modified time | relevance | path

Searched refs:mFakeDns (Results 1 – 2 of 2) sorted by relevance

/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgSelectorTest.java136 private FakeDns mFakeDns; field in EpdgSelectorTest
185 mFakeDns = new FakeDns(); in setUp()
186 mFakeDns.startMocking(); in setUp()
193 mFakeDns.clearAll(); in cleanUp()
204 mFakeDns.setAnswer(testStaticAddress, new String[] {TEST_IP_ADDRESS}, TYPE_A); in testStaticMethodPass()
246 mFakeDns.setAnswer(testRoamStaticAddress, new String[] {TEST_IP_ADDRESS}, TYPE_A); in testRoamStaticMethodPass()
285 mFakeDns.setAnswer(expectedFqdnFromImsi, new String[] {TEST_IP_ADDRESS_1}, TYPE_A); in testPlmnResolutionMethodWithNoPlmnInCarrierConfig()
286 mFakeDns.setAnswer(expectedFqdnFromEhplmn, new String[] {TEST_IP_ADDRESS_2}, TYPE_A); in testPlmnResolutionMethodWithNoPlmnInCarrierConfig()
315 mFakeDns.setAnswer(expectedFqdnFromImsi, new String[] {TEST_IP_ADDRESS}, TYPE_A); in testPlmnResolutionMethod()
316 mFakeDns.setAnswer(expectedFqdnFromEhplmn, new String[] {TEST_IP_ADDRESS_1}, TYPE_A); in testPlmnResolutionMethod()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java578 private FakeDns mFakeDns; field in NetworkMonitorTest
679 mFakeDns = new FakeDns(); in setUp()
680 mFakeDns.startMocking(); in setUp()
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()
769 mFakeDns.clearAll(); in tearDown()
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()
[all …]