Searched defs:getLocalHost (Results 1 – 7 of 7) sorted by relevance
160 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()
83 @libcore.util.NonNull public static java.net.InetAddress getLocalHost() throws java.net.UnknownHost… in getLocalHost() method in InetAddress
88 public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { throw new … in getLocalHost() method in InetAddress
162 public static java.net.InetAddress getLocalHost() throws java.net.UnknownHostException { in getLocalHost() method in InetAddress
1437 public static InetAddress getLocalHost() throws UnknownHostException { in getLocalHost() method in InetAddress
126 try (DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost())) { in test_ConstructorILjava_net_InetAddress()
605 Socket client = new Socket(InetAddress.getLocalHost(), server.getLocalPort(), in test_ConstructorLjava_net_InetAddressILjava_net_InetAddressI()