Searched refs:addr2 (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InterfaceAddressTest.java | 86 InetAddress addr2 = anotherInterfaceAddr.getAddress(); in test_getAddress() local 87 assertNotNull(addr2); in test_getAddress() 88 assertEquals(addr2, addr1); in test_getAddress() 100 InetAddress addr2 = anotherInterfaceAddr.getBroadcast(); in test_getBroadcast() local 102 assertEquals(addr2, addr1); in test_getBroadcast() 105 assertNull(addr2); in test_getBroadcast()
|
D | Inet6AddressTest.java | 699 byte[] addr2 = { (byte) 0xFE, (byte) 0x80, 0, 0, 0, 0, 0, 0, 0x02, in test_getByAddressLString$BI() 704 Inet6Address.getByAddress("123", addr2, 3); in test_getByAddressLString$BI() 705 Inet6Address.getByAddress("123", addr2, 0); in test_getByAddressLString$BI() 706 Inet6Address.getByAddress("123", addr2, -1); in test_getByAddressLString$BI() 725 byte[] addr2 = { (byte) 0xFE, (byte) 0x80, 0, 0, 0, 0, 0, 0, 0x02, in test_getByAddressLString$BLNetworkInterface() 730 Inet6Address.getByAddress("123", addr2, nif); in test_getByAddressLString$BLNetworkInterface()
|
D | InetAddressTest.java | 245 InetAddress addr2 = InetAddress.getByAddress(new byte[] { 127, 0, 0, 1 }); in test_toString() local 246 assertEquals("Assert 1: wrong string from address", "/127.0.0.1", addr2.toString()); in test_toString()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 448 InetAddress addr2 = InetAddress.getByName("1.0.0.1"); in test_hashCode() local 449 assertTrue(addr1.hashCode() == addr2.hashCode()); in test_hashCode()
|
D | OldSocketTest.java | 1896 SocketAddress addr2 = new InetSocketAddress("localhost", 80); in test_ConstructorLjava_net_Proxy_Exception() local
|