Searched refs:dnsServer (Results 1 – 8 of 8) sorted by relevance
130 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()
333 public boolean addDnsServer(InetAddress dnsServer) { in addDnsServer() argument334 if (dnsServer != null && !mDnses.contains(dnsServer)) { in addDnsServer()335 mDnses.add(dnsServer); in addDnsServer()348 public boolean removeDnsServer(InetAddress dnsServer) { in removeDnsServer() argument349 if (dnsServer != null) { in removeDnsServer()350 return mDnses.remove(dnsServer); in removeDnsServer()364 for (InetAddress dnsServer: dnsServers) { in setDnsServers()365 addDnsServer(dnsServer); in setDnsServers()
45 for (Inet4Address dnsServer: mDnsServers) { in toString()46 dnsServers += dnsServer + " "; in toString()
43 for (Inet4Address dnsServer: mDnsServers) { in toString()44 dnsServers += dnsServer.toString() + " "; in toString()
243 for (InetAddress dnsServer : lp.getDnsServers()) { in getIPv6OnlyLinkProperties()244 if (isIPv6GlobalAddress(dnsServer)) { in getIPv6OnlyLinkProperties()246 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
132 final Inet6Address dnsServer = getLocalDnsIpFor(prefix); in updateUpstreamIPv6LinkProperties() local133 if (dnsServer != null) { in updateUpstreamIPv6LinkProperties()134 params.dnses.add(dnsServer); in updateUpstreamIPv6LinkProperties()
187 for (String dnsServer : dnsServers.split(" +")) { in isValidLockdownProfile()
612 for (String dnsServer : mConfig.dnsServers) { in makeLinkProperties()613 InetAddress address = InetAddress.parseNumericAddress(dnsServer); in makeLinkProperties()