Searched refs:mCleartextDnsNetwork (Results 1 – 2 of 2) sorted by relevance
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 469 private final Network mCleartextDnsNetwork; field in NetworkMonitor 645 mCleartextDnsNetwork = deps.getPrivateDnsBypassNetwork(network); in NetworkMonitor() 825 if (DBG) Log.d(TAG + "/" + mCleartextDnsNetwork.toString(), s); in log() 1415 final Network network = new Network(mCleartextDnsNetwork); in processMessage() 1590 mAction = action + "_" + mCleartextDnsNetwork.getNetworkHandle() + "_" + token; in CustomIntentReceiver() 1734 mCleartextDnsNetwork, mPrivateDnsProviderHostname, getDnsProbeTimeout(), in resolveStrictModeHostname() 1936 resolver.query(mCleartextDnsNetwork, queryName, TYPE_AAAA, FLAG_NO_CACHE_LOOKUP, in sendQueries() 1938 resolver.query(mCleartextDnsNetwork, queryName, TYPE_A, FLAG_NO_CACHE_LOOKUP, in sendQueries() 2952 return DnsUtils.getAllByName(mDependencies.getDnsResolver(), mCleartextDnsNetwork, host, in sendDnsProbeWithTimeout() 3146 final HttpURLConnection conn = (HttpURLConnection) mCleartextDnsNetwork.openConnection(url); in makeProbeConnection() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 278 private @Spy Network mCleartextDnsNetwork = new Network(TEST_NETID); field in NetworkMonitorTest 588 doReturn(mCleartextDnsNetwork).when(mDependencies).getPrivateDnsBypassNetwork(any()); in setUp() 612 doReturn(mCleartextDnsNetwork).when(mNetwork).getPrivateDnsBypassingCopy(); in setUp() 673 }).when(mCleartextDnsNetwork).openConnection(any()); in setUp() 970 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_meteredNetwork() 991 verify(mCleartextDnsNetwork, never()).openConnection(new URL(TEST_SPEED_TEST_URL)); in testEvaluatingBandwidthState_nonMeteredNetworkWithWrongConfig() 2128 verify(mCleartextDnsNetwork, never()).openConnection(any()); in doValidationSkippedTest() 3284 verify(mLogger, atLeastOnce()).log(eq(mCleartextDnsNetwork), in doLegacyConnectivityLogTest() 3419 verify(mCleartextDnsNetwork, atMost(4)).openConnection(any()); in testMultipleProbesOnPortalNetwork() 3420 verify(mCleartextDnsNetwork, atLeastOnce()).openConnection(any()); in testMultipleProbesOnPortalNetwork() [all …]
|