Searched refs:dnsServer (Results 1 – 6 of 6) sorted by relevance
381 public boolean addDnsServer(@NonNull InetAddress dnsServer) { in addDnsServer() argument382 if (dnsServer != null && !mDnses.contains(dnsServer)) { in addDnsServer()383 mDnses.add(dnsServer); in addDnsServer()398 public boolean removeDnsServer(@NonNull InetAddress dnsServer) { in removeDnsServer() argument399 return mDnses.remove(dnsServer); in removeDnsServer()410 for (InetAddress dnsServer: dnsServers) { in setDnsServers()411 addDnsServer(dnsServer); in setDnsServers()509 public boolean addValidatedPrivateDnsServer(@NonNull InetAddress dnsServer) { in addValidatedPrivateDnsServer() argument510 if (dnsServer != null && !mValidatedPrivateDnses.contains(dnsServer)) { in addValidatedPrivateDnsServer()511 mValidatedPrivateDnses.add(dnsServer); in addValidatedPrivateDnsServer()[all …]
256 for (InetAddress dnsServer : dnsServers) { in toString()257 str.append(" ").append(dnsServer.getHostAddress()); in toString()314 for (InetAddress dnsServer : dnsServers) { in writeToParcel()315 InetAddressUtils.parcelInetAddress(dest, dnsServer, flags); in writeToParcel()
251 for (InetAddress dnsServer : lp.getDnsServers()) { in getIPv6OnlyLinkProperties()252 if (isIPv6GlobalAddress(dnsServer)) { in getIPv6OnlyLinkProperties()254 v6only.addDnsServer(dnsServer); in getIPv6OnlyLinkProperties()
524 @NonNull final Inet4Address dnsServer, @NonNull LinkAddress serverAddr, in makeServingParams() argument531 .setDnsServers(dnsServer) in makeServingParams()722 final Inet6Address dnsServer = getLocalDnsIpFor(prefix); in updateUpstreamIPv6LinkProperties() local723 if (dnsServer != null) { in updateUpstreamIPv6LinkProperties()724 params.dnses.add(dnsServer); in updateUpstreamIPv6LinkProperties()
416 for (String dnsServer : dnsServers.split(" +")) { in areDnsAddressesNumeric()417 InetAddress.parseNumericAddress(dnsServer); in areDnsAddressesNumeric()
1032 for (String dnsServer : mConfig.dnsServers) {1033 InetAddress address = InetAddress.parseNumericAddress(dnsServer);