Searched refs:PrivateDnsConfig (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/net/java/android/net/shared/ |
D | PrivateDnsConfig.java | 29 public class PrivateDnsConfig { class 34 public PrivateDnsConfig() { in PrivateDnsConfig() method in PrivateDnsConfig 38 public PrivateDnsConfig(boolean useTls) { in PrivateDnsConfig() method in PrivateDnsConfig 44 public PrivateDnsConfig(String hostname, InetAddress[] ips) { in PrivateDnsConfig() method in PrivateDnsConfig 50 public PrivateDnsConfig(PrivateDnsConfig cfg) { in PrivateDnsConfig() method in PrivateDnsConfig 65 return PrivateDnsConfig.class.getSimpleName() in toString() 84 public static PrivateDnsConfig fromParcel(PrivateDnsConfigParcel parcel) { in fromParcel() 88 return new PrivateDnsConfig(parcel.hostname, ips); in fromParcel()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DnsManager.java | 39 import android.net.shared.PrivateDnsConfig; 116 private static final PrivateDnsConfig PRIVATE_DNS_OFF = new PrivateDnsConfig(); 124 public static PrivateDnsConfig getPrivateDnsConfig(ContentResolver cr) { in getPrivateDnsConfig() 131 return new PrivateDnsConfig(specifier, null); in getPrivateDnsConfig() 134 return new PrivateDnsConfig(useTls); in getPrivateDnsConfig() 238 private final Map<Integer, PrivateDnsConfig> mPrivateDnsMap; 261 public PrivateDnsConfig getPrivateDnsConfig() { in getPrivateDnsConfig() 270 public PrivateDnsConfig updatePrivateDns(Network network, PrivateDnsConfig cfg) { in updatePrivateDns() 280 final PrivateDnsConfig privateDnsCfg = mPrivateDnsMap.getOrDefault(netId, in updatePrivateDnsStatus() 320 final PrivateDnsConfig privateDnsCfg = mPrivateDnsMap.getOrDefault(netId, in setDnsConfigurationForNetwork()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 38 import android.net.shared.PrivateDnsConfig; 134 new PrivateDnsConfig("strictmode.com", new InetAddress[] { in testTrackedValidationUpdates() 240 final PrivateDnsConfig cfgAuto = DnsManager.getPrivateDnsConfig(mContentResolver); in testOverrideDefaultMode() 247 final PrivateDnsConfig cfgOff = DnsManager.getPrivateDnsConfig(mContentResolver); in testOverrideDefaultMode() 256 final PrivateDnsConfig cfgStrict = DnsManager.getPrivateDnsConfig(mContentResolver); in testOverrideDefaultMode()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ConnectivityService.java | 115 import android.net.shared.PrivateDnsConfig; 2725 updatePrivateDns(nai, (PrivateDnsConfig) msg.obj); in maybeHandleNetworkMonitorMessage() 2802 0, mNetId, PrivateDnsConfig.fromParcel(config))); in notifyPrivateDnsConfigResolved() 2843 final PrivateDnsConfig cfg = mDnsManager.getPrivateDnsConfig(); in handleFreshlyValidatedNetwork() 2850 final PrivateDnsConfig cfg = mDnsManager.getPrivateDnsConfig(); in handlePrivateDnsSettingsChanged() 2860 private void handlePerNetworkPrivateDnsConfig(NetworkAgentInfo nai, PrivateDnsConfig cfg) { in handlePerNetworkPrivateDnsConfig() 2876 private void updatePrivateDns(NetworkAgentInfo nai, PrivateDnsConfig newCfg) { in updatePrivateDns()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 156 import android.net.shared.PrivateDnsConfig; 5077 new PrivateDnsConfig(TLS_SPECIFIER, TLS_IPS).toParcel()); in testBasicDnsConfigurationPushed()
|
/frameworks/base/services/ |
D | art-profile | 221 HSPLandroid/net/shared/PrivateDnsConfig;-><init>()V 222 HSPLandroid/net/shared/PrivateDnsConfig;->inStrictMode()Z 223 HSPLandroid/net/shared/PrivateDnsConfig;->toParcel()Landroid/net/PrivateDnsConfigParcel; 224 HSPLandroid/net/shared/PrivateDnsConfig;->toString()Ljava/lang/String; 830 …DnsConfig(Lcom/android/server/connectivity/NetworkAgentInfo;Landroid/net/shared/PrivateDnsConfig;)V 5376 …android/server/connectivity/DnsManager;->getPrivateDnsConfig()Landroid/net/shared/PrivateDnsConfig; 5377 …nager;->getPrivateDnsConfig(Landroid/content/ContentResolver;)Landroid/net/shared/PrivateDnsConfig; 5384 …vateDns(Landroid/net/Network;Landroid/net/shared/PrivateDnsConfig;)Landroid/net/shared/PrivateDnsC… 18095 Landroid/net/shared/PrivateDnsConfig;
|