/libcore/ojluni/src/main/java/sun/nio/ch/ |
DatagramSocketAdaptor.java | 244 public int getLocalPort() {
|
SocketAdaptor.java | 184 public int getLocalPort() { 432 ",localport=" + getLocalPort() + "]";
|
/external/apache-http/android/src/android/net/http/ |
AndroidHttpClientConnection.java | 164 public int getLocalPort() { 166 return this.socket.getLocalPort();
|
/external/conscrypt/android/src/main/java/org/conscrypt/ |
KitKatPlatformOpenSSLSocketImplAdapter.java | 70 public int getLocalPort() { 71 return delegate.getLocalPort();
|
PreKitKatPlatformOpenSSLSocketImplAdapter.java | 70 public int getLocalPort() { 71 return delegate.getLocalPort();
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
AbstractConscryptSocket.java | 199 public int getLocalPort() { 201 return socket.getLocalPort(); 203 return super.getLocalPort();
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyServer.java | 333 setPort(serverSocket.getLocalPort());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLServerSocketTest.java | 141 new mySSLServerSocket(ssl.getLocalPort()); 163 new mySSLServerSocket(ssl.getLocalPort(), 1); 189 new mySSLServerSocket(ssl.getLocalPort(), 0, InetAddress.getLocalHost());
|
SSLSessionTest.java | 61 assertEquals(serverSocket.getLocalPort(), s.getPeerPort());
|
/libcore/luni/src/test/java/libcore/java/net/ |
DatagramSocketTest.java | 45 assertTrue(ds.getLocalPort() > 0); 48 assertEquals(ds.getLocalPort(), socketAddress.getPort()); 67 assertEquals(-1, ds.getLocalPort());
|
SocketTest.java | 72 * Our getLocalAddress and getLocalPort currently use getsockname(3). 83 int localPort = s.getLocalPort(); 89 assertEquals(localPort, s.getLocalPort()); 126 InetSocketAddress addr = new InetSocketAddress(host, ssc.socket().getLocalPort()); 148 assertEquals(outRemoteAddress.getPort(), ss.getLocalPort()); 149 assertEquals(inLocalAddress.getPort(), ss.getLocalPort()); 339 Socket socket = new Socket("localhost", serverSocket.getLocalPort()); 359 assertEquals(-1, s.getLocalPort()); 382 assertEquals(boundAddress.getPort(), s.getLocalPort()); 448 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort()); [all...] |
OldSocketTest.java | 87 s = new Socket("0.0.0.0", ss.getLocalPort()); 129 Socket s2 = new Socket(InetAddress.getLocalHost(), sport, null, s1.getLocalPort()); 211 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort()); 269 // Test for method int java.net.Socket.getLocalPort() 270 int sport = startServer("SServer getLocalPort"); 274 s.getLocalPort(); 588 + ",localPort=" + s.getLocalPort() + "]", s.toString()); 595 Socket theSocket = new Socket(addr, serverSocket.getLocalPort()); 630 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); 664 assertEquals(new InetSocketAddress(InetAddress.getLocalHost(), s.getLocalPort()), [all...] |
/libcore/ojluni/src/main/java/java/net/ |
DatagramSocket.java | 624 * @see #getLocalPort() 634 return new InetSocketAddress(getLocalAddress(), getLocalPort()); [all...] |
Socket.java | 792 public int getLocalPort() { 796 return getImpl().getLocalPort(); [all...] |
/tools/tradefederation/core/src/com/android/tradefed/util/ |
SubprocessTestResultsParser.java | 98 protected int getLocalPort() { 99 return mSocket.getLocalPort(); 164 return mEventReceiver.getLocalPort();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
DatagramSocketTest.java | 87 return serverSocket.getLocalPort(); 127 assertTrue("Created socket with incorrect port", ds.getLocalPort() != 0); 172 ds.connect(localHost, ds.getLocalPort()); 174 ds.getLocalPort()); 365 assertTrue("Returned incorrect port", ds.getLocalPort() != 0); 619 assertTrue("Created socket with incorrect port", ds.getLocalPort() != 0); 649 new DatagramSocket(socket1.getLocalPort()); 759 assertTrue(theSocket.getLocalPort() > 0); 780 assertFalse(0 == s.getLocalPort()); 795 theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort())); [all...] |
ServerSocketTest.java | 136 startClient(s.getLocalPort()); 145 ServerSocket s2 = new ServerSocket(s1.getLocalPort()); 156 int allocatedPort = s1.getLocalPort(); 170 startClient(s.getLocalPort()); 186 startClient(s.getLocalPort()); 192 int localPort1 = s.getLocalPort(); 193 int localPort2 = sconn.getLocalPort(); 290 * java.net.ServerSocket#getLocalPort() 303 .getLocalPort()); 383 startClient(s.getLocalPort()); [all...] |
/libcore/luni/src/test/java/libcore/io/ |
OsTest.java | 786 assertEquals(srcSock.getLocalPort(), address.getPort());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SocketChannelTest.java | 76 this.localAddr1 = new InetSocketAddress("127.0.0.1", server1.getLocalPort()); 79 this.localAddr2 = new InetSocketAddress("127.0.0.1", server2.getLocalPort()); 487 assertEquals(-1, socket.getLocalPort()); 491 assertTrue(-1 != socket.getLocalPort()); 492 assertTrue(0 != socket.getLocalPort()); 499 assertTrue(socket.getLocalPort() != -1); 507 assertEquals(-1, s.getLocalPort()); 514 assertTrue(s.getLocalPort() > 0); 518 assertEquals(s.getLocalPort(), localSocketAddress.getPort()); [all...] |
DatagramChannelTest.java | 278 assertEquals(s1.getLocalPort(), 0); [all...] |
/prebuilts/tools/common/m2/repository/org/eclipse/jetty/jetty-io/8.1.14.v20131031/ |
jetty-io-8.1.14.v20131031.jar | |
/external/guice/extensions/persist/lib/ |
servlet-api-2.5.jar | |
/external/guice/extensions/servlet/lib/build/ |
servlet-api-2.5.jar | |
/external/guice/extensions/struts2/lib/ |
servlet-api-2.5.jar | |
jetty-6.1.0.jar | |