/external/dhcpcd/dhcpcd-hooks/ |
20-dns.conf | 23 for dnsaddr in ${new_domain_name_servers}; do 24 setprop dhcp.${intf}.dns${count} ${dnsaddr}
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DataCallResponse.java | 179 for (String dnsAddr : dnsServers) { 180 dnsAddr = dnsAddr.trim(); 181 if (dnsAddr.isEmpty()) continue; 184 ia = NetworkUtils.numericToInetAddress(dnsAddr); 186 throw new UnknownHostException("Non-numeric dns addr=" + dnsAddr);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
AccessPointParserHelper.java | 337 String dnsAddr = new String(ch, start, length); 338 if (!InetAddress.isNumeric(dnsAddr)) { 341 mLinkProperties.addDns(InetAddress.getByName(dnsAddr)); 349 String dnsAddr = new String(ch, start, length); 350 if (!InetAddress.isNumeric(dnsAddr)) { 353 mLinkProperties.addDns(InetAddress.getByName(dnsAddr));
|
/external/ppp/pppd/ |
ipcp.c | 354 if (ipcp_allowoptions[0].dnsaddr[1] == 0) 355 ipcp_allowoptions[0].dnsaddr[0] = dns; 357 ipcp_allowoptions[0].dnsaddr[0] = ipcp_allowoptions[0].dnsaddr[1]; 360 ipcp_allowoptions[0].dnsaddr[1] = dns; 822 ADDCIDNS(CI_MS_DNS1, go->req_dns1, go->dnsaddr[0]); 824 ADDCIDNS(CI_MS_DNS2, go->req_dns2, go->dnsaddr[1]); 937 ACKCIDNS(CI_MS_DNS1, go->req_dns1, go->dnsaddr[0]); 939 ACKCIDNS(CI_MS_DNS2, go->req_dns2, go->dnsaddr[1]); 1103 try.dnsaddr[0] = cidnsaddr [all...] |
ipcp.h | 84 u_int32_t dnsaddr[2]; /* Primary and secondary MS DNS entries */ member in struct:ipcp_options
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | 518 InetAddress dnsAddr = null; 525 dnsAddr = NetworkUtils.numericToInetAddress(dns); 529 linkProperties.addDns(dnsAddr); 535 dnsAddr = NetworkUtils.numericToInetAddress(dns); 539 linkProperties.addDns(dnsAddr); [all...] |
/external/mdnsresponder/mDNSPosix/ |
mDNSPosix.c | 513 mDNSAddr DNSAddr; 514 DNSAddr.type = mDNSAddrType_IPv4; 515 DNSAddr.ip.v4.NotAnInteger = ina.s_addr; 516 mDNS_AddDNSServer(m, NULL, mDNSInterface_Any, &DNSAddr, UnicastDNSPort, mDNSfalse, 0); [all...] |