/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/socket/ |
StubServerSocket.java | 32 private int localPort;
37 * @param localPort - the local port to be returned from getLocalPort()
40 public StubServerSocket(int localPort) throws IOException {
41 this(localPort, null);
46 * @param localPort - the local port to be returned from getLocalPort()
50 public StubServerSocket(int localPort, Socket socket) throws IOException {
52 this.localPort = localPort;
61 return localPort;
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/socket/ |
StubServerSocket.java | 32 private int localPort;
37 * @param localPort - the local port to be returned from getLocalPort()
40 public StubServerSocket(int localPort) throws IOException {
41 this(localPort, null);
46 * @param localPort - the local port to be returned from getLocalPort()
50 public StubServerSocket(int localPort, Socket socket) throws IOException {
52 this.localPort = localPort;
61 return localPort;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
DelegatingSocketFactory.java | 49 public Socket createSocket(String host, int port, InetAddress localAddress, int localPort) 51 Socket socket = delegate.createSocket(host, port, localAddress, localPort); 62 public Socket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort) 64 Socket socket = delegate.createSocket(host, port, localAddress, localPort);
|
DelegatingSSLSocketFactory.java | 49 String host, int port, InetAddress localAddress, int localPort) throws IOException { 50 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort); 60 InetAddress host, int port, InetAddress localAddress, int localPort) throws IOException { 61 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort);
|
/libcore/support/src/test/java/tests/net/ |
DelegatingSocketFactory.java | 59 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 61 Socket socket = mDelegate.createSocket(host, port, localHost, localPort); 73 int localPort) throws IOException { 74 Socket socket = mDelegate.createSocket(address, port, localAddress, localPort);
|
DelegatingSSLSocketFactory.java | 78 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 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);
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
PlainSocketFactory.java | 90 InetAddress localAddress, int localPort, 104 if ((localAddress != null) || (localPort > 0)) { 107 if (localPort < 0) 108 localPort = 0; // indicates "any" 111 new InetSocketAddress(localAddress, localPort);
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
BaseOpenSSLSocketAdapterFactory.java | 55 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 58 (OpenSSLSocketImpl) delegate.createSocket(hostname, port, localHost, localPort)); 69 int localPort) 72 (OpenSSLSocketImpl) delegate.createSocket(address, port, localAddress, localPort));
|
/external/apache-http/src/org/apache/http/conn/ |
MultihomePlainSocketFactory.java | 99 * @param localPort local port 106 InetAddress localAddress, int localPort, 120 if ((localAddress != null) || (localPort > 0)) { 123 if (localPort < 0) 124 localPort = 0; // indicates "any" 127 new InetSocketAddress(localAddress, localPort);
|
/frameworks/av/media/libstagefright/include/foundation/ |
ANetworkSession.h | 49 unsigned localPort, const sp<AMessage> ¬ify, int32_t *sessionID); 52 unsigned localPort, 68 unsigned localPort,
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
OpenSSLSocketFactoryImpl.java | 95 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort) 100 localPort, 113 int localPort) 118 localPort,
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
SocketFactory.java | 86 * @param localPort the port on the local machine, 105 int localPort,
|
/device/generic/goldfish/libqemu/ |
test_guest_2.c | 52 int localPort = 0; 116 localPort = atoi(tcpPort); 117 if (localPort <= 0 || localPort > 65535) { 137 if (pipe_openSocket(pipe, localPort) < 0) {
|
/libcore/ojluni/src/main/java/javax/net/ |
SocketFactory.java | 181 * @param localPort the local port the socket is bound to 187 * @throws IllegalArgumentException if the port parameter or localPort 194 createSocket(String host, int port, InetAddress localHost, int localPort) 237 * @param localPort the client port 242 * @throws IllegalArgumentException if the port parameter or localPort 252 InetAddress localAddress, int localPort)
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/ |
DeviceBridge.java | 145 int localPort = nextLocalPort++; 147 device.createForward(localPort, Configuration.DEFAULT_SERVER_PORT); 148 devicePortMap.put(device, localPort); 166 final Integer localPort = devicePortMap.get(device); 167 if (localPort != null) { 169 device.removeForward(localPort, Configuration.DEFAULT_SERVER_PORT);
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
SSLSocketFactory.java | 293 int localPort, 307 if ((localAddress != null) || (localPort > 0)) { 310 if (localPort < 0) 311 localPort = 0; // indicates "any" 314 new InetSocketAddress(localAddress, localPort);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLSocketFactory.java | 288 int localPort, 302 if ((localAddress != null) || (localPort > 0)) { 305 if (localPort < 0) 306 localPort = 0; // indicates "any" 309 new InetSocketAddress(localAddress, localPort);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDADebuggeeSynchronizer.java | 202 int localPort = serverSocket.getLocalPort(); 204 + " (local port: " + localPort + ")" ); 205 return localPort;
|
/libcore/ojluni/src/main/java/java/net/ |
DatagramSocketImpl.java | 43 protected int localPort; 253 return localPort;
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
WorkerProcess.java | 81 @LocalPort int localPort, 86 buildProcess(trialId, experiment, benchmarkSpec, localPort, benchmarkClass); 147 int localPort, 158 localPort);
|
/external/nist-sip/java/gov/nist/javax/sip/ |
SipStackExt.java | 134 * @param localPort the port that we'd like our socket to bind to (0 for a 143 InetAddress localAddress, int localPort)
|
/frameworks/base/core/java/android/net/ |
Network.java | 156 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException { 157 return connectToHost(host, port, new InetSocketAddress(localHost, localPort)); 162 int localPort) throws IOException { 164 socket.bind(new InetSocketAddress(localAddress, localPort));
|
SSLCertificateSocketFactory.java | 476 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort) 479 addr, port, localAddr, localPort); 511 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort) 514 host, port, localAddr, localPort);
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
StubDevice.java | 69 public void createForward(int localPort, int remotePort) throws TimeoutException, 295 public void removeForward(int localPort, int remotePort) throws TimeoutException, 417 public void createForward(int localPort, String remoteSocketName, 427 public void removeForward(int localPort, String remoteSocketName,
|
/libcore/luni/src/test/java/libcore/java/net/ |
SocketTest.java | 83 int localPort = s.getLocalPort(); 84 assertTrue(localPort > 0); 89 assertEquals(localPort, s.getLocalPort()); 536 int localPort) throws IOException { 537 super(host, port, localAddr, localPort); 540 int localPort) throws IOException { 541 super(address, port, localAddr, localPort);
|