Searched refs:mDnsManager (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 96 DnsManager mDnsManager; field in DnsManagerTest 140 mDnsManager = new DnsManager(mCtx, mMockDnsResolver, mSystemProperties); in setUp() 150 mDnsManager.updatePrivateDns(new Network(TEST_NETID), in testTrackedValidationUpdates() 151 mDnsManager.getPrivateDnsConfig()); in testTrackedValidationUpdates() 152 mDnsManager.updatePrivateDns(new Network(TEST_NETID_ALTERNATE), in testTrackedValidationUpdates() 153 mDnsManager.getPrivateDnsConfig()); in testTrackedValidationUpdates() 160 mDnsManager.updateTransportsForNetwork(TEST_NETID, TEST_TRANSPORT_TYPES); in testTrackedValidationUpdates() 161 mDnsManager.noteDnsServersForNetwork(TEST_NETID, lp); in testTrackedValidationUpdates() 162 mDnsManager.setDefaultDnsSystemProperties(lp.getDnsServers()); in testTrackedValidationUpdates() 163 mDnsManager.flushVmDnsCache(); in testTrackedValidationUpdates() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 596 private final DnsManager mDnsManager; field in ConnectivityService 1167 mDnsManager = new DnsManager(mContext, mDnsResolver, mSystemProperties); in ConnectivityService() 2483 PrivateDnsConfig privateDnsCfg = mDnsManager.getPrivateDnsConfig(nai.network); in dumpNetworkDiagnostics() 3147 final PrivateDnsConfig cfg = mDnsManager.getPrivateDnsConfig(); in handleFreshlyValidatedNetwork() 3154 final PrivateDnsConfig cfg = mDnsManager.getPrivateDnsConfig(); in handlePrivateDnsSettingsChanged() 3181 mDnsManager.updatePrivateDns(nai.network, newCfg); in updatePrivateDns() 3190 mDnsManager.updatePrivateDnsValidation(update); in handlePrivateDnsValidationUpdate() 3382 mDnsManager.removeNetwork(nai.network); in disconnectAndDestroyNetwork() 3399 mDnsManager.updateTransportsForNetwork(networkAgent.network.netId, in createNativeNetwork() 5981 mDnsManager.updatePrivateDnsStatus(netId, newLp); in updateLinkProperties() [all …]
|