/system/netd/server/ |
PppController.h | 35 struct in_addr remote, struct in_addr dns1,
|
PppController.cpp | 52 struct in_addr remote, struct in_addr dns1, 82 char *d1 = strdup(inet_ntoa(dns1));
|
CommandListener.cpp | 713 struct in_addr l, r, dns1, dns2; local 715 memset(&dns1, 0, sizeof(struct in_addr)); 726 if ((argc > 3) && (!inet_aton(argv[5], &dns1))) { 727 cli->sendMsg(ResponseCode::CommandParameterError, "Invalid dns1 address", false); 734 rc = gCtls->pppCtrl.attachPppd(argv[2], l, r, dns1, dns2); 844 // "resolver setnetdns <netId> <domains> <dns1> [<dns2> ...] [--params <params>]" [all...] |
/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 29 public int dns1; field in class:DhcpInfo 45 dns1 = source.dns1; 58 str.append(" dns1 "); putAddress(str, dns1); 80 dest.writeInt(dns1); 94 info.dns1 = in.readInt();
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
wifi.h | 119 * @param dns1 return the IPV4 address of a DNS server 127 int *dns1, int *dns2, int *server, int *lease);
|
/system/core/libnetutils/ |
dhcpclient.c | 107 uint32_t dns1; member in struct:dhcp_info 117 uint32_t *dns1, uint32_t *dns2, uint32_t *server, 123 *dns1 = last_good_info.dns1; 133 info->dns1, info->dns2); 159 if (info->dns1) ALOGD("dns1: %s", ipaddr(info->dns1)); 210 if (optlen >= 4) memcpy(&info->dns1, x + 0, 4);
|
ifc_utils.c | 695 in_addr_t dns1, 725 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns1", ifname); 726 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : "");
|
/cts/tests/tests/net/src/android/net/cts/ |
DhcpInfoTest.java | 29 String expectedDefault = "ipaddr 0.0.0.0 gateway 0.0.0.0 netmask 0.0.0.0 dns1 0.0.0.0 " 37 + STR_ADDR3 + " dns1 " + STR_ADDR4 + " dns2 " + STR_ADDR4 + " DHCP server " 48 dhcpInfo.dns1 = 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): 154 stanza = ['CALL:MS:DNSServer:PRIMary:IP:ADDRess "%s"' % dns1]
|
base_station_pxt.py | 129 def SetUeDnsV4(self, dns1, dns2):
|
/system/core/include/netutils/ |
ifc.h | 60 in_addr_t dns1, in_addr_t dns2);
|
/system/netd/tests/ |
netd_test.cpp | 641 test::DNSResponder dns1(listen_addr1, listen_srv, 250, 644 dns1.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::6"); 646 ASSERT_TRUE(dns1.startServer()); 674 dns1.clearQueries(); 677 EXPECT_EQ(1U, GetNumQueries(dns1, host_name)); 692 test::DNSResponder dns1(listen_addr1, listen_srv, 250, 697 dns1.addMapping(host_name, ns_type::ns_t_aaaa, "2001:db8::6"); 700 ASSERT_TRUE(dns1.startServer()); 705 thread = std::thread([this, &servers, &dns0, &dns1, &dns2]() {
|
/device/google/dragon/ |
aosp_dragon.mk | 25 net.dns1=8.8.8.8 \
|
/device/htc/flounder/ |
aosp_flounder.mk | 31 net.dns1=8.8.8.8 \
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
AdvancedWifiOptionsFlow.java | 188 mPageHandler.addPage(WifiFormPageType.DNS1); 190 case DNS1: 262 case DNS1: 282 case DNS1: 420 String dns1 = mDns1Page.getDataSummary(); local 421 if (!TextUtils.isEmpty(dns1)) { 424 (Inet4Address) NetworkUtils.numericToInetAddress(dns1));
|
/development/scripts/ |
reverse_tether.sh | 24 : ${DNS1:=8.8.8.8} 68 echo " -d dns1 dns2 DNS1=$DNS1" 129 $ADB shell "setprop net.dns1 $DNS1" 140 DNS1=`$ADB shell getprop net.${PHONE_DEV}.dns1` 141 $ADB shell "setprop net.dns1 $DNS1" [all...] |
/hardware/libhardware_legacy/wifi/ |
wifi.c | 172 int *dns1, int *dns2, int *server, int *lease) { 185 get_dhcp_info(ipaddr, gateway, mask, dns1, dns2, server, lease);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
JsonBuilder.java | 510 result.put("dns1", data.dns1); [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiServiceImpl.java | [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigController.java | [all...] |
/external/robolectric/v1/lib/main/ |
android.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.2.2_r1.2-robolectric-0.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |