/libcore/luni/src/main/java/java/net/ |
InetSocketAddress.java | 69 hostname = addr.getHostName(); 157 public final String getHostName() { 158 return (null != addr) ? addr.getHostName() : hostname;
|
DatagramSocket.java | 158 security.checkConnect(anAddress.getHostName(), aPort); 230 security.checkConnect(anAddr.getHostName(), -1); 371 security.checkAccept(senderAddr.getHostName(), 445 security.checkConnect(packAddr.getHostName(), pack 622 throw new SocketException("Host is unresolved: " + inetAddr.getHostName()); 654 throw new SocketException("Host is unresolved: " + inetAddr.getHostName()); 666 security.checkConnect(inetAddr.getAddress().getHostName(),
|
NetworkInterface.java | 153 sm.checkConnect(address.getHostName(), CHECK_CONNECT_NO_PORT); 376 sm.checkConnect(ia.getAddress().getHostName(), CHECK_CONNECT_NO_PORT);
|
ServerSocket.java | 331 .append(getInetAddress().getHostName()).append("/") 383 throw new SocketException("Host is unresolved: " + inetAddr.getHostName());
|
Socket.java | 97 host = address.getHostName(); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
InetSocketAddressTest.java | 60 assertNotNull(address.getHostName()); 87 method = "getHostName", 125 //assertEquals(results[i], isa.getHostName()); 133 assertEquals("0.0.0.0", isa.getHostName()); 176 assertEquals("0.0.0.0", isa.getHostName()); 213 assertEquals(isa.getHostName(), legalHostPortPairs[i].host); 266 assertEquals("HostName", init.getHostName(), desr.getHostName());
|
InetAddressTest.java | 62 * the gethostbyname function to be called. getHostName will cause the 94 String correctName = testAddress.getHostName(); 113 String hostName = ia.getHostName(); 123 + ": getHostName() returned " 133 + ": getHostName() returned " 217 assertTrue(alias.getHostName().startsWith( 260 // ia2.getHostName().startsWith(Support_Configuration.InetTestAddress)); 328 * @tests java.net.InetAddress#getHostName() 333 method = "getHostName", 337 // Test for method java.lang.String java.net.InetAddress.getHostName() [all...] |
Inet4AddressTest.java | 446 assertEquals(initAddr.getHostName(), desrAddr.getHostName());
|
/libcore/luni/src/test/java/tests/api/javax/net/ |
SocketFactoryTest.java | 113 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport); 131 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]); 141 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), portNumber); 285 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport, 307 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i], 316 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport,
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestTargetHost.java | 82 targethost = new HttpHost(address.getHostName(), port);
|
/frameworks/base/core/java/android/net/http/ |
HttpConnection.java | 58 Socket sock = new Socket(mHost.getHostName(), mHost.getPort());
|
HttpsConnection.java | 178 (mProxyHost.getHostName(), mProxyHost.getPort()); 256 proxySock, mHost.getHostName(), mHost.getPort(), true); 292 sslSock.connect(new InetSocketAddress(mHost.getHostName(), 310 doHandshakeAndValidateServerCertificates(this, sslSock, mHost.getHostName());
|
Request.java | 392 return mHost.getHostName();
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultClientConnectionOperator.java | 136 InetAddress[] addresses = InetAddress.getAllByName(target.getHostName()); 165 target.getHostName(), 226 (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true);
|
ProxySelectorRoutePlanner.java | 227 isa.getHostName() : isa.getAddress().getHostAddress();
|
/external/apache-http/src/org/apache/http/ |
HttpHost.java | 129 public String getHostName() {
|
/external/apache-http/src/org/apache/http/client/utils/ |
URIUtils.java | 136 target.getHostName(),
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLSocketTest.java | 244 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport); 257 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), invalidPort[i]); 294 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, 310 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), invalidPort[i], 319 ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, [all...] |
/external/apache-http/src/org/apache/http/client/protocol/ |
RequestAddCookies.java | 134 String hostName = targetHost.getHostName();
|
/frameworks/base/core/java/android/webkit/ |
Network.java | 221 return mRequestQueue.getProxyHost().getHostName();
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSocketImpl.java | 260 super.getInetAddress().getHostName() == null) { 264 super.getInetAddress().getHostName(), 498 super.getInetAddress().getHostName(), 511 + getInetAddress().getHostName() + "."); [all...] |
ClientHandshakeImpl.java | 93 session.setPeer(socketOwner.getInetAddress().getHostName(), socketOwner.getPort()); 117 session.setPeer(socketOwner.getInetAddress().getHostName(), socketOwner.getPort()); 629 host = socketOwner.getInetAddress().getHostName();
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpConnection.java | 273 this.hostName = proxySocketAddress.getHostName();
|
/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
PlainDatagramSocketImpl.java | 221 throw new SocketException("Host is unresolved: " + inetAddr.getHostName());
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTest.java | 75 s = new Socket(InetAddress.getLocalHost().getHostName(), sport); 127 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 232 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, true); 235 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, false); 251 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 378 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 461 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 488 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, 748 s = new Socket(InetAddress.getLocalHost().getHostName(), sport, [all...] |