HomeSort by relevance Sort by last modified time
    Searched refs:Dns (Results 1 - 23 of 23) sorted by null

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Dns.java 25 * {@linkplain #SYSTEM system DNS service}, which is the default. Some applications may provide
26 * their own implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4
31 public interface Dns {
33 * A DNS that uses {@link InetAddress#getAllByName} to ask the underlying operating system to
34 * lookup IP addresses. Most custom {@link Dns} implementations should delegate to this instance.
36 Dns SYSTEM = new Dns() {
Address.java 40 final Dns dns; field in class:Address
51 public Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory,
61 if (dns == null) throw new IllegalArgumentException("dns == null");
62 this.dns = dns;
115 public Dns getDns() {
116 return dns;
    [all...]
OkHttpClient.java 140 private Dns dns; field in class:OkHttpClient
171 this.dns = okHttpClient.dns;
308 * Sets the DNS service used to lookup IP addresses for hostnames.
310 * <p>If unset, the {@link Dns#SYSTEM system-wide default} DNS will be used.
312 public OkHttpClient setDns(Dns dns) {
313 this.dns = dns
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
SingleInetAddressDns.java 18 import com.squareup.okhttp.Dns;
29 public class SingleInetAddressDns implements Dns {
31 List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);
DoubleInetAddressDns.java 18 import com.squareup.okhttp.Dns;
28 public class DoubleInetAddressDns implements Dns {
30 List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);
  /external/okhttp/android/main/java/com/squareup/okhttp/internalandroidapi/
Dns.java 26 public interface Dns {
HttpURLConnectionFactory.java 57 private com.squareup.okhttp.Dns dns; field in class:HttpURLConnectionFactory
68 public void setDns(Dns dns) {
69 Objects.requireNonNull(dns);
70 this.dns = new DnsAdapter(dns);
128 if (dns != null) {
129 client.setDns(dns);
142 * Adapts a {@link Dns} as a {@link com.squareup.okhttp.Dns}
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
FakeDns.java 18 import com.squareup.okhttp.Dns;
28 public final class FakeDns implements Dns {
32 /** Sets the addresses to be returned by this fake DNS service. */
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
AddressTest.java 29 private Dns dns = Dns.SYSTEM; field in class:AddressTest
37 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null,
39 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null,
46 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null,
48 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null,
ConnectionPoolTest.java 201 return new Address(name, 1, Dns.SYSTEM, SocketFactory.getDefault(), null, null, null,
CallTest.java     [all...]
  /device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellNetwork1CommandsLib/
Ifconfig.c 117 L"dns",
449 // Get the size of dns server list.
475 // Get the dns server list if has.
714 // Print dns server addresses list of the interface if has.
840 EFI_IPv4_ADDRESS *Dns;
846 Dns = NULL;
1104 } else if (StrCmp (VarArg->Arg, L"dns") == 0) {
1106 // Get DNS addresses.
1116 Dns = AllocatePool (Index * sizeof (EFI_IPv4_ADDRESS));
1117 if (Dns == NULL) {
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
Ip4Config2Impl.h 159 EFI_IPv4_ADDRESS *DnsAddress; ///< DNS server address
160 UINT32 DnsAddressCount; ///< DNS server address count
207 UINT8 Dns;
Ip4Config2Impl.c 681 This worker function sets the DNS server list for the EFI IPv4 network
683 manages. The DNS server addresses must be unicast IPv4 addresses.
693 @retval EFI_ABORTED The DNS server addresses to be set equal the current
742 // The dns server address must be unicast.
854 // Parse the ACK to get required DNS server information.
877 // Look for DNS Server opcode (6).
1001 ParaList.Dns = DHCP4_TAG_DNS_SERVER;
    [all...]
  /frameworks/base/core/java/android/net/
Network.java 26 import com.android.okhttp.internalandroidapi.Dns;
89 // of Private DNS.
91 // When true, these calls will request that DNS resolution bypass any
92 // Private DNS that might otherwise apply. Use of this feature is restricted
93 // and permission checks are made by netd (attempts to bypass Private DNS
94 // without appropriate permission are silently turned into vanilla DNS
95 // requests). This only affects DNS queries made using this network object.
99 // Private DNS so that the intent of the code is easily determined and
144 * Specify whether or not Private DNS should be bypassed when attempting
155 * Returns a netid marked with the Private DNS bypass flag
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DebugEventSocketProxy.cs 96 System.Net.IPHostEntry hostInfo = System.Net.Dns.GetHostEntry("localhost");
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DebugEventSocketProxy.cs 103 System.Net.IPHostEntry hostInfo = System.Net.Dns.GetHostEntry( "localhost" );
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.2/
okhttp-2.7.2.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.7.4/
okhttp-2.7.4.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.3.0/
okhttp-3.3.0.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp3/okhttp/3.4.1/
okhttp-3.4.1.jar 
  /prebuilts/tools/common/m2/repository/com/koushikdutta/async/androidasync/2.1.3/
androidasync-2.1.3.jar 
  /frameworks/base/config/
preloaded-classes     [all...]

Completed in 448 milliseconds