HomeSort by relevance Sort by last modified time
    Searched refs:localPort (Results 1 - 25 of 193) sorted by null

1 2 3 4 5 6 7 8

  /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 51 public SSLSocket createSocket(String host, int port, InetAddress localAddress, int localPort)
53 SSLSocket sslSocket = (SSLSocket) delegate.createSocket(host, port, localAddress, localPort);
64 public SSLSocket createSocket(InetAddress host, int port, InetAddress localAddress, int localPort)
66 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/src/compat/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/conscrypt/src/main/java/org/conscrypt/
OpenSSLSocketFactoryImpl.java 72 public Socket createSocket(String hostname, int port, InetAddress localHost, int localPort)
77 localPort,
90 int localPort)
95 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/include/media/stagefright/foundation/
ANetworkSession.h 49 unsigned localPort, const sp<AMessage> &notify, int32_t *sessionID);
52 unsigned localPort,
68 unsigned localPort,
  /frameworks/base/core/java/org/apache/http/conn/scheme/
SocketFactory.java 86 * @param localPort the port on the local machine,
105 int localPort,
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
SocketFactoryTest.java 91 public Socket createSocket(String host, int port, InetAddress localHost, int localPort)
102 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
  /libcore/ojluni/src/main/java/java/net/
DatagramSocketImpl.java 43 protected int localPort;
233 return 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 199 int localPort = serverSocket.getLocalPort();
201 + " (local port: " + localPort + ")" );
202 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 152 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException {
153 return connectToHost(host, port, new InetSocketAddress(localHost, localPort));
158 int localPort) throws IOException {
160 socket.bind(new InetSocketAddress(localAddress, localPort));
SSLCertificateSocketFactory.java 474 public Socket createSocket(InetAddress addr, int port, InetAddress localAddr, int localPort)
477 addr, port, localAddr, localPort);
509 public Socket createSocket(String host, int port, InetAddress localAddr, int localPort)
512 host, port, localAddr, localPort);
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.java 68 int localPort = s.getLocalPort();
69 assertTrue(localPort > 0);
74 assertEquals(localPort, s.getLocalPort());
504 int localPort) throws IOException {
505 super(host, port, localAddr, localPort);
508 int localPort) throws IOException {
509 super(address, port, localAddr, localPort);

Completed in 1237 milliseconds

1 2 3 4 5 6 7 8