Home
last modified time | relevance | path

Searched refs:dnsServer (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java130 for (InetAddress dnsServer : dnsServers) { in toString()
131 str.append(" ").append(dnsServer.getHostAddress()); in toString()
187 for (InetAddress dnsServer : dnsServers) { in writeToParcel()
188 NetworkUtils.parcelInetAddress(dest, dnsServer, flags); in writeToParcel()
DLinkProperties.java333 public boolean addDnsServer(InetAddress dnsServer) { in addDnsServer() argument
334 if (dnsServer != null && !mDnses.contains(dnsServer)) { in addDnsServer()
335 mDnses.add(dnsServer); in addDnsServer()
348 public boolean removeDnsServer(InetAddress dnsServer) { in removeDnsServer() argument
349 if (dnsServer != null) { in removeDnsServer()
350 return mDnses.remove(dnsServer); in removeDnsServer()
364 for (InetAddress dnsServer: dnsServers) { in setDnsServers()
365 addDnsServer(dnsServer); in setDnsServers()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpOfferPacket.java45 for (Inet4Address dnsServer: mDnsServers) { in toString()
46 dnsServers += dnsServer + " "; in toString()
DDhcpAckPacket.java43 for (Inet4Address dnsServer: mDnsServers) { in toString()
44 dnsServers += dnsServer.toString() + " "; in toString()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DIPv6TetheringCoordinator.java243 for (InetAddress dnsServer : lp.getDnsServers()) { in getIPv6OnlyLinkProperties()
244 if (isIPv6GlobalAddress(dnsServer)) { in getIPv6OnlyLinkProperties()
246 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
DIPv6TetheringInterfaceServices.java132 final Inet6Address dnsServer = getLocalDnsIpFor(prefix); in updateUpstreamIPv6LinkProperties() local
133 if (dnsServer != null) { in updateUpstreamIPv6LinkProperties()
134 params.dnses.add(dnsServer); in updateUpstreamIPv6LinkProperties()
/frameworks/base/core/java/com/android/internal/net/
DVpnProfile.java187 for (String dnsServer : dnsServers.split(" +")) { in isValidLockdownProfile()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java612 for (String dnsServer : mConfig.dnsServers) { in makeLinkProperties()
613 InetAddress address = InetAddress.parseNumericAddress(dnsServer); in makeLinkProperties()