/libcore/luni/src/test/java/libcore/java/net/ |
D | DelegatingSocketFactory.java | 58 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument 60 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); in createSocket() 72 int localPort) throws IOException { in createSocket() argument 73 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort); in createSocket()
|
D | SocketTest.java | 82 int localPort = s.getLocalPort(); in test_getLocalAddress_after_close() local 83 assertTrue(localPort > 0); in test_getLocalAddress_after_close() 88 assertEquals(localPort, s.getLocalPort()); in test_getLocalAddress_after_close() 549 int localPort) throws IOException { 550 super(host, port, localAddr, localPort); 553 int localPort) throws IOException { 554 super(address, port, localAddr, localPort);
|
D | URLConnectionTest.java | 3461 int localPort) throws IOException, UnknownHostException { 3462 return (SSLSocket) delegate.createSocket(host, port, localHost, localPort); 3472 InetAddress localAddress, int localPort) throws IOException { 3473 return (SSLSocket) delegate.createSocket(address, port, localAddress, localPort); 3516 int localPort) throws IOException, UnknownHostException { 3517 SSLSocket socket = (SSLSocket) delegate.createSocket(host, port, localHost, localPort); 3531 InetAddress localAddress, int localPort) throws IOException { 3533 (SSLSocket) delegate.createSocket(address, port, localAddress, localPort); 3905 int localPort) throws IOException { 3906 SSLSocket socket = super.createSocket(host, port, localHost, localPort); [all …]
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | FakeSSLSocketFactory.java | 46 int localPort) { in createSocket() argument 56 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { in createSocket() argument
|
/libcore/ojluni/src/main/java/javax/net/ |
D | SocketFactory.java | 195 createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument 253 InetAddress localAddress, int localPort) in createSocket() argument
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocketImpl.java | 43 protected int localPort; field in DatagramSocketImpl 253 return localPort; in getLocalPort()
|
D | PlainDatagramSocketImpl.java | 110 localPort = IoBridge.getLocalInetSocketAddress(fd).getPort(); in bind0() 112 localPort = lport; in bind0()
|
D | Socket.java | 290 int localPort) throws IOException { in Socket() argument 293 new InetSocketAddress(localAddr, localPort), true); in Socket() 332 int localPort) throws IOException { in Socket() argument 335 new InetSocketAddress(localAddr, localPort), true); in Socket()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SinkChannelTest.java | 467 int localPort = ssc.socket().getLocalPort(); in test_socketChannel_read_close() local 476 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(), localPort)); in test_socketChannel_read_close() 492 int localPort = ssc.socket().getLocalPort(); in test_socketChannel_read_write() local 494 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(), localPort)); in test_socketChannel_read_write()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | Socket.annotated.java | 48 public Socket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort) throw… in Socket() argument 50 public Socket(java.net.InetAddress address, int port, java.net.InetAddress localAddr, int localPort… in Socket() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSocketTest.java | 619 private SSLSocket getSSLSocket(InetAddress host, int port, InetAddress localHost, int localPort) in getSSLSocket() argument 624 localPort); in getSSLSocket() 627 private SSLSocket getSSLSocket(String host, int port, InetAddress localHost, int localPort) in getSSLSocket() argument 632 localPort); in getSSLSocket()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Socket.java | 55 public Socket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort) in Socket() argument 61 java.net.InetAddress address, int port, java.net.InetAddress localAddr, int localPort) in Socket() argument
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 395 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in clientAuth() argument 397 return set(sf.createSocket(host, port, localHost, localPort)); in clientAuth() 403 InetAddress localAddress, int localPort) throws IOException { in clientAuth() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ |
D | SocketFactoryTest.java | 291 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket() argument 303 InetAddress localAddress, int localPort) throws IOException { in createSocket() argument
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Net.java | 482 private static native int localPort(FileDescriptor fd) 491 return new InetSocketAddress(localInetAddress(fd), localPort(fd));
|
D | SocketChannelImpl.java | 658 int localPort = 0; in connect() local
|
D | DatagramChannelImpl.java | 760 int localPort = 0; in connect() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ServerSocketTest.java | 626 int localPort = theSocket.getLocalPort(); in test_getLocalSocketAddress() local 629 .getLocalHost(), localPort)); in test_getLocalSocketAddress()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1163 final int localPort = localServer.initServer(); 1166 URLConnection uc = new URL("http", "localhost", localPort, "test2").openConnection();
|
/libcore/ojluni/src/main/native/ |
D | Net.c | 881 NATIVE_METHOD(Net, localPort, "(Ljava/io/FileDescriptor;)I"),
|
/libcore/api/ |
D | current.txt | 5020 field protected int localPort;
|