| /libcore/luni/src/main/java/java/net/ |
| D | InetSocketAddress.java | 34 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()
|
| D | SocketImpl.java | 44 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()
|
| D | ServerSocket.java | 68 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/ |
| D | DefaultServerSocketFactory.java | 32 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()
|
| D | DefaultSocketFactory.java | 39 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()
|
| D | SocketFactory.java | 84 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()
|
| D | ServerSocketFactory.java | 74 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/ |
| D | DefaultSSLSocketFactory.java | 50 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()
|
| D | DefaultSSLServerSocketFactory.java | 48 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()
|
| D | SSLServerSocket.java | 52 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()
|
| D | SSLSocket.java | 54 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/ |
| D | ClientSessionContext.java | 52 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()
|
| D | OpenSSLSocketFactoryImpl.java | 63 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()
|
| D | SSLSocketFactoryImpl.java | 86 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()
|
| D | SSLServerSocketFactoryImpl.java | 95 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()
|
| D | OpenSSLServerSocketFactoryImpl.java | 57 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()
|
| D | SSLServerSocketImpl.java | 57 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()
|
| D | SSLClientSessionCache.java | 42 public byte[] getSessionData(String host, int port); in getSessionData()
|
| /libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
| D | SSLEngineTest.java | 75 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/main/java/java/util/logging/ |
| D | SocketHandler.java | 97 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/ |
| D | LDAPCertStoreParameters.java | 32 private final int port; field in LDAPCertStoreParameters 45 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
|
| /libcore/luni/src/main/native/ |
| D | NetworkUtilities.cpp | 30 jobject sockaddrToInetAddress(JNIEnv* env, const sockaddr_storage* ss, jint* port) { in sockaddrToInetAddress() 90 static bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage* ss,… in inetAddressToSockaddr() 156 bool inetAddressToSockaddrVerbatim(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage* ss… in inetAddressToSockaddrVerbatim() 160 bool inetAddressToSockaddr(JNIEnv* env, jobject inetAddress, int port, sockaddr_storage* ss) { in inetAddressToSockaddr()
|
| /libcore/luni/src/test/java/tests/api/javax/net/ |
| D | ServerSocketFactoryTest.java | 195 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket() 200 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 206 public ServerSocket createServerSocket(int port, int backlog, in createServerSocket()
|
| /libcore/support/src/test/java/libcore/javax/net/ssl/ |
| D | TestSSLContext.java | 92 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/java/libcore/io/ |
| D | IoBridge.java | 73 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { in bind() 98 …public static boolean connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketE… in connect() 110 …public static boolean connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs)… in connect() 124 …private static boolean connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int time… in connectErrno() 166 …private static String connectDetail(InetAddress inetAddress, int port, int timeoutMs, ErrnoExcepti… in connectDetail() 194 …public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, int timeou… in isConnected() 466 …tes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOExcepti… in sendto() 480 …leDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOExcepti… in sendto()
|