Home
last modified time | relevance | path

Searched refs:PrivateDnsConfig (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/common/moduleutils/src/android/net/shared/
DPrivateDnsConfig.java29 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()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java115 import android.net.shared.PrivateDnsConfig;
1768 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns6.google",
1778 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns4.google",
1790 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns.google", new InetAddress[0]));
1803 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns.google", new InetAddress[0]));
1830 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns.google", new InetAddress[0]));
1853 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns.bad", new InetAddress[0]));
1866 wnm.notifyPrivateDnsSettingsChanged(new PrivateDnsConfig("dns.google",
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java45 import android.net.shared.PrivateDnsConfig;
596 mNm.notifyPrivateDnsSettingsChanged(PrivateDnsConfig.fromParcel(config)); in notifyPrivateDnsChanged()
/packages/modules/NetworkStack/common/moduleutils/
DAndroid.bp31 "src/android/net/shared/PrivateDnsConfig.java",
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java117 import android.net.shared.PrivateDnsConfig;
653 public void notifyPrivateDnsSettingsChanged(PrivateDnsConfig newCfg) { in notifyPrivateDnsSettingsChanged()
925 final PrivateDnsConfig cfg = (PrivateDnsConfig) message.obj; in processMessage()
1377 private PrivateDnsConfig mPrivateDnsConfig;
1459 mPrivateDnsConfig = new PrivateDnsConfig(mPrivateDnsProviderHostname, ips); in resolveStrictModeHostname()