Home
last modified time | relevance | path

Searched refs:getLocalHost (Results 1 – 25 of 62) sorted by relevance

123

/external/jmdns/src/javax/jmdns/impl/
DDNSQuestion.java37 …DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordCla… in addAnswers()
46 …return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contain… in iAmTheOnlyOne()
61 …DNSRecord answer = jmDNSImpl.getLocalHost().getDNSAddressRecord(this.getRecordType(), DNSRecordCla… in addAnswers()
70 …return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contain… in iAmTheOnlyOne()
106 InetAddress address = jmDNSImpl.getLocalHost().getInetAddress(); in addAnswers()
110 …answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_A, DNSRecordCla… in addAnswers()
113 …answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_AAAA, DNSRecord… in addAnswers()
135 if (jmDNSImpl.getLocalHost().getName().equalsIgnoreCase(loname)) { in addAnswers()
137 … answers.addAll(jmDNSImpl.getLocalHost().answers(this.isUnique(), DNSConstants.DNS_TTL)); in addAnswers()
153 …return jmDNSImpl.getLocalHost().getName().equals(name) || jmDNSImpl.getServices().keySet().contain… in iAmTheOnlyOne()
[all …]
DDNSRecord.java331 if (dns.getLocalHost().conflictWithRecord(this)) { in handleQuery()
332 …DNSRecord.Address localAddress = dns.getLocalHost().getDNSAddressRecord(this.getRecordType(), this… in handleQuery()
348 dns.getLocalHost().incrementHostName(); in handleQuery()
366 if (dns.getLocalHost().conflictWithRecord(this)) { in handleResponse()
370 dns.getLocalHost().incrementHostName(); in handleResponse()
726 …unced()) && (_port != info.getPort() || !_server.equalsIgnoreCase(dns.getLocalHost().getName()))) { in handleQuery()
728 …tants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(), dns.getLocalHost().getName()); in handleQuery()
776 … != null && (_port != info.getPort() || !_server.equalsIgnoreCase(dns.getLocalHost().getName()))) { in handleResponse()
797 if (this._port == info.getPort() != _server.equals(dns.getLocalHost().getName())) { in addAnswer()
799 .getLocalHost().getName())); in addAnswer()
DSocketListener.java46 if (this._jmDNSImpl.getLocalHost().shouldIgnorePacket(packet)) { in run()
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
DSocketFactoryTest.java67 s = sf.createSocket("localhost", 8081, InetAddress.getLocalHost(), 8082); in testGetDefault()
72 s = sf.createSocket(InetAddress.getLocalHost(), 8081); in testGetDefault()
77 s = sf.createSocket(InetAddress.getLocalHost(), 8081, InetAddress.getLocalHost(), 8082); in testGetDefault()
DServerSocketFactoryTest.java72 s = sf.createServerSocket(0, 50, InetAddress.getLocalHost()); in testGetDefault()
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
DDefaultSSLSocketFactoryTest.java56 f.createSocket("localhost", 0, InetAddress.getLocalHost(), 1); in testCreateSocketStringintInetAddressint()
70 f.createSocket(InetAddress.getLocalHost(), 1); in testCreateSocketInetAddressint()
85 f.createSocket(InetAddress.getLocalHost(), 1, InetAddress in testCreateSocketInetAddressintInetAddressint()
86 .getLocalHost(), 2); in testCreateSocketInetAddressintInetAddressint()
DDefaultSSLServerSocketFactoryTest.java67 f.createServerSocket(0, 10, InetAddress.getLocalHost()); in testCreateServerSocketintintInetAddress()
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
DSSLSocketTest.java64 SSLSocket soc = new MySSLSocket(InetAddress.getLocalHost(), ss in testSSLSocketInetAddressint()
78 InetAddress.getLocalHost(), ss2.getLocalPort()); in testSSLSocketStringintInetAddressint()
93 SSLSocket soc = new MySSLSocket(InetAddress.getLocalHost(), ss1 in testSSLSocketInetAddressintInetAddressint()
94 .getLocalPort(), InetAddress.getLocalHost(), ss2 in testSSLSocketInetAddressintInetAddressint()
DSSLServerSocketTest.java71 new MySSLServerSocket(0, 10, InetAddress.getLocalHost()); in testSSLServerSocketintintInetAddress()
/external/jmdns/src/javax/jmdns/impl/tasks/state/
DProber.java117 …newOut.addQuestion(DNSQuestion.newQuestion(this.getDns().getLocalHost().getName(), DNSRecordType.T… in buildOutgoingForDNS()
118 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.NOT_UNIQUE, this.getTT… in buildOutgoingForDNS()
133 …, this.getTTL(), info.getPriority(), info.getWeight(), info.getPort(), this.getDns().getLocalHost() in buildOutgoingForInfo()
DCanceler.java104 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
117 …Record answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) { in buildOutgoingForInfo()
DAnnouncer.java104 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
117 …Record answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) { in buildOutgoingForInfo()
DRenewer.java105 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
118 …Record answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) { in buildOutgoingForInfo()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java44 InetAddress.getLocalHost(), pingServer.getLocalPort())); in test_getInputStream()
93 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(), in test_connectLjava_net_SocketAddressI()
/external/jetty/src/java/org/eclipse/jetty/io/
DEndPoint.java100 public String getLocalHost(); in getLocalHost() method
DByteArrayEndPoint.java316 public String getLocalHost() in getLocalHost() method in ByteArrayEndPoint
/external/sl4a/Utils/src/com/googlecode/android_scripting/
DSimpleServer.java164 return InetAddress.getLocalHost(); // No damn matches. Give up, return local host. in getPrivateInetAddress()
186 return InetAddress.getLocalHost(); // No damn matches. Give up, return local host. in getPublicInetAddress()
/external/jetty/src/java/org/eclipse/jetty/client/
DSelectConnector.java364 public String getLocalHost() in getLocalHost() method in SelectConnector.UpgradableEndPoint
366 return _endp.getLocalHost(); in getLocalHost()
/external/jetty/src/java/org/eclipse/jetty/io/bio/
DStreamEndPoint.java230 public String getLocalHost() in getLocalHost() method in StreamEndPoint
DSocketEndPoint.java185 public String getLocalHost() in getLocalHost() method in SocketEndPoint
/external/jetty/src/java/org/eclipse/jetty/jmx/
DConnectorServer.java174 rmiHost = InetAddress.getLocalHost().getCanonicalHostName(); in startRegistry()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DAgent.java174 host = InetAddress.getLocalHost().getHostName(); in createSessionId()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DFakeWorkers.java177 new Socket(InetAddress.getLocalHost(), port)); in main()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DSocketTransportWrapper.java94 iAddress = InetAddress.getLocalHost(); in startListening()
/external/jetty/src/java/org/eclipse/jetty/io/nio/
DSslConnection.java796 public String getLocalHost() in getLocalHost() method in SslConnection.SslEndPoint
798 return _aEndp.getLocalHost(); in getLocalHost()

123