Home
last modified time | relevance | path

Searched refs:getHostAddress (Results 1 – 25 of 30) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DInetAddressThreadTest.java68 String correctAddress = testAddress.getHostAddress(); in run()
87 String hostAddress = ia.getHostAddress(); in run()
135 assertEquals("127.0.0.1", lookup1.getHostAddress()); in test_getHostName()
137 assertEquals("127.0.0.1", lookup2.getHostAddress()); in test_getHostName()
143 lookup1.getHostAddress(), lookup1, 1); in test_getHostName()
145 lookup2.getHostAddress(), lookup2, 1); in test_getHostName()
DInetAddressTest.java130 assertEquals("1.2.0.3",i.getHostAddress()); in test_getByNameLjava_lang_String()
132 assertEquals("1.0.0.2",i.getHostAddress()); in test_getByNameLjava_lang_String()
134 assertEquals("255.255.255.255",i.getHostAddress()); in test_getByNameLjava_lang_String()
141 assertEquals("1.2.3.4", InetAddress.getByName("1.2.3.4").getHostAddress()); in test_getHostAddress()
142 assertEquals("::1", InetAddress.getByName("::1").getHostAddress()); in test_getHostAddress()
DInet6AddressTest.java778 assertEquals("::1", ia.getHostAddress().toLowerCase(Locale.US)); in test_getHostAddress_()
782 assertEquals("fe80::211:25ff:fef8:7cb1", ia.getHostAddress().toLowerCase(Locale.US)); in test_getHostAddress_()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DUDPMessageChannel.java179 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); in UDPMessageChannel()
206 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); in UDPMessageChannel()
232 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); in UDPMessageChannel()
237 + targetAddr.getHostAddress() + "/" + port); in UDPMessageChannel()
329 + peerAddress.getHostAddress() + "/" in processIncomingDataPacket()
388 … if (pingBackRecord.get(packet.getAddress().getHostAddress() + ":" + packet.getPort()) == null ) { in processIncomingDataPacket()
392 … this.sipStack.getTimer().schedule(new PingBackTimerTask(packet.getAddress().getHostAddress(), in processIncomingDataPacket()
435 this.peerAddress.getHostAddress())) { in processIncomingDataPacket()
437 .getHostAddress()); in processIncomingDataPacket()
696 … this.sipStack.getStackLogger().logDebug("sendMessage " + peerAddress.getHostAddress() + "/" in sendMessage()
[all …]
DMessageProcessor.java131 this.savedIpAddress = ipAddress.getHostAddress(); in initialize()
135 this.sentByHostPort.setHost(new Host(ipAddress.getHostAddress())); in initialize()
172 host.setHostname(this.getIpAddress().getHostAddress()); in getViaHeader()
226 this.sentByHostPort.setHost( new Host(ipAddress.getHostAddress())); in setIpAddress()
DTCPMessageChannel.java128 myAddress = msgProcessor.getIpAddress().getHostAddress(); in TCPMessageChannel()
166 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); in TCPMessageChannel()
223 return peerAddress.getHostAddress(); in getPeerAddress()
452 || !hop.getHost().equals(this.peerAddress.getHostAddress())) { in processMessage()
453 v.setParameter(Via.RECEIVED, this.peerAddress.getHostAddress()); in processMessage()
492 this.getMessageProcessor().getIpAddress().getHostAddress() + ":" in processMessage()
DTLSMessageChannel.java143 myAddress = msgProcessor.getIpAddress().getHostAddress(); in TLSMessageChannel()
181 this.myAddress = messageProcessor.getIpAddress().getHostAddress(); in TLSMessageChannel()
235 return peerAddress.getHostAddress(); in getPeerAddress()
424 || !hop.getHost().equals(this.peerAddress.getHostAddress())) { in processMessage()
425 v.setParameter(Via.RECEIVED, this.peerAddress.getHostAddress()); in processMessage()
460 this.messageProcessor.getIpAddress().getHostAddress() + ":" in processMessage()
DMessageChannel.java177 return this.getMessageProcessor().getIpAddress().getHostAddress(); in getHost()
262 rawIpSourceAddress = sourceInetAddress.getHostAddress(); in getRawIpSourceAddress()
273 return (transport + ":" + inetAddr.getHostAddress() + ":" + port).toLowerCase(); in getKey()
351 address.getHostAddress().toString() + ":" + port, true, time); in logMessage()
DUDPMessageProcessor.java120 if ( ipAddress.getHostAddress().equals(IN_ADDR_ANY) || in UDPMessageProcessor()
121 ipAddress.getHostAddress().equals(IN6_ADDR_ANY)){ in UDPMessageProcessor()
DTCPMessageProcessor.java96 if (getIpAddress().getHostAddress().equals(IN_ADDR_ANY) in start()
97 || getIpAddress().getHostAddress().equals(IN6_ADDR_ANY)) { in start()
DIOHandler.java76 return addr.getHostAddress() + ":" + port; in makeKey()
168 "sendBytes " + transport + " inAddr " + receiverAddress.getHostAddress()
/external/jmdns/src/javax/jmdns/impl/
DHostInfo.java92 if (aName.contains("in-addr.arpa") || (aName.equals(addr.getHostAddress()))) { in newHostInfo()
93 … aName = ((jmdnsName != null) && (jmdnsName.length() > 0) ? jmdnsName : addr.getHostAddress()); in newHostInfo()
238 …return new DNSRecord.Pointer(this.getInetAddress().getHostAddress() + ".in-addr.arpa.", DNSRecordC… in getDNS4ReverseAddressRecord()
250 …return new DNSRecord.Pointer(this.getInetAddress().getHostAddress() + ".ip6.arpa.", DNSRecordClass… in getDNS6ReverseAddressRecord()
263 buf.append(getInetAddress() != null ? getInetAddress().getHostAddress() : "no address"); in toString()
DServiceInfoImpl.java458 public String getHostAddress() { in getHostAddress() method in ServiceInfoImpl
472 names[i] = ip4Aaddresses[i].getHostAddress(); in getHostAddresses()
475 names[i + ip4Aaddresses.length] = "[" + ip6Aaddresses[i].getHostAddress() + "]"; in getHostAddresses()
653 String url = protocol + "://" + addresses[i].getHostAddress() + ":" + getPort(); in getURLs()
DDNSQuestion.java107 String hostIPAddress = (address != null ? address.getHostAddress() : ""); in addAnswers()
DDNSIncoming.java458 buf.append(_packet.getAddress().getHostAddress()); in toString()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DLocalStreamForwarder.java33 InetAddress.getLocalHost().getHostAddress(), 0); in LocalStreamForwarder()
DKnownHosts.java325 algos = recommendHostkeyAlgorithms(ipAdresses[i].getHostAddress()); in getPreferredServerHostkeyAlgorithmOrder()
720 int newresult = checkKey(ipAdresses[i].getHostAddress(), remoteKey); in verifyHostkey()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/
DLocalAcceptThread.java82 … cm.openDirectTCPIPChannel(host_to_connect, port_to_connect, s.getInetAddress().getHostAddress(), s in run()
/external/nist-sip/java/gov/nist/core/
DHost.java176 rawIpAddress = inetAddress.getHostAddress(); in getIpAddress()
/external/nist-sip/java/gov/nist/javax/sip/
DListeningPointImpl.java193 return this.messageProcessor.getIpAddress().getHostAddress(); in getIPAddress()
/external/apache-http/src/org/apache/http/impl/conn/
DProxySelectorRoutePlanner.java239 isa.getHostName() : isa.getAddress().getHostAddress(); in getHost()
DDefaultClientConnectionOperator.java145 addresses[i].getHostAddress(), in openConnection()
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java150 ipv4.getHostAddress())); in getInet4Address()
394 return ip.getHostAddress(); in toAddrString()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java283 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true); in serveConnection()
370 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true); in processHandshakeFailure()
/external/jmdns/src/javax/jmdns/
DServiceInfo.java458 public abstract String getHostAddress(); in getHostAddress() method in ServiceInfo

12