Searched defs:localPort (Results 1 - 10 of 10) sorted by relevance

/libcore/support/src/test/java/tests/net/
H A DDelegatingSocketFactory.java59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument
61 Socket socket = mDelegate.createSocket(host, port, localHost, localPort);
73 int localPort) throws IOException {
74 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort);
72 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
H A DDelegatingSSLSocketFactory.java78 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument
80 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort);
92 int localPort) throws IOException {
93 SSLSocket socket = (SSLSocket) mDelegate.createSocket(address, port, localAddress, localPort);
91 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
/libcore/ojluni/src/main/java/javax/net/
H A DSocketFactory.java182 * @param localPort the local port the socket is bound to
188 * @throws IllegalArgumentException if the port parameter or localPort
195 createSocket(String host, int port, InetAddress localHost, int localPort) argument
238 * @param localPort the client port
243 * @throws IllegalArgumentException if the port parameter or localPort
253 InetAddress localAddress, int localPort)
252 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
H A DSocketFactoryTest.java210 * InetAddress localHost, int localPort)
291 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument
303 InetAddress localAddress, int localPort) throws IOException {
302 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketFactoryTest.java115 int localPort) {
125 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { argument
114 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLSocketTest.java616 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/ojluni/src/main/java/java/net/
H A DDatagramSocketImpl.java43 protected int localPort; field in class:DatagramSocketImpl
253 return localPort;
H A DSocket.java276 * @param localPort the local port the socket is bound to, or
283 * @exception IllegalArgumentException if the port parameter or localPort
290 int localPort) throws IOException {
293 new InetSocketAddress(localAddr, localPort), true);
317 * @param localPort the local port the socket is bound to or
324 * @exception IllegalArgumentException if the port parameter or localPort
332 int localPort) throws IOException {
335 new InetSocketAddress(localAddr, localPort), true);
1611 // Android-changed: change localport to localPort, and addr to address.
1615 ",localPort
289 Socket(String host, int port, InetAddress localAddr, int localPort) argument
331 Socket(InetAddress address, int port, InetAddress localAddr, int localPort) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DNet.java482 private static native int localPort(FileDescriptor fd) method in class:Net
491 return new InetSocketAddress(localInetAddress(fd), localPort(fd));
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java3228 int localPort) throws IOException, UnknownHostException {
3229 return (SSLSocket) delegate.createSocket(host, port, localHost, localPort);
3239 InetAddress localAddress, int localPort) throws IOException {
3240 return (SSLSocket) delegate.createSocket(address, port, localAddress, localPort);
3283 int localPort) throws IOException, UnknownHostException {
3284 SSLSocket socket = (SSLSocket) delegate.createSocket(host, port, localHost, localPort);
3298 InetAddress localAddress, int localPort) throws IOException {
3300 (SSLSocket) delegate.createSocket(address, port, localAddress, localPort);
3672 int localPort) throws IOException {
3673 SSLSocket socket = super.createSocket(host, port, localHost, localPort);
3227 createSocket(String host, int port, InetAddress localHost, int localPort) argument
3238 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
3282 createSocket(String host, int port, InetAddress localHost, int localPort) argument
3297 createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) argument
3671 createSocket(String host,int port, InetAddress localHost, int localPort) argument
3690 createSocket(InetAddress address,int port, InetAddress localAddress, int localPort) argument
[all...]

Completed in 962 milliseconds