/libcore/luni/src/main/java/javax/net/ |
H A D | DefaultSocketFactory.java | 44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument 46 return new Socket(host, port, localHost, localPort); 56 int localPort) throws IOException { 57 return new Socket(address, port, localAddress, localPort); 55 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
|
H A D | SocketFactory.java | 91 * port {@code localPort}. 100 * @param localPort 110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument 134 * localPort}. 143 * @param localPort 151 int localPort) throws IOException; 150 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLSocketFactoryImpl.java | 67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument 72 localPort, 83 int localPort) 88 localPort, 80 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
|
H A D | SSLSocketFactoryImpl.java | 126 InetAddress localHost, int localPort) throws IOException, 131 return new SSLSocketImpl(host, port, localHost, localPort, 153 InetAddress localAddress, int localPort) throws IOException { 157 return new SSLSocketImpl(address, port, localAddress, localPort, 125 createSocket(String host, int port, InetAddress localHost, int localPort) argument 152 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
|
H A D | SSLSocketImpl.java | 119 * @param localPort: int 127 InetAddress localHost, int localPort, 130 super(host, port, localHost, localPort); 161 * @param localPort: int 169 InetAddress localAddress, int localPort, 171 super(address, port, localAddress, localPort); 126 SSLSocketImpl(String host, int port, InetAddress localHost, int localPort, SSLParametersImpl sslParameters) argument 168 SSLSocketImpl(InetAddress address, int port, InetAddress localAddress, int localPort, SSLParametersImpl sslParameters) argument
|
/libcore/luni/src/main/java/java/net/ |
H A D | DatagramSocketImpl.java | 36 protected int localPort; field in class:DatagramSocketImpl 42 localPort = -1; 87 return localPort;
|
H A D | Socket.java | 97 * @param localPort 108 localAddress, int localPort, boolean streaming) throws IOException { 118 startupSocket(dstAddress, dstPort, localAddress, localPort, streaming); 128 startupSocket(dstAddress, dstPort, localAddress, localPort, streaming); 157 * {@code localPort}. If {@code host} is {@code null} a loopback address is used to connect to. 169 * @param localPort 176 public Socket(String dstName, int dstPort, InetAddress localAddress, int localPort) throws IOException { argument 178 tryAllAddresses(dstName, dstPort, localAddress, localPort, true); 233 * port {@code localPort}. 241 * @param localPort 107 tryAllAddresses(String dstName, int dstPort, InetAddress localAddress, int localPort, boolean streaming) argument 246 Socket(InetAddress dstAddress, int dstPort, InetAddress localAddress, int localPort) argument 550 startupSocket(InetAddress dstAddress, int dstPort, InetAddress localAddress, int localPort, boolean streaming) argument [all...] |
H A D | PlainDatagramSocketImpl.java | 55 public PlainDatagramSocketImpl(FileDescriptor fd, int localPort) { argument 57 this.localPort = localPort; 70 localPort = port; 72 localPort = IoBridge.getSocketLocalPort(fd);
|
H A D | DatagramSocket.java | 442 int localPort = 0; 454 localPort = inetAddr.getPort(); 455 checkPort(localPort); 457 impl.bind(localPort, addr);
|
H A D | PlainSocketImpl.java | 123 public void initLocalPort(int localPort) { argument 124 this.localport = localPort;
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | DefaultSSLSocketFactory.java | 61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument 73 int localPort) throws IOException { 72 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | SocketTest.java | 58 int localPort = s.getLocalPort(); 59 assertTrue(localPort > 0); 64 assertEquals(localPort, s.getLocalPort());
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLContext.java | 280 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 282 return set(sf.createSocket(host, port, localHost, localPort)); 288 InetAddress localAddress, int localPort) throws IOException {
|
/libcore/luni/src/main/java/java/nio/ |
H A D | SocketChannelImpl.java | 78 private int localPort; field in class:SocketChannelImpl 128 socket = new SocketAdapter(new PlainSocketImpl(fd, localPort, addr, port), this); 234 localPort = isa.getPort(); 236 socket.socketImpl().initLocalPort(localPort);
|
H A D | DatagramChannelImpl.java | 59 private int localPort; field in class:DatagramChannelImpl 95 socket = new DatagramSocketAdapter(new PlainDatagramSocketImpl(fd, localPort), this);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
H A D | SSLSocketTest.java | 616 private SSLSocket getSSLSocket(InetAddress host, int port, InetAddress localHost, int localPort) argument 621 localPort); 624 private SSLSocket getSSLSocket(String host, int port, InetAddress localHost, int localPort) argument 629 localPort);
|
/libcore/luni/src/test/java/tests/api/javax/net/ |
H A D | SocketFactoryTest.java | 170 * InetAddress localHost, int localPort) 251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument 263 InetAddress localAddress, int localPort) throws IOException { 262 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
|