HomeSort by relevance Sort by last modified time
    Searched defs:getLocalHost (Results 1 - 17 of 17) sorted by null

  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLSocketFactoryTest.java 57 f.createSocket("localhost", 0, InetAddress.getLocalHost(), 1);
71 f.createSocket(InetAddress.getLocalHost(), 1);
86 f.createSocket(InetAddress.getLocalHost(), 1, InetAddress
87 .getLocalHost(), 2);
  /libcore/luni/src/test/java/libcore/java/net/
OldAndroidDatagramTest.java 69 packet.setAddress(InetAddress.getLocalHost());
123 reflector = new Reflector(1234, InetAddress.getLocalHost());
129 socket = new DatagramSocket(2345, InetAddress.getLocalHost());
136 packet.setAddress(InetAddress.getLocalHost());
OldDatagramSocketTest.java 188 .getLocalHost());
192 .getLocalAddress().equals(InetAddress.getLocalHost()));
212 .getLocalHost());
227 .getLocalHost());
242 .getLocalHost(), 0);
259 InetAddress inetAddress = InetAddress.getLocalHost();
291 InetAddress localHost = InetAddress.getLocalHost();
357 InetAddress inetAddress = InetAddress.getLocalHost();
381 InetAddress localHost = InetAddress.getLocalHost();
427 InetAddress inetAddress = InetAddress.getLocalHost();
    [all...]
OldSocketTest.java 76 s = new Socket(InetAddress.getLocalHost().getHostName(), sport);
119 s = new Socket(InetAddress.getLocalHost().getHostName(), sport,
120 InetAddress.getLocalHost(), portNumber);
147 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, true);
150 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, false);
156 s = new Socket(InetAddress.getLocalHost(), sport);
166 s = new Socket(InetAddress.getLocalHost().getHostName(), sport,
167 InetAddress.getLocalHost(), portNumber);
174 s = new Socket(InetAddress.getLocalHost(), sport, true);
177 s = new Socket(InetAddress.getLocalHost(), sport, false)
    [all...]
  /libcore/luni/src/main/java/java/net/
InetAddress.java 369 public static InetAddress getLocalHost() throws UnknownHostException {
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLSocketTest.java 67 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport);
73 getSSLSocket(InetAddress.getLocalHost(), sport + 1);
80 getSSLSocket(InetAddress.getLocalHost(), invalidPort[i]);
95 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport,
96 InetAddress.getLocalHost(), portNumber);
103 getSSLSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082);
109 getSSLSocket(InetAddress.getLocalHost(), -1, InetAddress.getLocalHost(), sport + 1);
114 getSSLSocket(InetAddress.getLocalHost(), sport, InetAddress.getLocalHost(), -1)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DatagramSocketTest.java 118 DatagramSocket ds = new DatagramSocket(0, InetAddress.getLocalHost());
121 .getLocalHost(), ds.getLocalAddress());
130 InetAddress.getLocalHost(), 0);
142 InetAddress inetAddress = InetAddress.getLocalHost();
158 InetAddress localHost = InetAddress.getLocalHost();
221 inetAddress = InetAddress.getLocalHost();
241 localHost = InetAddress.getLocalHost();
275 inetAddress = InetAddress.getLocalHost();
287 inetAddress = InetAddress.getLocalHost();
305 localHost = InetAddress.getLocalHost();
    [all...]
MulticastSocketTest.java 599 mss.setInterface(InetAddress.getLocalHost());
607 assertTrue("Failed to return correct interface IPV4 got:" + mss.getInterface() + " excpeted: " + InetAddress.getLocalHost(), mss.getInterface().equals(InetAddress.getLocalHost()));
714 ms.bind(new InetSocketAddress(InetAddress.getLocalHost(), Support_PortManager.getNextPortForUDP()));
718 ms = new MulticastSocket(new InetSocketAddress(InetAddress.getLocalHost(), Support_PortManager.getNextPortForUDP()));
    [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 
  /prebuilt/sdk/9/
android.jar 

Completed in 44 milliseconds