Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java235 private @Spy Network mCleartextDnsNetwork = new Network(TEST_NETID); field in NetworkMonitorTest
444 when(mDependencies.getPrivateDnsBypassNetwork(any())).thenReturn(mCleartextDnsNetwork); in setUp()
456 doReturn(mCleartextDnsNetwork).when(mNetwork).getPrivateDnsBypassingCopy(); in setUp()
515 }).when(mCleartextDnsNetwork).openConnection(any()); in setUp()
732 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_meteredNetwork()
752 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig()
1712 verify(mCleartextDnsNetwork, never()).openConnection(any());
2456 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any());
2457 verify(mCleartextDnsNetwork, atLeastOnce()).openConnection(any());
2470 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any());
[all …]
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java421 private final Network mCleartextDnsNetwork; field in NetworkMonitor
570 mCleartextDnsNetwork = deps.getPrivateDnsBypassNetwork(network); in NetworkMonitor()
712 if (DBG) Log.d(TAG + "/" + mCleartextDnsNetwork.toString(), s); in log()
1173 final Network network = new Network(mCleartextDnsNetwork); in processMessage()
1324 mAction = action + "_" + mCleartextDnsNetwork.getNetworkHandle() + "_" + token; in CustomIntentReceiver()
1457 mCleartextDnsNetwork, mPrivateDnsProviderHostname, getDnsProbeTimeout(), in resolveStrictModeHostname()
2373 return DnsUtils.getAllByName(mDependencies.getDnsResolver(), mCleartextDnsNetwork, host, in sendDnsProbeWithTimeout()
2558 final HttpURLConnection conn = (HttpURLConnection) mCleartextDnsNetwork.openConnection(url); in makeProbeConnection()
3077 mMetricsLog.log(mCleartextDnsNetwork, transports, new NetworkEvent(evtype)); in logNetworkEvent()
3099 mMetricsLog.log(mCleartextDnsNetwork, transports, in maybeLogEvaluationResult()
[all …]