Home
last modified time | relevance | path

Searched refs:loopback (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java385 boolean loopback = false; in test_isLoopback()
389 loopback = true; in test_isLoopback()
393 assertEquals(loopback, netif.isLoopback()); in test_isLoopback()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java288 int family, InetAddress loopback) throws Exception { in checkByteBufferPositions_sendto_recvfrom() argument
290 Os.bind(serverFd, loopback, 0); in checkByteBufferPositions_sendto_recvfrom()
680 private void checkSendToSocketAddress(int family, InetAddress loopback) throws Exception { in checkSendToSocketAddress() argument
682 Os.bind(recvFd, loopback, 0); in checkSendToSocketAddress()
695 assertEquals(loopback, from.getAddress()); in checkSendToSocketAddress()