Home
last modified time | relevance | path

Searched defs:getLocalPort (Results 1 – 20 of 20) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DSocketTest.java515 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_ConstructorLjava_lang_StringI()
605 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort(), in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI()
703 server.getLocalPort(), null, 0)) { in test_getKeepAlive()
715 try (Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_getLocalAddress()
732 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_getLocalPort()
875 Socket s = new Socket("127.0.0.1", ss2.getLocalPort())) { in test_getOutputStream()
954 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_getSendBufferSize()
962 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_getSoLinger()
971 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_getSoTimeout()
983 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort())) { in test_getTcpNoDelay()
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java87 public int getLocalPort() { in getLocalPort() method in ServerSocketAdaptor
DDatagramSocketAdaptor.java244 public int getLocalPort() { in getLocalPort() method in DatagramSocketAdaptor
DSocketAdaptor.java186 public int getLocalPort() { in getLocalPort() method in SocketAdaptor
/libcore/ojluni/annotations/mmodule/java/net/
DSocketImpl.annotated.java76 protected int getLocalPort() { throw new RuntimeException("Stub!"); } in getLocalPort() method in SocketImpl
DServerSocket.annotated.java49 public int getLocalPort() { throw new RuntimeException("Stub!"); } in getLocalPort() method in ServerSocket
DDatagramSocket.annotated.java72 public int getLocalPort() { throw new RuntimeException("Stub!"); } in getLocalPort() method in DatagramSocket
DSocket.annotated.java70 public int getLocalPort() { throw new RuntimeException("Stub!"); } in getLocalPort() method in Socket
/libcore/ojluni/src/main/java/java/net/
DDatagramSocketImpl.java252 protected int getLocalPort() { in getLocalPort() method in DatagramSocketImpl
DSocketImpl.java287 protected int getLocalPort() { in getLocalPort() method in SocketImpl
DServerSocket.java436 public int getLocalPort() { in getLocalPort() method in ServerSocket
DSocksSocketImpl.java1071 protected int getLocalPort() { in getLocalPort() method in SocksSocketImpl
DDatagramSocket.java909 public int getLocalPort() { in getLocalPort() method in DatagramSocket
DSocket.java797 public int getLocalPort() { in getLocalPort() method in Socket
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocketImpl.java92 protected int getLocalPort() { in getLocalPort() method in SocketImpl
DSocksSocketImpl.java110 protected int getLocalPort() { in getLocalPort() method in SocksSocketImpl
DServerSocket.java82 public int getLocalPort() { in getLocalPort() method in ServerSocket
DDatagramSocket.java131 public int getLocalPort() { in getLocalPort() method in DatagramSocket
DSocket.java149 public int getLocalPort() { in getLocalPort() method in Socket
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java1955 try (Socket s = new Socket("127.0.0.1", ss.getLocalPort())) { in test_getOutputStream_shutdownOutput()