Home
last modified time | relevance | path

Searched refs:getLocalPort (Results 1 – 25 of 103) sorted by relevance

12345

/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLSocketTest.java54 SSLSocket soc = new MySSLSocket("localhost", ss.getLocalPort()); in testSSLSocketStringint()
65 .getLocalPort()); in testSSLSocketInetAddressint()
77 SSLSocket soc = new MySSLSocket("localhost", ss1.getLocalPort(), in testSSLSocketStringintInetAddressint()
78 InetAddress.getLocalHost(), ss2.getLocalPort()); in testSSLSocketStringintInetAddressint()
94 .getLocalPort(), InetAddress.getLocalHost(), ss2 in testSSLSocketInetAddressintInetAddressint()
95 .getLocalPort()); in testSSLSocketInetAddressintInetAddressint()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java110 .createSocket("localhost", ss.getLocalPort()); in testGetDefaultSSLSocketFactory()
141 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsConnection()
181 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsPersistentConnection()
219 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testHttpsConnection_Not_Found_Response()
264 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetDefaultSSLSocketFactory()
305 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetSSLSocketFactory()
393 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testSetHostnameVerifier()
435 URL url = new URL("https://localhost:" + ss.getLocalPort()); in test_doOutput()
471 URL url = new URL("https://localhost:" + ss.getLocalPort()); in testPersistence_doOutput()
510 .getLocalPort()))); in testProxyConnection()
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketFactoriesTest.java138 ssocket.getLocalPort())); in testSocketCreation()
147 ssocket.getLocalPort()); in testSocketCreation()
156 ssocket.getLocalPort(), in testSocketCreation()
166 ssocket.getLocalPort()); in testSocketCreation()
175 ssocket.getLocalPort(), in testSocketCreation()
187 ssocket.getLocalPort()); in testSocketCreation()
189 socket, "localhost", ssocket.getLocalPort(), in testSocketCreation()
DSSLServerSocketImplTest.java76 client = new Client(ssocket.getLocalPort()); in testSSLServerSocketImpl1()
140 client = new Client(ssocket.getLocalPort()); in testSSLServerSocketImpl2()
204 client = new Client(ssocket.getLocalPort()); in testSSLServerSocketImpl3()
268 client = new Client(ssocket.getLocalPort()); in testSSLServerSocketImpl4()
635 return client.getLocalPort(); in getPort()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java44 InetAddress.getLocalHost(), pingServer.getLocalPort())); in test_getInputStream()
107 int port = ss.getLocalPort(); in test_getOutputStream()
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DDefaultHandler.java140 … writer.write("http://"+context.getVirtualHosts()[0]+":"+request.getLocalPort()); in handle()
147 … writer.write(" @ "+context.getVirtualHosts()[0]+":"+request.getLocalPort()); in handle()
157 … writer.write(" @ "+context.getVirtualHosts()[0]+":"+request.getLocalPort()); in handle()
/external/apache-http/src/org/apache/http/impl/
DSocketHttpServerConnection.java133 public int getLocalPort() { in getLocalPort() method in SocketHttpServerConnection
135 return this.socket.getLocalPort(); in getLocalPort()
DSocketHttpClientConnection.java135 public int getLocalPort() { in getLocalPort() method in SocketHttpClientConnection
137 return this.socket.getLocalPort(); in getLocalPort()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DSocksProxy.java62 executor.execute(new NamedRunnable("SocksProxy %s", serverSocket.getLocalPort()) { in play()
81 "localhost", serverSocket.getLocalPort())); in proxy()
182 fromSink.writeShort(toSocket.getLocalPort()); in acceptCommand()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLSocketImplWrapper.java200 public int getLocalPort() { in getLocalPort() method in OpenSSLSocketImplWrapper
201 return socket.getLocalPort(); in getLocalPort()
/external/apache-http/src/org/apache/http/
DHttpInetConnection.java54 int getLocalPort(); in getLocalPort() method
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java156 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
161 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
189 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java156 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
161 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
189 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java158 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
163 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
193 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java155 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
160 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
188 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java157 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
162 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
192 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java157 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
162 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
192 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java157 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
162 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
192 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/core/session/
DDefaultSession.java157 + "] on port " + passiveModeDataSocket.getLocalPort()); in openDataConnection()
162 + passiveModeDataSocket.getLocalPort()); in openDataConnection()
192 return passiveModeDataSocket.getLocalPort(); in switchToPassiveMode()

12345