Home
last modified time | relevance | path

Searched defs:getLocalHost (Results 1 – 7 of 7) 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/annotations/sdk/nullability/java/net/
DInetAddress.annotated.java83 @libcore.util.NonNull public static java.net.InetAddress getLocalHost() throws java.net.UnknownHost… in getLocalHost() method in InetAddress
/libcore/ojluni/annotations/mmodule/java/net/
DInetAddress.annotated.java88 public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { throw new … in getLocalHost() method in InetAddress
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetAddress.java162 public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { in getLocalHost() method in InetAddress
/libcore/ojluni/src/main/java/java/net/
DInetAddress.java1437 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()