Searched refs:localSocketAddress (Results 1 – 4 of 4) sorted by relevance
354 InetSocketAddress localSocketAddress = (InetSocketAddress) Libcore.os.getsockname(fd); in test_socketFamilies() local355 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress()); in test_socketFamilies()359 localSocketAddress = (InetSocketAddress) Libcore.os.getsockname(fd); in test_socketFamilies()360 assertEquals(Inet6Address.ANY, localSocketAddress.getAddress()); in test_socketFamilies()364 localSocketAddress = (InetSocketAddress) Libcore.os.getsockname(fd); in test_socketFamilies()365 assertEquals(Inet4Address.ANY, localSocketAddress.getAddress()); in test_socketFamilies()
125 InetSocketAddress localSocketAddress = (InetSocketAddress) sa; in onBind() local126 localAddress = localSocketAddress.getAddress(); in onBind()127 localPort = localSocketAddress.getPort(); in onBind()
156 InetSocketAddress localSocketAddress = (InetSocketAddress) sa; in onBind() local157 localAddress = localSocketAddress.getAddress(); in onBind()158 localPort = localSocketAddress.getPort(); in onBind()
513 InetSocketAddress localSocketAddress = (InetSocketAddress) s.getLocalSocketAddress(); in assertSocketAfterImplicitBind() local514 assertTrue(localSocketAddress.getAddress().isLoopbackAddress()); in assertSocketAfterImplicitBind()515 assertEquals(s.getLocalPort(), localSocketAddress.getPort()); in assertSocketAfterImplicitBind()