Home
last modified time | relevance | path

Searched defs:host (Results 1 – 25 of 63) sorted by relevance

123

/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DClientSessionContext.java51 String host = session.getPeerHost(); in sessionRemoved() local
69 public SSLSession getSession(String host, int port) { in getSession()
104 String host = session.getPeerHost(); in putSession() local
125 final String host; field in ClientSessionContext.HostAndPort
128 HostAndPort(String host, int port) { in HostAndPort()
DSSLSocketFactoryImpl.java86 public Socket createSocket(Socket s, String host, int port, in createSocket()
112 public Socket createSocket(String host, int port) in createSocket()
125 public Socket createSocket(String host, int port, in createSocket()
139 public Socket createSocket(InetAddress host, int port) in createSocket()
DOpenSSLSocketFactoryImpl.java63 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
76 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
92 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
DFileClientSessionCache.java122 private static String fileName(String host, int port) { in fileName()
129 public synchronized byte[] getSessionData(String host, int port) { in getSessionData()
177 static void logReadError(String host, File file, Throwable t) { in logReadError()
183 String host = session.getPeerHost(); in putSessionData() local
296 static void logWriteError(String host, File file, Throwable t) { in logWriteError()
DSSLClientSessionCache.java42 public byte[] getSessionData(String host, int port); in getSessionData()
/libcore/luni/src/main/java/javax/net/ssl/
DDefaultSSLSocketFactory.java50 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
67 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
DDefaultHostnameVerifier.java41 public final boolean verify(String host, SSLSession session) { in verify()
50 public boolean verify(String host, X509Certificate certificate) { in verify()
DSSLSocketFactory.java122 public abstract Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
DSSLEngineTest.java107 String host = "new host"; in test_ConstructorLjava_lang_StringI02() local
110 assertEquals(e.getPeerHost(), host); in test_ConstructorLjava_lang_StringI02() local
409 String host = "new host"; in test_unwrap_02() local
450 String host = "new host"; in test_unwrap_03() local
476 String host = "new host"; in test_unwrap_04() local
532 String host = "new host"; in test_unwrap_05() local
554 String host = "new host"; in test_unwrap_06() local
586 String host = "new host"; in test_wrap_02() local
625 String host = "new host"; in test_wrap_03() local
647 String host = "new host"; in test_wrap_04() local
[all …]
/libcore/luni/src/main/java/javax/net/
DDefaultSocketFactory.java39 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
50 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
DSocketFactory.java84 public abstract Socket createSocket(String host, int port) throws IOException, in createSocket()
110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
127 public abstract Socket createSocket(InetAddress host, int port) throws IOException; in createSocket()
/libcore/luni/src/main/java/java/util/logging/
DSocketHandler.java97 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
103 private void initSocket(String host, String port) throws IOException { in initSocket()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java91 public final InetAddress host; field in TestSSLContext
105 InetAddress host, in TestSSLContext()
178 InetAddress host = InetAddress.getLocalHost(); in create() local
276 public Socket createSocket(String host, int port) in clientAuth()
280 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth()
284 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth()
299 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
DFakeSSLSession.java25 final String host; field in FakeSSLSession
27 public FakeSSLSession(String host) { in FakeSSLSession()
/libcore/luni/src/main/java/java/net/
DURL.java88 private String host; field in URL
203 public URL(String protocol, String host, String file) throws MalformedURLException { in URL()
217 public URL(String protocol, String host, int port, String file) throws MalformedURLException { in URL()
233 public URL(String protocol, String host, int port, String file, in URL()
307 protected void set(String protocol, String host, int port, String file, String ref) { in set()
655 protected void set(String protocol, String host, int port, String authority, String userInfo, in set()
DSocketPermission.java27 public SocketPermission(String host, String action) { super(""); } in SocketPermission()
DProxySelectorImpl.java95 String host = System.getProperty(hostKey); in lookupProxy() local
119 private boolean isNonProxyHost(String host, String nonProxyHosts) { in isNonProxyHost()
DURLStreamHandler.java96 String host; in parseURL() local
229 protected void setURL(URL u, String protocol, String host, int port, in setURL()
241 protected void setURL(URL u, String protocol, String host, int port, in setURL()
323 String host = url.getHost(); in getHostAddress() local
DInetAddress.java213 public static InetAddress[] getAllByName(String host) throws UnknownHostException { in getAllByName()
221 private static InetAddress[] getAllByNameImpl(String host) throws UnknownHostException { in getAllByNameImpl()
288 public static InetAddress getByName(String host) throws UnknownHostException { in getByName()
364 String host = Libcore.os.uname().nodename; in getLocalHost() local
384 private static InetAddress[] lookupHostByName(String host) throws UnknownHostException { in lookupHostByName()
DInetSocketAddress.java89 public InetSocketAddress(String host, int port) { in InetSocketAddress()
129 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
DInet6Address.java85 public static Inet6Address getByAddress(String host, byte[] addr, int scope_id) in getByAddress()
115 public static Inet6Address getByAddress(String host, byte[] addr, in getByAddress()
/libcore/luni/src/test/java/tests/api/javax/net/
DSocketFactoryTest.java246 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket()
251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
257 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
/libcore/luni/src/main/java/libcore/net/url/
DFileHandler.java69 String host = url.getHost(); in openConnection() local
/libcore/luni/src/test/java/libcore/java/net/
DOldAndroidURITest.java30 private static void construct(String str, String host, String path, boolean absolute) in construct()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLContextSpiImpl.java61 public SSLEngine engineCreateSSLEngine(String host, int port) { in engineCreateSSLEngine()

123