/libcore/luni/src/main/java/java/net/ |
D | InetSocketAddress.java | 34 private final int port; field in InetSocketAddress 53 public InetSocketAddress(int port) { in InetSocketAddress() 54 this((InetAddress) null, port); in InetSocketAddress() local 66 public InetSocketAddress(InetAddress address, int port) { in InetSocketAddress() 84 public InetSocketAddress(String host, int port) { in InetSocketAddress() 92 InetSocketAddress(String hostname, int port, boolean needResolved) { in InetSocketAddress() 121 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 | 74 public ServerSocket(int port) throws IOException { in ServerSocket() 85 public ServerSocket(int port, int backlog) throws IOException { in ServerSocket() 97 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException { in ServerSocket() 318 int port; in bind() local
|
D | ProxySelectorImpl.java | 44 int port = -1; in selectOneProxy() local 100 int port = getSystemPropertyInt(portKey, defaultPort); in lookupProxy() local
|
/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 | 771 protected SSLSocket(String host, int port) throws IOException, UnknownHostException { in SSLSocket() 788 protected SSLSocket(InetAddress address, int port) throws IOException { in SSLSocket() 811 protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort) in SSLSocket() 833 protected SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort) in SSLSocket()
|
/libcore/luni/src/main/java/javax/net/ |
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 | 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 | 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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 72 int port = 1010; in test_ConstructorLjava_lang_StringI01() local 75 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI01() local 96 int port = 8080; in test_ConstructorLjava_lang_StringI02() local 99 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local 328 int port = 8080; in test_unwrap_02() local 364 int port = 8080; in test_unwrap_03() local 386 int port = 8080; in test_unwrap_04() local 424 int port = 8080; in test_unwrap_05() local 443 int port = 8080; in test_unwrap_06() local 470 int port = 8080; in test_wrap_02() local [all …]
|
/libcore/support/src/test/java/tests/util/ |
D | DelegatingSSLSocketFactory.java | 64 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in createSocket() 72 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { in createSocket() 79 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 87 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 94 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
D | ServerSocketFactoryTest.java | 114 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()
|
D | SocketFactoryTest.java | 246 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/ |
D | SocketHandler.java | 98 public SocketHandler(String host, int port) throws IOException { in SocketHandler() 104 private void initSocket(String host, String port) throws IOException { in initSocket()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket() 119 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() 125 public Socket createSocket(InetAddress host, int port) { in createSocket() 130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() 135 public Socket createSocket(String host, int port) { in createSocket() 245 int port = sa.getPort(); in test_SSLSocketFactory_createSocket() local
|
/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/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 92 public final int port; field in TestSSLContext 106 int port) { in TestSSLContext() 186 int port = serverSocket.getLocalPort(); in create() local 282 public Socket createSocket(String host, int port) in clientAuth() 286 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth() 290 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth() 293 public Socket createSocket(InetAddress address, int port, in clientAuth() 305 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
|
/libcore/luni/src/main/native/ |
D | NetworkUtilities.cpp | 31 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()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InetSocketAddressTest.java | 84 int port; field in InetSocketAddressTest.HostPortPair 86 public HostPortPair(String host, int port) { in HostPortPair()
|
D | SocketImplTest.java | 92 protected void bind(InetAddress address, int port) throws IOException { in bind() 98 protected void connect(String host, int port) throws IOException { in connect() 101 protected void connect(InetAddress address, int port) in connect()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 79 … public static void bind(FileDescriptor fd, InetAddress address, int port) throws SocketException { in bind() 108 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketExce… in connect() 120 …public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) th… in connect() 134 …private static void connectErrno(FileDescriptor fd, InetAddress inetAddress, int port, int timeout… in connectErrno() 175 …private static String connectDetail(InetAddress inetAddress, int port, int timeoutMs, ErrnoExcepti… in connectDetail() 209 …public static boolean isConnected(FileDescriptor fd, InetAddress inetAddress, int port, int timeou… in isConnected() 502 …tes, int byteOffset, int byteCount, int flags, InetAddress inetAddress, int port) throws IOExcepti… in sendto() 516 …leDescriptor fd, ByteBuffer buffer, int flags, InetAddress inetAddress, int port) throws IOExcepti… in sendto()
|
/libcore/luni/src/main/java/java/lang/ |
D | SecurityManager.java | 40 public void checkAccept(String host, int port) { } in checkAccept() 46 public void checkConnect(String host, int port) { } in checkConnect() 48 public void checkConnect(String host, int port, Object context) { } in checkConnect() 60 public void checkListen(int port) { } in checkListen()
|