Searched refs:getLocalSocketAddress (Results 1 - 25 of 27) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
H A DConcurrentCloseTest.java58 s.connect(ss.getLocalSocketAddress());
73 s.connect(ss.getLocalSocketAddress(), 3600 * 1000);
89 s.connect(ss.getLocalSocketAddress());
109 s.connect(ss.getLocalSocketAddress());
124 s.connect(ss.getLocalSocketAddress());
192 s.connect(ss.getLocalSocketAddress());
236 public SocketAddress getLocalSocketAddress() { method in class:ConcurrentCloseTest.SilentServer
237 return ss.getLocalSocketAddress();
H A DOldSocketTest.java256 assertTrue("ANY address not IPv6: " + s.getLocalSocketAddress(),
663 s.getLocalSocketAddress());
671 theSocket.getLocalSocketAddress());
676 theSocket.getLocalSocketAddress());
683 assertTrue("ANY address not IPv6: " + s.getLocalSocketAddress(),
684 ((InetSocketAddress) s.getLocalSocketAddress()).getAddress() instanceof Inet6Address);
690 assertTrue("ANY address not IPv6: " + s.getLocalSocketAddress(),
691 ((InetSocketAddress) s.getLocalSocketAddress()).getAddress() instanceof Inet6Address);
701 + s.getLocalSocketAddress().toString(),
744 theSocket.connect(serverSocket.getLocalSocketAddress());
[all...]
H A DSocketTest.java113 InetSocketAddress outLocalAddress = (InetSocketAddress) out.socket().getLocalSocketAddress();
114 InetSocketAddress inLocalAddress = (InetSocketAddress) in.socket().getLocalSocketAddress();
137 assertEquals(in.socket().getLocalSocketAddress(), ss.getLocalSocketAddress());
H A DOldServerSocketTest.java63 + theSocket.getLocalSocketAddress().toString()
67 .getLocalSocketAddress().equals(
H A DOldDatagramSocketTest.java1258 assertEquals(localAddress1, theSocket.getLocalSocketAddress());
1289 assertNotNull(theSocket.getLocalSocketAddress());
1731 + s.getLocalSocketAddress().toString(), s
/libcore/support/src/test/java/tests/net/
H A DStuckServer.java47 this.address = (InetSocketAddress) serverSocket.getLocalSocketAddress();
69 public InetSocketAddress getLocalSocketAddress() { method in class:StuckServer
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DDatagramChannelTest.java28 dc.connect(ds.getLocalSocketAddress());
H A DSelectorTest.java45 sc.connect(ssc.socket().getLocalSocketAddress());
63 sc.connect(ss.getLocalSocketAddress());
153 sc.connect(ssc.socket().getLocalSocketAddress());
H A DSocketChannelTest.java46 SocketChannel sc = SocketChannel.open(ss.getLocalSocketAddress());
H A DOldSocketChannelTest.java60 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress();
305 sc.connect(ssc.socket().getLocalSocketAddress());
321 sc.connect(ssc.socket().getLocalSocketAddress());
/libcore/crypto/src/main/java/org/conscrypt/
H A DOpenSSLSocketImplWrapper.java64 public SocketAddress getLocalSocketAddress() { method in class:OpenSSLSocketImplWrapper
65 return socket.getLocalSocketAddress();
H A DSSLSocketWrapper.java85 public SocketAddress getLocalSocketAddress() { method in class:SSLSocketWrapper
86 return socket.getLocalSocketAddress();
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketFactoryTest.java68 InetSocketAddress sa = (InetSocketAddress) ss.getLocalSocketAddress();
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DUnixSelectorTest.java80 boolean isConnected = socketChannel.connect(server.socket.getLocalSocketAddress());
H A DSocketChannelTest.java412 assertNull(socket.getLocalSocketAddress());
416 assertNotNull(socket.getLocalSocketAddress());
466 assertNull(s.getLocalSocketAddress());
499 assertNotNull(s.getLocalSocketAddress());
2767 boolean connected = sc.connect(ssc.socket().getLocalSocketAddress());
2805 boolean connected = sc.connect(ssc.socket().getLocalSocketAddress());
2840 client.connect(server.socket().getLocalSocketAddress());
2872 client.connect(server.socket().getLocalSocketAddress());
2914 client.connect(server.socket().getLocalSocketAddress());
2957 client.connect(server.socket().getLocalSocketAddress());
[all...]
H A DFileChannelTest.java2502 .getLocalSocketAddress());
2508 .socket().getLocalSocketAddress());
2541 .getLocalSocketAddress());
2849 .getLocalSocketAddress());
2907 .getLocalSocketAddress());
2910 .getLocalSocketAddress());
H A DSelectorTest.java58 localAddress = ss.getLocalSocketAddress();
H A DServerSocketChannelTest.java185 assertNull(s.getLocalSocketAddress());
H A DDatagramChannelTest.java361 assertNull(s.getLocalSocketAddress());
380 assertNotNull(s.getLocalSocketAddress());
2545 SocketAddress boundedAddress = server.socket().getLocalSocketAddress();
/libcore/luni/src/main/java/java/net/
H A DServerSocket.java335 public SocketAddress getLocalSocketAddress() { method in class:ServerSocket
H A DDatagramSocket.java542 public SocketAddress getLocalSocketAddress() { method in class:DatagramSocket
H A DSocket.java679 public SocketAddress getLocalSocketAddress() { method in class:Socket
/libcore/luni/src/test/java/libcore/java/io/
H A DInterruptedStreamTest.java114 clientSocketChannel.connect(serverSocketChannel.socket().getLocalSocketAddress());
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DHandshakeCompletedEventTest.java497 socket.connect(serverSocket.getLocalSocketAddress());
H A DSSLSessionTest.java583 socket.connect(serverSocket.getLocalSocketAddress());

Completed in 755 milliseconds

12