Searched refs:useTls (Results 1 – 4 of 4) sorted by relevance
30 public final boolean useTls; field in PrivateDnsConfig38 public PrivateDnsConfig(boolean useTls) { in PrivateDnsConfig() argument39 this.useTls = useTls; in PrivateDnsConfig()45 this.useTls = !TextUtils.isEmpty(hostname); in PrivateDnsConfig()46 this.hostname = useTls ? hostname : ""; in PrivateDnsConfig()51 useTls = cfg.useTls; in PrivateDnsConfig()60 return useTls && !TextUtils.isEmpty(hostname); in inStrictMode()66 + "{" + useTls + ":" + hostname + "/" + Arrays.toString(ips) + "}"; in toString()
136 final boolean useTls = mode != PRIVATE_DNS_MODE_OFF; in getPrivateDnsConfig()144 return new PrivateDnsConfig(useTls); in getPrivateDnsConfig()304 final boolean useTls = privateDnsCfg.useTls; in updatePrivateDnsStatus()306 useTls ? mPrivateDnsValidationMap.get(netId) : null; in updatePrivateDnsStatus()368 final boolean useTls = privateDnsCfg.useTls; in sendDnsConfigurationForNetwork()384 : useTls ? paramsParcel.servers // Opportunistic in sendDnsConfigurationForNetwork()389 if (useTls) { in sendDnsConfigurationForNetwork()
326 assertTrue(cfgAuto.useTls); in testOverrideDefaultMode()333 assertFalse(cfgOff.useTls); in testOverrideDefaultMode()341 assertTrue(cfgStrict.useTls); in testOverrideDefaultMode()412 assertFalse(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()424 assertTrue(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()432 assertTrue(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()439 assertFalse(privateDnsCfg.useTls); in testGetPrivateDnsConfigForNetwork()
3692 if (cfg.useTls && TextUtils.isEmpty(cfg.hostname)) { in handleFreshlyValidatedNetwork()