HomeSort by relevance Sort by last modified time
    Searched refs:getLocalPort (Results 26 - 50 of 199) sorted by null

12 3 4 5 6 7 8

  /external/jetty/src/java/org/eclipse/jetty/server/
Connector.java 235 int getLocalPort();
  /frameworks/opt/net/voip/src/java/android/net/rtp/
RtpStream.java 87 public int getLocalPort() {
  /libcore/ojluni/src/main/java/java/net/
DatagramSocketImpl.java 232 protected int getLocalPort() {
ServerSocket.java 94 * number can then be retrieved by calling {@link #getLocalPort getLocalPort}.
137 * {@link #getLocalPort getLocalPort}.
195 * {@link #getLocalPort getLocalPort}.
430 public int getLocalPort() {
434 return getImpl().getLocalPort();
454 * @see #getLocalPort()
462 return new InetSocketAddress(getInetAddress(), getLocalPort());
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
SocketTest.java 57 * Our getLocalAddress and getLocalPort currently use getsockname(3).
68 int localPort = s.getLocalPort();
74 assertEquals(localPort, s.getLocalPort());
111 InetSocketAddress addr = new InetSocketAddress(host, ssc.socket().getLocalPort());
133 assertEquals(outRemoteAddress.getPort(), ss.getLocalPort());
134 assertEquals(inLocalAddress.getPort(), ss.getLocalPort());
315 Socket socket = new Socket("localhost", serverSocket.getLocalPort());
335 assertEquals(-1, s.getLocalPort());
358 assertEquals(boundAddress.getPort(), s.getLocalPort());
417 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
    [all...]
OldSocketTest.java 84 s = new Socket("0.0.0.0", ss.getLocalPort());
126 Socket s2 = new Socket(InetAddress.getLocalHost(), sport, null, s1.getLocalPort());
206 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort());
263 // Test for method int java.net.Socket.getLocalPort()
264 int sport = startServer("SServer getLocalPort");
268 s.getLocalPort();
585 + ",localPort=" + s.getLocalPort() + "]", s.toString());
592 Socket theSocket = new Socket(addr, serverSocket.getLocalPort());
627 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort());
661 assertEquals(new InetSocketAddress(InetAddress.getLocalHost(), s.getLocalPort()),
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DatagramSocketTest.java 79 return serverSocket.getLocalPort();
107 assertTrue("Created socket with incorrect port", ds.getLocalPort() != 0);
148 ds.connect(localHost, ds.getLocalPort());
150 ds.getLocalPort());
350 assertTrue("Returned incorrect port", ds.getLocalPort() != 0);
599 assertTrue("Created socket with incorrect port", ds.getLocalPort() != 0);
627 new DatagramSocket(socket1.getLocalPort());
735 assertTrue(theSocket.getLocalPort() > 0);
756 assertFalse(0 == s.getLocalPort());
771 theSocket2.bind(new InetSocketAddress(InetAddress.getLocalHost(), theSocket1.getLocalPort()));
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/
ExecDumpClientTest.java 132 final int port = server.getLocalPort();
148 return server.getLocalPort();
  /libcore/ojluni/src/main/java/sun/nio/ch/
ServerSocketAdaptor.java 87 public int getLocalPort() {
193 ",localport=" + getLocalPort() + "]";
  /cts/tests/tests/net/src/android/net/rtp/cts/
AudioStreamTest.java 29 assertEquals(stream.getLocalPort() % 2, 0);
  /frameworks/support/compat/ics/android/support/v4/net/
DatagramSocketWrapper.java 42 this.localport = socket.getLocalPort();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLSocketFactoryTest.java 38 return ss.getLocalPort();
SSLServerSocketTest.java 142 new mySSLServerSocket(ssl.getLocalPort());
164 new mySSLServerSocket(ssl.getLocalPort(), 1);
190 new mySSLServerSocket(ssl.getLocalPort(), 0, InetAddress.getLocalHost());
  /external/jetty/src/java/org/eclipse/jetty/server/handler/
DefaultHandler.java 140 writer.write("http://"+context.getVirtualHosts()[0]+":"+request.getLocalPort());
147 writer.write(" @ "+context.getVirtualHosts()[0]+":"+request.getLocalPort());
157 writer.write(" @ "+context.getVirtualHosts()[0]+":"+request.getLocalPort());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
SocksProxy.java 62 executor.execute(new NamedRunnable("SocksProxy %s", serverSocket.getLocalPort()) {
81 "localhost", serverSocket.getLocalPort()));
182 fromSink.writeShort(toSocket.getLocalPort());
  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLServerSocketImplTest.java 76 client = new Client(ssocket.getLocalPort());
140 client = new Client(ssocket.getLocalPort());
204 client = new Client(ssocket.getLocalPort());
268 client = new Client(ssocket.getLocalPort());
635 return client.getLocalPort();
SSLSocketFunctionalTest.java 86 ssocket.getLocalPort());
124 ssocket.getLocalPort());
156 ssocket.getLocalPort());
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/session/
DefaultSession.java 156 + "] on port " + passiveModeDataSocket.getLocalPort());
161 + passiveModeDataSocket.getLocalPort());
189 return passiveModeDataSocket.getLocalPort();
  /external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/session/
DefaultSession.java 158 + "] on port " + passiveModeDataSocket.getLocalPort());
163 + passiveModeDataSocket.getLocalPort());
193 return passiveModeDataSocket.getLocalPort();
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
HandshakeCompletedEventTest.java 55 port = ss.getLocalPort();
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
MockServerSocket.java 132 public int getLocalPort() {
  /development/samples/training/NsdChat/src/com/example/android/nsdchat/
ChatConnection.java 70 public int getLocalPort() {
146 setLocalPort(mServerSocket.getLocalPort());
  /external/apache-http/src/org/apache/http/impl/conn/
AbstractClientConnAdapter.java 302 public int getLocalPort() {
305 return conn.getLocalPort();
  /external/jetty/src/java/org/eclipse/jetty/server/bio/
SocketConnector.java 87 _localPort=_serverSocket.getLocalPort();
146 public int getLocalPort()
  /external/jetty/src/java/org/eclipse/jetty/server/nio/
BlockingChannelConnector.java 164 public int getLocalPort()
168 return _acceptChannel.socket().getLocalPort();

Completed in 599 milliseconds

12 3 4 5 6 7 8