Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 86) sorted by relevance

1234

/libcore/luni/src/main/java/java/net/
DInetSocketAddress.java34 private final int port; field in InetSocketAddress
54 public InetSocketAddress(int port) { in InetSocketAddress()
55 this((InetAddress) null, port); in InetSocketAddress() local
69 public InetSocketAddress(InetAddress address, int port) { in InetSocketAddress()
89 public InetSocketAddress(String host, int port) { in InetSocketAddress()
97 InetSocketAddress(String hostname, int port, boolean needResolved) { in InetSocketAddress()
129 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
DSocketImpl.java44 protected int port; field in SocketImpl
87 protected abstract void bind(InetAddress address, int port) throws IOException; in bind()
107 protected abstract void connect(String host, int port) throws IOException; in connect()
120 protected abstract void connect(InetAddress address, int port) in connect()
DServerSocket.java68 public ServerSocket(int port) throws IOException { in ServerSocket()
79 public ServerSocket(int port, int backlog) throws IOException { in ServerSocket()
91 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException { in ServerSocket()
302 int port = 0; in bind() local
/libcore/luni/src/main/java/javax/net/
DDefaultServerSocketFactory.java32 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
37 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket()
42 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) in createServerSocket()
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()
55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, 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()
150 public abstract Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
DServerSocketFactory.java74 public abstract ServerSocket createServerSocket(int port) throws IOException; in createServerSocket()
86 public abstract ServerSocket createServerSocket(int port, int backlog) throws IOException; in createServerSocket()
100 public abstract ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) in createServerSocket()
/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()
72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
DDefaultSSLServerSocketFactory.java48 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
53 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket()
58 public ServerSocket createServerSocket(int port, int backlog, InetAddress iAddress) in createServerSocket()
DSSLServerSocket.java52 protected SSLServerSocket(int port) throws IOException { in SSLServerSocket()
69 protected SSLServerSocket(int port, int backlog) throws IOException { in SSLServerSocket()
89 protected SSLServerSocket(int port, int backlog, InetAddress address) throws IOException { in SSLServerSocket()
DSSLSocket.java54 protected SSLSocket(String host, int port) throws IOException, UnknownHostException { in SSLSocket()
71 protected SSLSocket(InetAddress address, int port) throws IOException { in SSLSocket()
94 protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort) in SSLSocket()
116 protected SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) in SSLSocket()
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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()
81 int port, in createSocket()
92 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket()
DClientSessionContext.java52 int port = session.getPeerPort(); in sessionRemoved() local
69 public SSLSession getSession(String host, int port) { in getSession()
105 int port = session.getPeerPort(); in putSession() local
126 final int port; 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()
152 public Socket createSocket(InetAddress address, int port, in createSocket()
DOpenSSLServerSocketFactoryImpl.java57 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
61 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket()
68 public ServerSocket createServerSocket(int port, in createServerSocket()
DSSLServerSocketFactoryImpl.java95 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
107 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket()
120 public ServerSocket createServerSocket(int port, int backlog, in createServerSocket()
DSSLServerSocketImpl.java57 protected SSLServerSocketImpl(int port, SSLParametersImpl sslParameters) in SSLServerSocketImpl()
70 protected SSLServerSocketImpl(int port, int backlog, in SSLServerSocketImpl()
84 protected SSLServerSocketImpl(int port, int backlog, in SSLServerSocketImpl()
DSSLClientSessionCache.java42 public byte[] getSessionData(String host, int port); in getSessionData()
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
DSSLEngineTest.java75 int port = 1010; in test_ConstructorLjava_lang_StringI01() local
78 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI01() local
108 int port = 8080; in test_ConstructorLjava_lang_StringI02() local
111 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local
410 int port = 8080; in test_unwrap_02() local
451 int port = 8080; in test_unwrap_03() local
477 int port = 8080; in test_unwrap_04() local
533 int port = 8080; in test_unwrap_05() local
555 int port = 8080; in test_unwrap_06() local
587 int port = 8080; in test_wrap_02() local
[all …]
/libcore/luni/src/test/java/tests/api/javax/net/
DServerSocketFactoryTest.java114 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket()
119 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket()
125 public ServerSocket createServerSocket(int port, int backlog, in createServerSocket()
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()
262 public Socket createSocket(InetAddress address, int port, 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/luni/src/main/java/java/security/cert/
DLDAPCertStoreParameters.java32 private final int port; field in LDAPCertStoreParameters
45 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java92 public final int port; field in TestSSLContext
106 int port) { in TestSSLContext()
179 int port = serverSocket.getLocalPort(); 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()
287 public Socket createSocket(InetAddress address, int port, in clientAuth()
299 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
/libcore/luni/src/main/native/
DNetworkUtilities.cpp31 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr_storage& ss, jint* port) { in sockaddrToInetAddress()
103 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss,… in inetAddressToSockaddr()
199 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss… in inetAddressToSockaddrVerbatim()
203 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage& ss, sockle… in inetAddressToSockaddr()

1234