Home
last modified time | relevance | path

Searched refs:localSocketAddress (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java1085 InetSocketAddress localSocketAddress = (InetSocketAddress) Os.getsockname(fd);
1086 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress());
1090 localSocketAddress = (InetSocketAddress) Os.getsockname(fd);
1091 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress());
1095 localSocketAddress = (InetSocketAddress) Os.getsockname(fd);
1096 assertEquals(Inet4Address.ANY, localSocketAddress.getAddress());
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java1229 SocketAddress localSocketAddress; in test_connectLjava_net_SocketAddressI() local
1232 localSocketAddress = serverSocket.getLocalSocketAddress(); in test_connectLjava_net_SocketAddressI()
1233 theSocket.connect(localSocketAddress); in test_connectLjava_net_SocketAddressI()
1265 socket.connect(localSocketAddress); in test_connectLjava_net_SocketAddressI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSocketChannelTest.java516 InetSocketAddress localSocketAddress = (InetSocketAddress) s.getLocalSocketAddress(); in assertSocketAfterImplicitBind() local
517 assertTrue(localSocketAddress.getAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()
518 assertEquals(s.getLocalPort(), localSocketAddress.getPort()); in assertSocketAfterImplicitBind()