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.java709 InetSocketAddress localSocketAddress = (InetSocketAddress) Os.getsockname(fd); in test_socketFamilies() local
710 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress()); in test_socketFamilies()
714 localSocketAddress = (InetSocketAddress) Os.getsockname(fd); in test_socketFamilies()
715 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress()); in test_socketFamilies()
719 localSocketAddress = (InetSocketAddress) Os.getsockname(fd); in test_socketFamilies()
720 assertEquals(Inet4Address.ANY, localSocketAddress.getAddress()); in test_socketFamilies()
/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()