Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/dhcp/
DDhcpOfferPacket.java45 String dnsServers = ", DNS servers: "; in toString() local
49 dnsServers += dnsServer + " "; in toString()
54 dnsServers + ", gateway " + mGateway + in toString()
DDhcpAckPacket.java44 String dnsServers = " DNS servers: "; in toString() local
47 dnsServers += dnsServer.toString() + " "; in toString()
52 ", gateway " + mGateway + dnsServers + in toString()
DDhcpPacket.java564 List<InetAddress> dnsServers = new ArrayList<InetAddress>(); in decodeFullPacket() local
691 dnsServers.add(readIpAddress(packet)); in decodeFullPacket()
795 newPacket.mDnsServers = dnsServers; in decodeFullPacket()
836 InetAddress gateway, List<InetAddress> dnsServers, in buildOfferPacket() argument
841 pkt.mDnsServers = dnsServers; in buildOfferPacket()
856 InetAddress gateway, List<InetAddress> dnsServers, in buildAckPacket() argument
861 pkt.mDnsServers = dnsServers; in buildAckPacket()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java63 public List<String> dnsServers; field in VpnConfig
81 out.writeStringList(dnsServers); in writeToParcel()
98 config.dnsServers = in.createStringArrayList();
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataCallState.java177 String dnsServers[] = new String[2]; in setLinkProperties() local
178 dnsServers[0] = SystemProperties.get(propertyPrefix + "dns1"); in setLinkProperties()
179 dnsServers[1] = SystemProperties.get(propertyPrefix + "dns2"); in setLinkProperties()
180 for (String dnsAddr : dnsServers) { in setLinkProperties()
DDataConnection.java566 String dnsServers[] = new String[2]; in setLinkProperties() local
567 dnsServers[0] = SystemProperties.get(propertyPrefix + "dns1"); in setLinkProperties()
568 dnsServers[1] = SystemProperties.get(propertyPrefix + "dns2"); in setLinkProperties()
569 okToUseSystemPropertyDns = isDnsOk(dnsServers); in setLinkProperties()
/frameworks/base/services/java/com/android/server/connectivity/
DVpn.java246 mCallback.override(config.dnsServers, config.searchDomains); in establish()
609 if (mConfig.dnsServers == null || mConfig.dnsServers.size() == 0) { in execute()
610 String dnsServers = parameters[3].trim(); in execute() local
611 if (!dnsServers.isEmpty()) { in execute()
612 mConfig.dnsServers = Arrays.asList(dnsServers.split(" ")); in execute()
639 mCallback.override(mConfig.dnsServers, mConfig.searchDomains); in execute()
DTethering.java1336 String[] dnsServers = mDefaultDnsServers; in chooseUpstreamType() local
1348 dnsServers = NetworkUtils.makeStrings(v4Dnses); in chooseUpstreamType()
1352 mNMService.setDnsForwarders(dnsServers); in chooseUpstreamType()
/frameworks/base/core/java/android/net/
DVpnService.java394 if (mConfig.dnsServers == null) { in addDnsServer()
395 mConfig.dnsServers = new ArrayList<String>(); in addDnsServer()
397 mConfig.dnsServers.add(address.getHostAddress()); in addDnsServer()
/frameworks/base/services/java/com/android/server/
DConnectivityService.java3039 public void override(List<String> dnsServers, List<String> searchDomains) { in override() argument
3040 if (dnsServers == null) { in override()
3047 for (String address : dnsServers) { in override()