/frameworks/base/core/java/android/net/ |
DhcpInfo.java | 32 public int dns2; field in class:DhcpInfo 48 dns2 = source.dns2; 61 str.append(" dns2 "); putAddress(str, dns2); 83 dest.writeInt(dns2); 97 info.dns2 = in.readInt();
|
DhcpInfoInternal.java | 40 public String dns2; field in class:DhcpInfoInternal 85 info.dns2 = convertToInt(dns2); 111 if (TextUtils.isEmpty(dns2) == false) { 112 p.addDns(NetworkUtils.numericToInetAddress(dns2)); 114 Log.d(TAG, "makeLinkProperties with empty dns2!"); 130 if (TextUtils.isEmpty(dns2)) { 131 dns2 = orig.dns2; 146 " dns: " + dns1 + "," + dns2 [all...] |
/system/core/nexus/ |
DhcpListener.cpp | 65 struct in_addr ipaddr, netmask, gateway, broadcast, dns1, dns2; local 82 if (!inet_aton(strsep(&next, ":"), &dns2)) { 83 LOGW("Malformatted dns2 specified"); 86 &broadcast, &gateway, &dns1, &dns2);
|
/frameworks/base/core/jni/ |
android_net_NetUtils.cpp | 36 const char *dns2, 45 const char *dns2, 68 jfieldID dns2; member in struct:android::fieldIds 116 char dns2[PROPERTY_VALUE_MAX]; local 125 dns1, dns2, server, &lease); 128 dns1, dns2, server, &lease); 160 env->SetObjectField(info, dhcpInfoInternalFieldIds.dns2, env->NewStringUTF(dns2)); 230 dhcpInfoInternalFieldIds.dns2 = env->GetFieldID(dhcpInfoInternalClass, "dns2", "Ljava/lang/String;") [all...] |
/system/core/libnetutils/ |
dhcpclient.c | 108 uint32_t dns2; member in struct:dhcp_info 117 uint32_t *dns1, uint32_t *dns2, uint32_t *server, 124 *dns2 = last_good_info.dns2; 133 info->dns1, info->dns2); 160 if (info->dns2) LOGD("dns2: %s", ipaddr(info->dns2)); 207 if (optlen >= 8) memcpy(&info->dns2, x + 4, 4);
|
/system/netd/ |
CommandListener.cpp | 648 struct in_addr l, r, dns1, dns2; local 651 memset(&dns2, sizeof(struct in_addr), 0); 665 if ((argc > 4) && (!inet_aton(argv[6], &dns2))) { 666 cli->sendMsg(ResponseCode::CommandParameterError, "Invalid dns2 address", false); 669 rc = sPppCtrl->attachPppd(argv[2], l, r, dns1, dns2); 799 } else if (!strcmp(argv[1], "setifdns")) { // "resolver setifdns <iface> <dns1> <dns2> ..." [all...] |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |