Searched refs:ipv6Loopback (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/tests/cts/net/src/android/net/ipv6/cts/ |
D | PingTest.java | 157 InetAddress ipv6Loopback = InetAddress.getByName(null); in testLoopbackPing() local 158 assertEquals("::1", ipv6Loopback.getHostAddress()); in testLoopbackPing() 164 sendPing(s, ipv6Loopback, packet); in testLoopbackPing() 165 checkResponse(s, ipv6Loopback, packet, true); in testLoopbackPing() 166 sendPing(s, ipv6Loopback, packet); in testLoopbackPing() 167 checkResponse(s, ipv6Loopback, packet, false); in testLoopbackPing()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkAddressTest.java | 139 LinkAddress ipv4Loopback, ipv6Loopback; in testConstructors() local 143 ipv6Loopback = new LinkAddress(addrs.get(1)); in testConstructors() 146 ipv6Loopback = new LinkAddress(addrs.get(0)); in testConstructors() 152 assertEquals(InetAddresses.parseNumericAddress("::1"), ipv6Loopback.getAddress()); in testConstructors() 153 assertEquals(128, ipv6Loopback.getPrefixLength()); in testConstructors()
|