Home
last modified time | relevance | path

Searched defs:getLocalHost (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
DSocketFactoryTest.java160 try (Socket s = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */, in test_createSocket_InetAddressIInetAddressI_IllegalArgumentException()
169 try (Socket s = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */, in test_createSocket_InetAddressIInetAddressI_IllegalArgumentException()
199 try (Socket s1 = sf.createSocket(InetAddress.getLocalHost() /* ServerAddress */, in test_createSocket_InetAddressIInetAddressI_ExceptionOrder()
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java849 public static InetAddress getLocalHost() throws UnknownHostException { in getLocalHost() method in InetAddress
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java126 try (DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost())) { in test_ConstructorILjava_net_InetAddress()
DSocketTest.java605 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort(), in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI()