Searched refs:addr1 (Results 1 – 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | InterfaceAddressTest.java | 84 InetAddress addr1 = interfaceAddr.getAddress(); in test_getAddress() local 85 assertNotNull(addr1); in test_getAddress() 88 assertEquals(addr2, addr1); in test_getAddress() 99 InetAddress addr1 = interfaceAddr.getBroadcast(); in test_getBroadcast() local 102 assertEquals(addr2, addr1); in test_getBroadcast() 104 assertNull(addr1); in test_getBroadcast()
|
D | Inet6AddressTest.java | 691 byte[] addr1 = { (byte) 127, 0, 0, 1 }; in test_getByAddressLString$BI() 693 Inet6Address.getByAddress("123", addr1, 0); in test_getByAddressLString$BI() 718 byte[] addr1 = { (byte) 127, 0, 0, 1 }; in test_getByAddressLString$BLNetworkInterface() 720 Inet6Address.getByAddress("123", addr1, nif); in test_getByAddressLString$BLNetworkInterface()
|
D | SocketTest.java | 634 SocketAddress addr1 = InetSocketAddress.createUnresolved("127.0.0.1", 80); in test_ConstructorLjava_net_Proxy_Exception() local 636 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); in test_ConstructorLjava_net_Proxy_Exception() 645 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr1); in test_ConstructorLjava_net_Proxy_Exception()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | InetAddressTest.java | 447 InetAddress addr1 = InetAddress.getByName("1.0.0.1"); in test_hashCode() local 449 assertTrue(addr1.hashCode() == addr2.hashCode()); in test_hashCode()
|
D | OldSocketTest.java | 1894 SocketAddress addr1 = InetSocketAddress.createUnresolved("127.0.0.1", in test_ConstructorLjava_net_Proxy_Exception() local 1898 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); in test_ConstructorLjava_net_Proxy_Exception() 1907 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr1); in test_ConstructorLjava_net_Proxy_Exception()
|