/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
InetAddressThreadTest.java | 36 * gethostbyaddr to be called. getHostAddress will cause inet_ntoa to be 68 String correctAddress = testAddress.getHostAddress(); 87 String hostAddress = ia.getHostAddress(); 135 assertEquals("127.0.0.1", lookup1.getHostAddress()); 137 assertEquals("127.0.0.1", lookup2.getHostAddress()); 143 lookup1.getHostAddress(), lookup1, 1); 145 lookup2.getHostAddress(), lookup2, 1);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataCallResponseTest.java | 69 linkProperties.getLinkAddresses().get(i).getAddress().getHostAddress()); 75 linkProperties.getDnsServers().get(i).getHostAddress()); 81 linkProperties.getRoutes().get(i).getGateway().getHostAddress());
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
ClientSocketHandler.java | 29 socket.connect(new InetSocketAddress(mAddress.getHostAddress(),
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageProcessor.java | 131 this.savedIpAddress = ipAddress.getHostAddress(); 135 this.sentByHostPort.setHost(new Host(ipAddress.getHostAddress())); 172 host.setHostname(this.getIpAddress().getHostAddress()); 226 this.sentByHostPort.setHost( new Host(ipAddress.getHostAddress()));
|
UDPMessageChannel.java | 179 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); 206 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); 232 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); 237 + targetAddr.getHostAddress() + "/" + port); 329 + peerAddress.getHostAddress() + "/" 388 if (pingBackRecord.get(packet.getAddress().getHostAddress() + ":" + packet.getPort()) == null ) { 392 this.sipStack.getTimer().schedule(new PingBackTimerTask(packet.getAddress().getHostAddress(), 435 this.peerAddress.getHostAddress())) { 437 .getHostAddress()); 696 this.sipStack.getStackLogger().logDebug("sendMessage " + peerAddress.getHostAddress() + "/ [all...] |
TCPMessageChannel.java | 128 myAddress = msgProcessor.getIpAddress().getHostAddress(); 166 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); 223 return peerAddress.getHostAddress(); 452 || !hop.getHost().equals(this.peerAddress.getHostAddress())) { 453 v.setParameter(Via.RECEIVED, this.peerAddress.getHostAddress()); 492 this.getMessageProcessor().getIpAddress().getHostAddress() + ":"
|
TLSMessageChannel.java | 143 myAddress = msgProcessor.getIpAddress().getHostAddress(); 181 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); 235 return peerAddress.getHostAddress(); 424 || !hop.getHost().equals(this.peerAddress.getHostAddress())) { 425 v.setParameter(Via.RECEIVED, this.peerAddress.getHostAddress()); 460 this.messageProcessor.getIpAddress().getHostAddress() + ":"
|
TCPMessageProcessor.java | 96 if (getIpAddress().getHostAddress().equals(IN_ADDR_ANY) 97 || getIpAddress().getHostAddress().equals(IN6_ADDR_ANY)) {
|
UDPMessageProcessor.java | 120 if ( ipAddress.getHostAddress().equals(IN_ADDR_ANY) || 121 ipAddress.getHostAddress().equals(IN6_ADDR_ANY)){
|
MessageChannel.java | 177 return this.getMessageProcessor().getIpAddress().getHostAddress(); 262 rawIpSourceAddress = sourceInetAddress.getHostAddress(); 273 return (transport + ":" + inetAddr.getHostAddress() + ":" + port).toLowerCase(); 351 address.getHostAddress().toString() + ":" + port, true, time);
|
/libcore/luni/src/test/java/libcore/java/net/ |
InetAddressTest.java | 239 assertEquals("::1", localhost6().getHostAddress()); 240 assertEquals("::1", InetAddress.getByName("::1").getHostAddress()); 242 assertEquals("127.0.0.1", Inet4Address.LOOPBACK.getHostAddress()); 245 assertEquals("127.0.0.1", InetAddress.getByName("::ffff:127.0.0.1").getHostAddress()); 248 assertEquals("224.0.0.0", aAddr.getHostAddress()); 264 String aString = aAddr.getHostAddress(); 274 assertEquals("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", aAddr.getHostAddress()); 283 aString = aAddr.getHostAddress(); 293 assertEquals("1:203:405:607:809:a0b:c0d:e0f", aAddr.getHostAddress()); 302 assertEquals("10:2030:4050:6070:8090:a0b0:c0d0:e0f0", aAddr.getHostAddress()); [all...] |
OldURLStreamHandlerTest.java | 56 assertNull(handler.getHostAddress(url1)); 59 assertNull(handler.getHostAddress(url2)); 62 assertEquals(InetAddress.getByName("localhost"), handler.getHostAddress(url3)); 188 @Override public InetAddress getHostAddress(URL u) { 189 return super.getHostAddress(u);
|
InetSocketAddressTest.java | 108 isa2 = new InetSocketAddress(localhost.getHostAddress(), 80); 132 InetSocketAddress isa2 = new InetSocketAddress(localhost.getHostAddress(), 8080);
|
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
PingTest.java | 126 assertEquals(dest.getHostAddress(), fromAddress.getHostAddress()); 158 assertEquals("::1", ipv6Loopback.getHostAddress());
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkUtilsTest.java | 52 fail("Invalid netmask " + addr.getHostAddress() + " did not cause exception");
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
RtpStream.java | 71 mLocalPort = create(address.getHostAddress());
|
AudioGroup.java | 154 stream.getRemoteAddress().getHostAddress(),
|
/external/jmdns/src/javax/jmdns/impl/ |
HostInfo.java | 92 if (aName.contains("in-addr.arpa") || (aName.equals(addr.getHostAddress()))) { 93 aName = ((jmdnsName != null) && (jmdnsName.length() > 0) ? jmdnsName : addr.getHostAddress()); 238 return new DNSRecord.Pointer(this.getInetAddress().getHostAddress() + ".in-addr.arpa.", DNSRecordClass.CLASS_IN, unique, ttl, this.getName()); 250 return new DNSRecord.Pointer(this.getInetAddress().getHostAddress() + ".ip6.arpa.", DNSRecordClass.CLASS_IN, unique, ttl, this.getName()); 263 buf.append(getInetAddress() != null ? getInetAddress().getHostAddress() : "no address");
|
/libcore/ojluni/src/main/java/java/net/ |
DatagramSocket.java | 137 security.checkConnect(address.getHostAddress(), port); 138 security.checkAccept(address.getHostAddress(), port); 627 * <code>p.getAddress().getHostAddress()</code> and 670 security.checkConnect(p.getAddress().getHostAddress(), 749 peekAd = peekPacket.getAddress().getHostAddress(); 753 peekAd = adr.getHostAddress(); [all...] |
InetAddress.java | 551 host = addr.getHostAddress(); 555 host = addr.getHostAddress(); 578 public String getHostAddress() { 624 + "/" + getHostAddress(); [all...] |
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
Ipv4Packet.java | 135 out.append("\n Source: ").append(sourceAddress.getHostAddress()); 136 out.append("\n Destination: ").append(destinationAddress.getHostAddress());
|
/external/jetty/src/java/org/eclipse/jetty/io/bio/ |
SocketEndPoint.java | 177 return _local.getAddress().getHostAddress(); 215 return ( addr == null ? null : addr.getHostAddress() );
|
/frameworks/base/core/java/android/net/ |
StaticIpConfiguration.java | 127 if (gateway != null) str.append(gateway.getHostAddress()).append(" "); 131 str.append(" ").append(dnsServer.getHostAddress());
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
MDNSFilterPlugin.java | 162 boolean added = mPrinters.add(serviceInfo.getHost().getHostAddress()); 188 .remove(serviceInfo.getHost().getHostAddress());
|
/frameworks/base/services/core/java/com/android/server/net/ |
IpConfigStore.java | 84 out.writeUTF(ipAddress.getAddress().getHostAddress()); 91 out.writeUTF(staticIpConfiguration.gateway.getHostAddress()); 95 out.writeUTF(inetAddr.getHostAddress()); 224 loge("Duplicate gateway: " + gateway.getHostAddress());
|