Home
last modified time | relevance | path

Searched refs:dnsServers (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java96 public List<String> dnsServers; field in VpnConfig
124 dnsServers = copyOf(other.dnsServers); in VpnConfig()
184 out.writeStringList(dnsServers); in writeToParcel()
213 config.dnsServers = in.createStringArrayList();
248 .append(", dns=").append(toString(dnsServers)) in toString()
DVpnProfile.java105 public String dnsServers = ""; // 5 field in VpnProfile
197 dnsServers = in.readString(); in VpnProfile()
253 out.writeString(dnsServers); in writeToParcel()
363 profile.dnsServers = values[5]; in decode()
423 builder.append(VALUE_DELIMITER).append(dnsServers); in encode()
539 return !TextUtils.isEmpty(dnsServers); in hasDns()
545 for (String dnsServer : dnsServers.split(" +")) { in areDnsAddressesNumeric()
558 key, type, server, username, password, dnsServers, searchDomains, routes, mppe, in hashCode()
580 && Objects.equals(dnsServers, other.dnsServers) in equals()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java253 final ArrayList<InetAddress> dnsServers = new ArrayList<>(); in getWifiConfiguration() local
254 dnsServers.add(getInetAddress(jsonConfig.getString("dns1"))); in getWifiConfiguration()
255 dnsServers.add(getInetAddress(jsonConfig.getString("dns2"))); in getWifiConfiguration()
256 builder.setDnsServers(dnsServers); in getWifiConfiguration()
/frameworks/base/services/tests/VpnTests/java/com/android/internal/net/
DVpnProfileTest.java68 assertEquals("", p.dnsServers); in testDefaults()
102 p.dnsServers = "8.8.8.8"; in getSampleIkev2Profile()
139 p.dnsServers = "8.8.8.8"; in getSampleIkev2ProfileWithIkeTunConnParams()
/frameworks/base/core/java/android/net/
DVpnService.java715 if (mConfig.dnsServers == null) { in addDnsServer()
716 mConfig.dnsServers = new ArrayList<String>(); in addDnsServer()
718 mConfig.dnsServers.add(address.getHostAddress()); in addDnsServer()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DWifiEntry.java545 public List<String> dnsServers = new ArrayList<>(); field in WifiEntry.ConnectedInfo
565 dnsServers = new ArrayList<>(dnsServers); in ConnectedInfo()
1158 mConnectedInfo.dnsServers = linkProperties.getDnsServers().stream() in updateLinkProperties()
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/
DLockdownVpnTrackerTest.java110 profile.dnsServers = "8.8.8.8"; in createTestVpnProfile()
/frameworks/base/services/tests/VpnTests/java/com/android/server/
DVpnManagerServiceTest.java303 profile.dnsServers = "8.8.8.8"; in setupVpnProfile()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java1495 if (mConfig.dnsServers != null) { in makeLinkProperties()
1496 for (String dnsServer : mConfig.dnsServers) { in makeLinkProperties()
2998 if (mConfig.dnsServers == null) mConfig.dnsServers = new ArrayList<>(); in onChildOpened()
2999 mConfig.dnsServers.clear(); in onChildOpened()
3000 mConfig.dnsServers.addAll(dnsAddrStrings); in onChildOpened()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72559 Lcom/android/internal/net/VpnConfig;->dnsServers:Ljava/util/List;
72583 Lcom/android/internal/net/VpnProfile;->dnsServers:Ljava/lang/String;