/libcore/ojluni/src/main/java/javax/net/ |
D | ServerSocketFactory.java | 123 public abstract ServerSocket createServerSocket(int port) in createServerSocket() 154 createServerSocket(int port, int backlog) in createServerSocket() 192 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket() 215 public ServerSocket createServerSocket(int port) in createServerSocket() 221 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
D | SocketFactory.java | 163 public abstract Socket createSocket(String host, int port) in createSocket() 195 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 221 public abstract Socket createSocket(InetAddress host, int port) in createSocket() 252 createSocket(InetAddress address, int port, in createSocket() 276 public Socket createSocket(String host, int port) in createSocket() 282 public Socket createSocket(InetAddress address, int port) in createSocket() 288 public Socket createSocket(String host, int port, in createSocket() 295 public Socket createSocket(InetAddress address, int port, in createSocket()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | FakeSSLSocketFactory.java | 40 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { in createSocket() 45 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() 51 public Socket createSocket(InetAddress host, int port) { in createSocket() 56 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() 61 public Socket createSocket(String host, int port) { in createSocket()
|
D | FakeSSLServerSocketFactory.java | 43 public ServerSocket createServerSocket(int port) throws IOException { in createServerSocket() 48 public ServerSocket createServerSocket(int port, int backlog) throws IOException { in createServerSocket() 53 public ServerSocket createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/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 99 int port = 8080; in test_ConstructorLjava_lang_StringI02() local 102 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI02() local 113 int port = 8080; in test_ConstructorLjava_lang_StringI03() local 116 assertEquals(e.getPeerPort(), port); in test_ConstructorLjava_lang_StringI03() local 341 int port = 8080; in test_unwrap_02() local 377 int port = 8080; in test_unwrap_03() local 399 int port = 8080; in test_unwrap_04() local 437 int port = 8080; in test_unwrap_05() local [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | InetSocketAddress.java | 38 public InetSocketAddress(int port) { in InetSocketAddress() 42 public InetSocketAddress(java.net.InetAddress addr, int port) { in InetSocketAddress() 46 public InetSocketAddress(java.lang.String hostname, int port) { in InetSocketAddress() 50 private InetSocketAddress(int port, java.lang.String hostname) { in InetSocketAddress() 54 private static int checkPort(int port) { in checkPort() 62 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { in createUnresolved() 142 java.lang.String hostname, java.net.InetAddress addr, int port) { in InetSocketAddressHolder() 182 private int port; field in InetSocketAddress.InetSocketAddressHolder
|
D | SocketImpl.java | 40 protected abstract void connect(java.lang.String host, int port) throws java.io.IOException; in connect() 42 protected abstract void connect(java.net.InetAddress address, int port) in connect() 48 protected abstract void bind(java.net.InetAddress host, int port) throws java.io.IOException; in bind() 138 protected int port; field in SocketImpl
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetSocketAddress.java | 63 private int port; field in InetSocketAddress.InetSocketAddressHolder 65 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { in InetSocketAddressHolder() 152 private static int checkPort(int port) { in checkPort() 186 public InetSocketAddress(int port) { in InetSocketAddress() 189 this((InetAddress)null, port); in InetSocketAddress() local 207 public InetSocketAddress(InetAddress addr, int port) { in InetSocketAddress() 240 public InetSocketAddress(String hostname, int port) { in InetSocketAddress() 253 private InetSocketAddress(int port, String hostname) { in InetSocketAddress() 278 public static InetSocketAddress createUnresolved(String host, int port) { in createUnresolved()
|
D | Socket.java | 239 public Socket(String host, int port) in Socket() 273 public Socket(InetAddress address, int port) throws IOException { in Socket() 314 public Socket(String host, int port, InetAddress localAddr, in Socket() 356 public Socket(InetAddress address, int port, InetAddress localAddr, in Socket() 405 public Socket(String host, int port, boolean stream) throws IOException { in Socket() 447 public Socket(InetAddress host, int port, boolean stream) throws IOException { in Socket() 461 private Socket(InetAddress[] addresses, int port, SocketAddress localAddr, in Socket() 633 int port = epoint.getPort(); in connect() local 639 security.checkConnect(epoint.getHostName(), port); in connect() local 641 security.checkConnect(addr.getHostAddress(), port); in connect() local [all …]
|
D | AbstractPlainSocketImpl.java | 147 protected void connect(String host, int port) in connect() 176 protected void connect(InetAddress address, int port) throws IOException { in connect() 226 private void connectToAddress(InetAddress address, int port, int timeout) throws IOException { in connectToAddress() 228 doConnect(InetAddress.getLocalHost(), port, timeout); in connectToAddress() local 379 synchronized void doConnect(InetAddress address, int port, int timeout) throws IOException { in doConnect() 502 void setPort(int port) { in setPort() 768 abstract void socketConnect(InetAddress address, int port, int timeout) in socketConnect() 770 abstract void socketBind(InetAddress address, int port) in socketBind()
|
D | DatagramSocket.java | 135 … private synchronized void connectInternal(InetAddress address, int port) throws SocketException { in connectInternal() 150 security.checkConnect(address.getHostAddress(), port); in connectInternal() local 151 security.checkAccept(address.getHostAddress(), port); in connectInternal() local 292 public DatagramSocket(int port) throws SocketException { in DatagramSocket() 320 public DatagramSocket(int port, InetAddress laddr) throws SocketException { in DatagramSocket() 407 int port = epoint.getPort(); in bind() local 478 public void connect(InetAddress address, int port) { in connect()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | InetSocketAddress.annotated.java | 36 public InetSocketAddress(int port) { throw new RuntimeException("Stub!"); } in InetSocketAddress() 38 public InetSocketAddress(java.net.InetAddress addr, int port) { throw new RuntimeException("Stub!")… in InetSocketAddress() 40 public InetSocketAddress(java.lang.String hostname, int port) { throw new RuntimeException("Stub!")… in InetSocketAddress() 42 public static java.net.InetSocketAddress createUnresolved(java.lang.String host, int port) { throw … in createUnresolved()
|
D | SocketImpl.annotated.java | 39 protected abstract void connect(java.lang.String host, int port) throws java.io.IOException; in connect() 41 protected abstract void connect(java.net.InetAddress address, int port) throws java.io.IOException; in connect() 45 protected abstract void bind(java.net.InetAddress host, int port) throws java.io.IOException; in bind() 88 protected int port; field in SocketImpl
|
D | Socket.annotated.java | 44 public Socket(java.lang.String host, int port) throws java.io.IOException, java.net.UnknownHostExce… in Socket() 46 public Socket(java.net.InetAddress address, int port) throws java.io.IOException { throw new Runtim… in Socket() 48 public Socket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort) throw… in Socket() 50 public Socket(java.net.InetAddress address, int port, java.net.InetAddress localAddr, int localPort… in Socket() 53 public Socket(java.lang.String host, int port, boolean stream) throws java.io.IOException { throw n… in Socket() 56 public Socket(java.net.InetAddress host, int port, boolean stream) throws java.io.IOException { thr… in Socket()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | DelegatingSocketFactory.java | 52 public Socket createSocket(String host, int port) throws IOException { in createSocket() 58 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() 65 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket() 71 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
|
D | DatagramSocketTest.java | 73 final int port = 9999; in testPendingException() local 78 s.connect(InetAddress.getLocalHost(), port); in testPendingException() local 116 final int port = 9999; in test_b31218085() local 121 s.connect(InetAddress.getLocalHost(), port); in test_b31218085() local 225 final int port = 9999; in testGetFileDescriptor$() local 228 s.connect(InetAddress.getLocalHost(), port); in testGetFileDescriptor$() local
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetHooks.java | 87 int port) in beforeTcpBind() 99 int port) in beforeTcpConnect()
|
/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()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLServerSocketFactory.java | 213 public ServerSocket createServerSocket(int port) in createServerSocket() 220 public ServerSocket createServerSocket(int port, int backlog) in createServerSocket() 228 createServerSocket(int port, int backlog, InetAddress ifAddress) in createServerSocket()
|
D | SSLSocket.java | 929 protected SSLSocket(String host, int port) in SSLSocket() 954 protected SSLSocket(InetAddress address, int port) in SSLSocket() 985 protected SSLSocket(String host, int port, in SSLSocket() 1016 protected SSLSocket(InetAddress address, int port, in SSLSocket()
|
D | SSLServerSocket.java | 98 protected SSLServerSocket(int port) in SSLServerSocket() 134 protected SSLServerSocket(int port, int backlog) in SSLServerSocket() 179 protected SSLServerSocket(int port, int backlog, InetAddress address) in SSLServerSocket()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | LDAPCertStoreParameters.java | 59 private int port; field in LDAPCertStoreParameters 75 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileDescriptorHolderSocketImpl.java | 64 protected void connect(String host, int port) throws IOException { in connect() 69 protected void connect(InetAddress address, int port) throws IOException { in connect() 79 protected void bind(InetAddress host, int port) throws IOException { in bind()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SocketHandler.java | 86 private int port; field in SocketHandler 150 public SocketHandler(String host, int port) throws IOException { in SocketHandler()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 100 public final int port; field in TestSSLContext 191 …public InetSocketAddress getLoopbackAsHostname(String hostname, int port) throws IOException, Clas… in getLoopbackAsHostname() 215 int port) { in TestSSLContext() 295 int port = serverSocket.getLocalPort(); in create() local 391 public Socket createSocket(String host, int port) in clientAuth() 395 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth() 399 public Socket createSocket(InetAddress host, int port) throws IOException { in clientAuth() 402 public Socket createSocket(InetAddress address, int port, in clientAuth() 414 public Socket createSocket(Socket s, String host, int port, boolean autoClose) in clientAuth()
|