/frameworks/base/core/tests/ConnectivityManagerTest/assets/ |
accesspoints.xml | 23 <dns1>192.168.14.1</dns1>
|
/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 31 public int dns1; field in class:DhcpInfo 47 dns1 = source.dns1; 60 str.append(" dns1 "); putAddress(str, dns1); 82 dest.writeInt(dns1); 96 info.dns1 = in.readInt();
|
DhcpInfoInternal.java | 38 public String dns1; field in class:DhcpInfoInternal 88 info.dns1 = convertToInt(dns1); 110 if (TextUtils.isEmpty(dns1) == false) { 111 p.addDns(NetworkUtils.numericToInetAddress(dns1)); 113 Log.d(TAG, "makeLinkProperties with empty dns1!"); 130 if (TextUtils.isEmpty(dns1)) { 131 dns1 = orig.dns1; 162 " dns: " + dns1 + "," + dns2 [all...] |
/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);
|
/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...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
LinkPropertiesTest.java | 29 private static String DNS1 = "75.208.7.1"; 56 source.addDns(NetworkUtils.numericToInetAddress(DNS1)); 70 target.addDns(NetworkUtils.numericToInetAddress(DNS1)); 85 target.addDns(NetworkUtils.numericToInetAddress(DNS1)); 98 target.addDns(NetworkUtils.numericToInetAddress(DNS1)); 123 target.addDns(NetworkUtils.numericToInetAddress(DNS1)); 147 source.addDns(NetworkUtils.numericToInetAddress(DNS1)); 161 target.addDns(NetworkUtils.numericToInetAddress(DNS1));
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 35 const char *dns1, 45 const char *dns1, 69 jfieldID dns1; member in struct:android::fieldIds 118 char dns1[PROPERTY_VALUE_MAX]; local 129 dns1, dns2, server, &lease, vendorInfo); 132 dns1, dns2, server, &lease, vendorInfo); 163 env->SetObjectField(info, dhcpInfoInternalFieldIds.dns1, env->NewStringUTF(dns1)); 234 dhcpInfoInternalFieldIds.dns1 = env->GetFieldID(dhcpInfoInternalClass, "dns1", "Ljava/lang/String;") [all...] |
/system/core/include/netutils/ |
dhcp.h | 30 char *dns1,
|
ifc.h | 67 in_addr_t dns1, in_addr_t dns2);
|
/system/core/libnetutils/ |
dhcp_utils.c | 37 * or for filling up system properties dhcpcd.<interface>.ipaddress, dhcpcd.<interface>.dns1 90 char *dns1, 140 snprintf(prop_name, sizeof(prop_name), "%s.%s.dns1", DHCP_PROP_NAME_PREFIX, p2p_interface); 141 property_get(prop_name, dns1, NULL); 179 char *dns1, 234 dns1, dns2, server, lease, vendorInfo) == -1) { 240 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns1", interface); 241 property_set(dns_prop_name, *dns1 ? ipaddr_to_string(*dns1) : ""); 328 char *dns1, [all...] |
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)); 206 if (optlen >= 4) memcpy(&info->dns1, x + 0, 4);
|
ifc_utils.c | 787 in_addr_t dns1, 817 snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns1", ifname); 818 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : "");
|
/device/ti/panda/ |
full_panda.mk | 33 net.dns1=8.8.8.8 \
|
/system/netd/ |
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 | 669 struct in_addr l, r, dns1, dns2; local 671 memset(&dns1, sizeof(struct in_addr), 0); 682 if ((argc > 3) && (!inet_aton(argv[5], &dns1))) { 683 cli->sendMsg(ResponseCode::CommandParameterError, "Invalid dns1 address", false); 690 rc = sPppCtrl->attachPppd(argv[2], l, r, dns1, dns2); 820 } else if (!strcmp(argv[1], "setifdns")) { // "resolver setifdns <iface> <dns1> <dns2> ..." [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
AccessPointParserHelper.java | 50 * Tags that can be used include: ip, gateway, networkprefixlength, dns1, dns2. All access points 111 boolean dns1 = false; 167 if (tagName.equalsIgnoreCase("dns1")) { 168 dns1 = true; 325 if (dns1) { 335 dns1 = false;
|
/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/rootdir/etc/ |
init.goldfish.rc | 10 setprop net.eth0.dns1 10.0.2.3
|
/build/target/board/vbox_x86/ |
init.vbox_x86.rc | 10 setprop net.eth0.dns1 10.0.2.3
|
/frameworks/base/cmds/ip-up-vpn/ |
ip-up-vpn.c | 79 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2"));
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DataCallState.java | 178 dnsServers[0] = SystemProperties.get(propertyPrefix + "dns1");
|
/packages/apps/Settings/res/layout/ |
wifi_dialog.xml | 310 <EditText android:id="@+id/dns1"
|
/bionic/libc/docs/ |
OVERVIEW.TXT | 286 'net.dns1', 'net.dns2', etc.. Each property should contain the IP 293 properties 'net.dns1.<pid>', 'net.dns2.<pid>', etc... Where <pid> stands
|
/frameworks/native/cmds/dumpstate/ |
dumpstate.c | 191 property_get("dhcp.wlan0.dns1", network, ""); 193 run_command("PING DNS1", 10, SU_PATH, "root", "ping", "-c", "3", "-i", ".5", network, NULL);
|