/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 | 116 int localPort = s.getLocalPort(); in test_getLocalAddress_after_close() local 117 assertTrue(localPort > 0); in test_getLocalAddress_after_close() 122 assertEquals(localPort, s.getLocalPort()); in test_getLocalAddress_after_close() 619 int localPort) throws IOException { 620 super(host, port, localAddr, localPort); 623 int localPort) throws IOException { 624 super(address, port, localAddr, localPort);
|
D | URLConnectionTest.java | 3530 int localPort) throws IOException, UnknownHostException { 3531 return (SSLSocket) delegate.createSocket(host, port, localHost, localPort); 3541 InetAddress localAddress, int localPort) throws IOException { 3542 return (SSLSocket) delegate.createSocket(address, port, localAddress, localPort); 3585 int localPort) throws IOException, UnknownHostException { 3586 SSLSocket socket = (SSLSocket) delegate.createSocket(host, port, localHost, localPort); 3600 InetAddress localAddress, int localPort) throws IOException { 3602 (SSLSocket) delegate.createSocket(address, port, localAddress, localPort); 3974 int localPort) throws IOException { 3975 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 | 315 int localPort) throws IOException { in Socket() argument 318 new InetSocketAddress(localAddr, localPort), true); in Socket() 357 int localPort) throws IOException { in Socket() argument 360 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 | 628 private SSLSocket getSSLSocket(InetAddress host, int port, InetAddress localHost, int localPort) in getSSLSocket() argument 633 localPort); in getSSLSocket() 636 private SSLSocket getSSLSocket(String host, int port, InetAddress localHost, int localPort) in getSSLSocket() argument 641 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 | 877 NATIVE_METHOD(Net, localPort, "(Ljava/io/FileDescriptor;)I"),
|
/libcore/api/ |
D | current.txt | 5589 field protected int localPort;
|