Searched refs:privateDnsCfg (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 392 PrivateDnsConfig privateDnsCfg = mDnsManager.getPrivateDnsConfig(network); in testGetPrivateDnsConfigForNetwork() local 393 assertEquals(PRIVATE_DNS_MODE_OFF, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork() 394 assertEquals("", privateDnsCfg.hostname); in testGetPrivateDnsConfigForNetwork() 395 assertEquals(new InetAddress[0], privateDnsCfg.ips); in testGetPrivateDnsConfigForNetwork() 404 privateDnsCfg = mDnsManager.getPrivateDnsConfig(network); in testGetPrivateDnsConfigForNetwork() 405 assertEquals(PRIVATE_DNS_MODE_OPPORTUNISTIC, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork() 406 assertEquals("", privateDnsCfg.hostname); in testGetPrivateDnsConfigForNetwork() 407 assertEquals(new InetAddress[0], privateDnsCfg.ips); in testGetPrivateDnsConfigForNetwork() 412 privateDnsCfg = mDnsManager.getPrivateDnsConfig(network); in testGetPrivateDnsConfigForNetwork() 413 assertEquals(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME, privateDnsCfg.mode); in testGetPrivateDnsConfigForNetwork() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | DnsManager.java | 302 final PrivateDnsConfig privateDnsCfg = mPrivateDnsMap.getOrDefault(netId, in updatePrivateDnsStatus() local 305 final boolean useTls = privateDnsCfg.mode != PRIVATE_DNS_MODE_OFF; in updatePrivateDnsStatus() 309 final boolean strictMode = privateDnsCfg.inStrictMode(); in updatePrivateDnsStatus() 310 final String tlsHostname = strictMode ? privateDnsCfg.hostname : null; in updatePrivateDnsStatus() 371 final PrivateDnsConfig privateDnsCfg = mPrivateDnsMap.getOrDefault(netId, in sendDnsConfigurationForNetwork() local 373 final boolean useTls = privateDnsCfg.mode != PRIVATE_DNS_MODE_OFF; in sendDnsConfigurationForNetwork() 374 final boolean strictMode = privateDnsCfg.inStrictMode(); in sendDnsConfigurationForNetwork() 383 paramsParcel.tlsName = strictMode ? privateDnsCfg.hostname : ""; in sendDnsConfigurationForNetwork() 386 Arrays.stream(privateDnsCfg.ips) in sendDnsConfigurationForNetwork()
|
D | NetworkDiagnostics.java | 196 @NonNull PrivateDnsConfig privateDnsCfg, long timeoutMs) { in NetworkDiagnostics() argument 199 mPrivateDnsCfg = privateDnsCfg; in NetworkDiagnostics()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 4164 PrivateDnsConfig privateDnsCfg = mDnsManager.getPrivateDnsConfig(nai.network); 4169 privateDnsCfg,
|