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()
127 final boolean useTls = !TextUtils.isEmpty(mode) && !PRIVATE_DNS_MODE_OFF.equals(mode); in getPrivateDnsConfig()134 return new PrivateDnsConfig(useTls); in getPrivateDnsConfig()283 final boolean useTls = privateDnsCfg.useTls; in updatePrivateDnsStatus()285 useTls ? mPrivateDnsValidationMap.get(netId) : null; in updatePrivateDnsStatus()323 final boolean useTls = privateDnsCfg.useTls; in setDnsConfigurationForNetwork()338 : useTls ? paramsParcel.servers // Opportunistic in setDnsConfigurationForNetwork()343 if (useTls) { in setDnsConfigurationForNetwork()
241 assertTrue(cfgAuto.useTls); in testOverrideDefaultMode()248 assertFalse(cfgOff.useTls); in testOverrideDefaultMode()257 assertTrue(cfgStrict.useTls); in testOverrideDefaultMode()
2844 if (cfg.useTls && TextUtils.isEmpty(cfg.hostname)) { in handleFreshlyValidatedNetwork()