Home
last modified time | relevance | path

Searched defs:hostname (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/main/java/libcore/net/
DNetworkSecurityPolicy.java129 public abstract boolean isCleartextTrafficPermitted(String hostname); in isCleartextTrafficPermitted()
147 public abstract boolean isCertificateTransparencyVerificationRequired(String hostname); in isCertificateTransparencyVerificationRequired()
162 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted()
167 public boolean isCertificateTransparencyVerificationRequired(String hostname) { in isCertificateTransparencyVerificationRequired()
/libcore/luni/src/main/java/java/net/
DAddressCache.java50 AddressCacheKey(String hostname, int netId) { in AddressCacheKey()
108 public Object get(String hostname, int netId) { in get()
123 public void put(String hostname, int netId, InetAddress[] addresses) { in put()
131 public void putUnknownHost(String hostname, int netId, String detailMessage) { in putUnknownHost()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java63 private final String hostname; field in SNIHostName
95 public SNIHostName(String hostname) { in SNIHostName()
369 SNIHostName hostname; in matches() local
DHostnameVerifier.java55 public boolean verify(String hostname, SSLSession session); in verify()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetSocketAddress.java46 public InetSocketAddress(java.lang.String hostname, int port) { in InetSocketAddress()
50 private InetSocketAddress(int port, java.lang.String hostname) { in InetSocketAddress()
58 private static java.lang.String checkHost(java.lang.String hostname) { in checkHost()
142 java.lang.String hostname, java.net.InetAddress addr, int port) { in InetSocketAddressHolder()
180 private java.lang.String hostname; field in InetSocketAddress.InetSocketAddressHolder
/libcore/ojluni/src/main/java/com/sun/net/ssl/internal/ssl/
DX509ExtendedTrustManager.java91 String authType, String hostname, String algorithm) in checkClientTrusted()
120 String authType, String hostname, String algorithm) in checkServerTrusted()
/libcore/ojluni/src/main/java/java/net/
DInetSocketAddress.java59 private String hostname; field in InetSocketAddress.InetSocketAddressHolder
65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { in InetSocketAddressHolder()
148 private static String checkHost(String hostname) { in checkHost()
230 public InetSocketAddress(String hostname, int port) { in InetSocketAddress()
243 private InetSocketAddress(int port, String hostname) { in InetSocketAddress()
DInetAddressImpl.java48 InetAddress[] lookupAllHostAddr(String hostname, int netId) throws UnknownHostException; in lookupAllHostAddr()
/libcore/luni/src/main/java/libcore/net/http/
DDns.java48 … @NonNull List<@NonNull InetAddress> lookup(@Nullable String hostname) throws UnknownHostException; in lookup()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java345 public void addHostMapping(String hostname, boolean isCleartextTrafficPermitted) { in addHostMapping()
355 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted()
364 public boolean isCertificateTransparencyVerificationRequired(String hostname) { in isCertificateTransparencyVerificationRequired()
/libcore/luni/src/main/native/
DPortability.h28 static inline int android_getaddrinfofornet(const char* hostname, const char* servname, in android_getaddrinfofornet()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java107 private final String hostname; field in TestSSLContext.HostnameRewritingObjectOutputStream
109 public HostnameRewritingObjectOutputStream(OutputStream out, String hostname) in HostnameRewritingObjectOutputStream()
122 private final String hostname; field in TestSSLContext.HostnameRewritingObjectOutputStream.PutFieldProxy
124 public PutFieldProxy(ObjectOutputStream.PutField delegate, String hostname) { in PutFieldProxy()
191 …public InetSocketAddress getLoopbackAsHostname(String hostname, int port) throws IOException, Clas… in getLoopbackAsHostname()
/libcore/ojluni/annotations/mmodule/java/net/
DInetSocketAddress.annotated.java41 public InetSocketAddress(java.lang.String hostname, int port) { throw new RuntimeException("Stub!")… in InetSocketAddress()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java146 String hostname = "www.example.com"; in testNullParameters() local
417 private boolean verifyWithDomainNamePattern(String hostname, String pattern) { in verifyWithDomainNamePattern()
437 private boolean verifyWithServerCertificate(String hostname, X509Certificate certificate) { in verifyWithServerCertificate()
/libcore/benchmarks/src/benchmarks/regression/
DHostnameVerifierBenchmark.java47 private String hostname; field in HostnameVerifierBenchmark
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DHttpsURLConnectionTest.java321 public boolean verify(String hostname, SSLSession session) { in verify()
/libcore/ojluni/src/main/native/
Dnet_util_md.c465 const char* hostname, in ThrowUnknownHostExceptionWithGaiError()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java778 public boolean verify(String hostname, SSLSession session) { in verify()