Home
last modified time | relevance | path

Searched refs:privateDnsCfg (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java399 PrivateDnsConfig privateDnsCfg = mDnsManager.getPrivateDnsConfig(network); in testGetPrivateDnsConfigForNetwork() local
400 assertFalse(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()
401 assertEquals("", privateDnsCfg.hostname); in testGetPrivateDnsConfigForNetwork()
402 assertEquals(new InetAddress[0], privateDnsCfg.ips); in testGetPrivateDnsConfigForNetwork()
410 privateDnsCfg = mDnsManager.getPrivateDnsConfig(network); in testGetPrivateDnsConfigForNetwork()
411 assertTrue(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()
412 assertEquals("", privateDnsCfg.hostname); in testGetPrivateDnsConfigForNetwork()
413 assertEquals(new InetAddress[0], privateDnsCfg.ips); in testGetPrivateDnsConfigForNetwork()
418 privateDnsCfg = mDnsManager.getPrivateDnsConfig(network); in testGetPrivateDnsConfigForNetwork()
419 assertTrue(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java295 final PrivateDnsConfig privateDnsCfg = mPrivateDnsMap.getOrDefault(netId, in updatePrivateDnsStatus() local
298 final boolean useTls = privateDnsCfg.useTls; in updatePrivateDnsStatus()
302 final boolean strictMode = privateDnsCfg.inStrictMode(); in updatePrivateDnsStatus()
303 final String tlsHostname = strictMode ? privateDnsCfg.hostname : null; in updatePrivateDnsStatus()
361 final PrivateDnsConfig privateDnsCfg = mPrivateDnsMap.getOrDefault(netId, in sendDnsConfigurationForNetwork() local
363 final boolean useTls = privateDnsCfg.useTls; in sendDnsConfigurationForNetwork()
364 final boolean strictMode = privateDnsCfg.inStrictMode(); in sendDnsConfigurationForNetwork()
374 paramsParcel.tlsName = strictMode ? privateDnsCfg.hostname : ""; in sendDnsConfigurationForNetwork()
377 Arrays.stream(privateDnsCfg.ips) in sendDnsConfigurationForNetwork()
DNetworkDiagnostics.java184 @NonNull PrivateDnsConfig privateDnsCfg, long timeoutMs) { in NetworkDiagnostics() argument
187 mPrivateDnsCfg = privateDnsCfg; in NetworkDiagnostics()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java2491 PrivateDnsConfig privateDnsCfg = mDnsManager.getPrivateDnsConfig(nai.network); in dumpNetworkDiagnostics() local
2496 privateDnsCfg, in dumpNetworkDiagnostics()