HomeSort by relevance Sort by last modified time
    Searched refs:boundAddress (Results 1 - 7 of 7) sorted by null

  /libcore/luni/src/test/java/libcore/java/net/
ServerSocketTest.java 75 InetSocketAddress boundAddress = (InetSocketAddress) ss.getLocalSocketAddress();
80 assertEquals(boundAddress.getAddress(), ss.getInetAddress());
81 assertEquals(boundAddress.getPort(), ss.getLocalPort());
84 assertEquals(boundAddress, localAddressAfterClose);
SocketTest.java 375 InetSocketAddress boundAddress = (InetSocketAddress) s.getLocalSocketAddress();
382 assertEquals(boundAddress.getPort(), s.getLocalPort());
386 assertEquals(boundAddress.getPort(), localAddressAfterClose.getPort());
  /libcore/luni/src/test/java/libcore/java/nio/channels/
ServerSocketChannelTest.java 86 InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
87 assertTrue(boundAddress.getAddress().isAnyLocalAddress());
88 assertFalse(boundAddress.getAddress().isLinkLocalAddress());
89 assertFalse(boundAddress.getAddress().isLoopbackAddress());
92 assertTrue(canConnect(boundAddress));
101 new InetSocketAddress(inetAddresses.nextElement(), boundAddress.getPort());
112 InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
113 assertFalse(boundAddress.getAddress().isAnyLocalAddress());
114 assertFalse(boundAddress.getAddress().isLinkLocalAddress());
115 assertTrue(boundAddress.getAddress().isLoopbackAddress())
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
SocketTest.java 192 InetSocketAddress boundAddress = new InetSocketAddress(InetAddress
195 theSocket.connect(boundAddress);
344 InetSocketAddress boundAddress = new InetSocketAddress(InetAddress
347 client.connect(boundAddress);
364 boundAddress = new InetSocketAddress(InetAddress.getLocalHost(), server
367 client.connect(boundAddress);
370 client.connect(boundAddress);
445 InetSocketAddress boundAddress = new InetSocketAddress(InetAddress
448 client.connect(boundAddress, 0);
480 boundAddress = new InetSocketAddress(InetAddress.getLocalHost(), serve
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
ServerSocketChannelTest.java 173 InetSocketAddress boundAddress = (InetSocketAddress) ssc.socket().getLocalSocketAddress();
174 assertEquals(bindAddress.getHostName(), boundAddress.getHostName());
175 assertEquals(bindAddress.getPort(), boundAddress.getPort());
DatagramChannelTest.java     [all...]
SocketChannelTest.java 205 InetSocketAddress boundAddress = (InetSocketAddress) channel1.socket().getLocalSocketAddress();
206 assertEquals(bindAddress.getHostName(), boundAddress.getHostName());
207 assertEquals(bindAddress.getPort(), boundAddress.getPort());
    [all...]

Completed in 5584 milliseconds