HomeSort by relevance Sort by last modified time
    Searched refs:getLocalHost (Results 26 - 50 of 74) sorted by null

12 3

  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLServerSocketTest.java 72 new MySSLServerSocket(0, 10, InetAddress.getLocalHost());
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
ServerSocketFactoryTest.java 72 s = sf.createServerSocket(0, 50, InetAddress.getLocalHost());
  /external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DefaultSSLServerSocketFactoryTest.java 68 f.createServerSocket(0, 10, InetAddress.getLocalHost());
  /libcore/luni/src/test/java/libcore/java/net/
OldDatagramPacketTest.java 28 DatagramPacket dp = new DatagramPacket("Hello".getBytes(), 5, InetAddress.getLocalHost(), 1000);
SocketTest.java 87 InetAddress host = InetAddress.getLocalHost();
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
AuthenticatorTest.java 78 InetAddress addr = InetAddress.getLocalHost();
90 InetAddress addr = InetAddress.getLocalHost();
InetAddressTest.java 146 * @tests java.net.InetAddress#getLocalHost()
150 // java.net.InetAddress.getLocalHost()
155 .getLocalHost());
156 assertTrue("Incorrect host returned", InetAddress.getLocalHost()
162 * @tests java.net.InetAddress#getLocalHost()
167 DatagramSocket dg = new DatagramSocket(0, InetAddress.getLocalHost());
168 assertEquals("Incorrect host returned", InetAddress.getLocalHost(), dg.getLocalAddress());
304 theAddress = InetAddress.getLocalHost();
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...]
  /external/jmdns/src/javax/jmdns/impl/
SocketListener.java 46 if (this._jmDNSImpl.getLocalHost().shouldIgnorePacket(packet)) {
DNSRecord.java 331 if (dns.getLocalHost().conflictWithRecord(this)) {
332 DNSRecord.Address localAddress = dns.getLocalHost().getDNSAddressRecord(this.getRecordType(), this.isUnique(), DNSConstants.DNS_TTL);
348 dns.getLocalHost().incrementHostName();
366 if (dns.getLocalHost().conflictWithRecord(this)) {
370 dns.getLocalHost().incrementHostName();
726 if (info != null && (info.isAnnouncing() || info.isAnnounced()) && (_port != info.getPort() || !_server.equalsIgnoreCase(dns.getLocalHost().getName()))) {
728 DNSRecord.Service localService = new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(), dns.getLocalHost().getName());
776 if (info != null && (_port != info.getPort() || !_server.equalsIgnoreCase(dns.getLocalHost().getName()))) {
797 if (this._port == info.getPort() != _server.equals(dns.getLocalHost().getName())) {
799 .getLocalHost().getName()))
    [all...]
HostInfo.java 76 addr = InetAddress.getLocalHost();
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLServerSocketTest.java 179 mySSLServerSocket ssl = new mySSLServerSocket(0, 0, InetAddress.getLocalHost());
183 new mySSLServerSocket(port_invalid[i], 1, InetAddress.getLocalHost());
190 new mySSLServerSocket(ssl.getLocalPort(), 0, InetAddress.getLocalHost());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SinkChannelTest.java 466 ssc.socket().bind(new InetSocketAddress(InetAddress.getLocalHost(),49999));
475 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999));
490 ssc.socket().bind(new InetSocketAddress(InetAddress.getLocalHost(),49999));
492 sc.connect(new InetSocketAddress(InetAddress.getLocalHost(),49999));
FileChannelTest.java     [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
SpdyServer.java 157 SSLContext sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
HttpOverSpdyTest.java 68 sslContext = new SslContextBuilder(InetAddress.getLocalHost().getHostName()).build();
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResults.java 129 hostName = InetAddress.getLocalHost().getHostName();
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/
MockSpdyServer.java 70 return InetAddress.getLocalHost().getHostName();
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
Socks5Proxy.java 99 this.localAddresses.add(InetAddress.getLocalHost().getHostAddress());
197 * <code>InetAddress.getLocalHost().getHostAddress()</code>. You can replace the list of
  /external/smack/src/org/xbill/DNS/
SimpleResolver.java 54 addr = InetAddress.getLocalHost();
  /frameworks/base/services/java/com/android/server/wm/
ViewServer.java 104 mServer = new ServerSocket(mPort, VIEW_SERVER_MAX_CONNECTIONS, InetAddress.getLocalHost());
  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLContext.java 178 InetAddress host = InetAddress.getLocalHost();
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 103 socket = new Socket(InetAddress.getLocalHost(), PORT);
  /libcore/luni/src/main/java/java/net/
InetAddress.java 363 public static InetAddress getLocalHost() throws UnknownHostException {
    [all...]
PlainSocketImpl.java 188 InetAddress normalAddr = anAddr.isAnyLocalAddress() ? InetAddress.getLocalHost() : anAddr;

Completed in 763 milliseconds

12 3