/system/netd/server/ |
PppController.h | 36 struct in_addr dns2);
|
PppController.cpp | 53 struct in_addr dns2) { 83 char *d2 = strdup(inet_ntoa(dns2));
|
CommandListener.cpp | 569 struct in_addr l, r, dns1, dns2; local 572 memset(&dns2, 0, sizeof(struct in_addr)); 586 if ((argc > 4) && (!inet_aton(argv[6], &dns2))) { 587 cli->sendMsg(ResponseCode::CommandParameterError, "Invalid dns2 address", false); 590 rc = gCtls->pppCtrl.attachPppd(argv[2], l, r, dns1, dns2); 654 // "resolver setnetdns <netId> <domains> <dns1> [<dns2> ...] [--params <params>]" [all...] |
/device/generic/goldfish/ |
init.goldfish.sh | 48 2) setprop net.eth0.dns2 10.0.2.4 50 3) setprop net.eth0.dns2 10.0.2.4 53 4) setprop net.eth0.dns2 10.0.2.4
|
/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 30 public int dns2; field in class:DhcpInfo 46 dns2 = source.dns2; 59 str.append(" dns2 "); putAddress(str, dns2); 81 dest.writeInt(dns2); 95 info.dns2 = in.readInt();
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
AdvancedOptionsFlowUtil.java | 148 String dns2 = flowInfo.get(AdvancedOptionsFlowInfo.DNS2); local 149 if (!TextUtils.isEmpty(dns2)) { 152 NetworkUtils.numericToInetAddress(dns2));
|
/system/core/libnetutils/ |
dhcpclient.c | 106 uint32_t dns2; member in struct:dhcp_info 115 uint32_t *dns1, uint32_t *dns2, uint32_t *server, 122 *dns2 = last_good_info.dns2; 131 info->dns1, info->dns2); 158 if (info->dns2) ALOGD("dns2: %s", ipaddr(info->dns2)); 209 if (optlen >= 8) memcpy(&info->dns2, x + 4, 4);
|
ifc_utils.c | 692 in_addr_t dns2) { 723 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns2", ifname); 724 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : "");
|
/cts/tests/tests/net/src/android/net/cts/ |
DhcpInfoTest.java | 30 + "dns2 0.0.0.0 DHCP server 0.0.0.0 lease 0 seconds"; 37 + STR_ADDR3 + " dns1 " + STR_ADDR4 + " dns2 " + STR_ADDR4 + " DHCP server " 49 dhcpInfo.dns2 = ipToInteger(STR_ADDR4);
|
/external/autotest/client/cros/cellular/ |
base_station_interface.py | 55 def SetUeDnsV4(self, dns1, dns2):
|
base_station_8960.py | 152 def SetUeDnsV4(self, dns1, dns2): 155 if dns2: 156 stanza.append('CALL:MS:DNSServer:SECondary:IP:ADDRess "%s"' % dns2)
|
base_station_pxt.py | 129 def SetUeDnsV4(self, dns1, dns2):
|
/system/core/libnetutils/include/netutils/ |
ifc.h | 60 in_addr_t dns1, in_addr_t dns2);
|
/system/netd/tests/ |
netd_test.cpp | 386 test::DNSResponder dns2(listen_addr2, listen_srv, 250, 388 dns2.addMapping(host_name, ns_type::ns_t_a, "1.2.3.4"); 389 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "::1.2.3.4"); 390 ASSERT_TRUE(dns2.startServer()); 396 dns2.clearQueries(); 429 dns2.clearQueries(); 433 size_t found2 = GetNumQueries(dns2, host_name); 447 dns2.stopServer(); 606 test::DNSResponder dns2(listen_addr2, listen_srv, 250, 610 dns2.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::7") [all...] |
/external/curl/lib/ |
hostip.c | 386 struct Curl_dns_entry *dns2; local 409 dns2 = Curl_hash_add(data->dns.hostcache, entry_id, entry_len + 1, 411 if(!dns2) { 417 dns = dns2;
|
/development/scripts/ |
reverse_tether.sh | 25 : ${DNS2:=8.8.4.4} 68 echo " -d dns1 dns2 DNS1=$DNS1" 69 echo " DNS2=$DNS2" 130 $ADB shell "setprop net.dns2 $DNS2" 142 DNS2=`$ADB shell getprop net.${PHONE_DEV}.dns2` 143 $ADB shell "setprop net.dns2 $DNS2" [all...] |
/external/syslinux/core/lwip/src/netif/ppp/ |
ppp.h | 339 ip_addr_t our_ipaddr, his_ipaddr, netmask, dns1, dns2; member in struct:ppp_addrs
|
ppp.c | [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 533 result.put("dns2", data.dns2); [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiServiceImpl.java | [all...] |
/external/robolectric/v1/lib/main/ |
android.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/prebuilts/misc/common/robolectric/android-all/ |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/prebuilts/sdk/12/ |
android.jar | |