/external/ppp/android/ |
ip-up-vpn.c | 77 char *dns = getenv("DNS1"); local 78 property_set("vpn.dns1", dns ? dns : ""); 79 dns = getenv("DNS2"); 80 property_set("vpn.dns2", dns ? dns : "");
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
GeneralName.java | 157 // according to RFC 3280 p.34 the DNS name should be 371 // DNS name [2] that can be constructed by simply adding 374 String dns = (String) name; local 376 if (dns.equalsIgnoreCase(_dns)) { 379 return _dns.toLowerCase().endsWith("." + dns.toLowerCase()); 578 * Checks the correctness of the string representation of DNS name. 582 public static void checkDNS(String dns) throws IOException { 583 byte[] bytes = dns.toLowerCase().getBytes(Charsets.UTF_8); 594 throw new IOException("DNS name must start with a letter: " + dns); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKIXNameConstraintValidator.java | 47 ASN1Sequence dns, 55 if (subtree.size() > dns.size()) 62 if (!subtree.getObjectAt(j).equals(dns.getObjectAt(j))) 71 public void checkPermittedDN(ASN1Sequence dns) 74 checkPermittedDN(permittedSubtreesDN, dns); 77 public void checkExcludedDN(ASN1Sequence dns) 80 checkExcludedDN(excludedSubtreesDN, dns); 83 private void checkPermittedDN(Set permitted, ASN1Sequence dns) 91 if (permitted.isEmpty() && dns.size() == 0) 101 if (withinDNSubtree(dns, subtree) 1035 String dns = extractNameAsString(((GeneralSubtree)it.next()) local [all...] |
RFC3280CertPathUtilities.java | 1185 ASN1Sequence dns; local [all...] |
/external/ppp/pppd/ |
ipcp.c | 92 static bool usepeerdns; /* Ask peer for DNS addrs */ 177 { "ms-dns", 1, (void *)setdnsaddr, 178 "DNS address for the peer's use" }, 210 "Ask peer for DNS address(es)", 1 }, 332 * setdnsaddr - set the dns address(es) 338 u_int32_t dns; local 341 dns = inet_addr(*argv); 342 if (dns == (u_int32_t) -1) { 344 option_error("invalid address parameter '%s' for ms-dns option", 348 dns = *(u_int32_t *)hp->h_addr [all...] |
/frameworks/base/services/java/com/android/server/ |
WifiWatchdogService.java | 52 * connects to an access point, the watchdog verifies whether the DNS server is 63 * DNS. There are settings that allow disabling the watchdog, or tweaking the 315 * Gets the DNS of the current AP. 317 * @return The DNS of the current AP. 329 * Checks whether the DNS can be reached using multiple attempts according 332 * @return Whether the DNS is reachable 335 int dns = getDns(); local 336 if (dns == -1) { 338 myLogV("checkDnsConnectivity: Invalid DNS, returning false"); 345 Integer.toHexString(Integer.reverseBytes(dns)) + " for connectivity") 424 int dns = getDns(); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 783 String[] dns = phone.getDnsServers(phone.getActiveApnTypes()[0]); local 784 if (dns != null) { 785 sb.append("\ndns: ").append(dns[0]).append(", ").append(dns[1]); [all...] |