/external/smack/src/org/jivesoftware/smack/ |
Connection.java.orig | 264 public int getPort() { 265 return config.getPort(); [all...] |
Connection.java | 264 public int getPort() { 265 return config.getPort(); [all...] |
/external/smack/src/org/jivesoftware/smack/debugger/ |
ConsoleDebugger.java | 175 + connection.getPort();
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5BytestreamRequest.java | 211 String address = streamHost.getAddress() + ":" + streamHost.getPort();
|
/frameworks/base/services/java/com/android/server/location/ |
GpsXtraDownloader.java | 83 int proxyPort = Proxy.getPort(mContext);
|
/libcore/luni/src/main/java/java/net/ |
ServerSocket.java | 313 port = inetAddr.getPort();
|
URL.java | 50 * <tr><td>{@link #getPort() Port}</td><td>{@code 8080}</td><td></td></tr> 171 set(context.protocol, context.getHost(), context.getPort(), context.getAuthority(), 606 public int getPort() {
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
OAuthSignatureMethod.java | 163 boolean dropPort = (scheme.equals("http") && uri.getPort() == 80) 164 || (scheme.equals("https") && uri.getPort() == 443);
|
/libcore/luni/src/main/java/libcore/net/http/ |
HttpURLConnectionImpl.java | 222 ? ((InetSocketAddress) proxy.address()).getPort() 223 : getURL().getPort();
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLConnection.java | 209 int port = url.getPort(); 317 int port = url.getPort();
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSRecord.java | 705 public int getPort() { 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())) { 798 return dns.addAnswer(in, addr, port, out, new DNSRecord.Service(info.getQualifiedName(), DNSRecordClass.CLASS_IN, DNSRecordClass.UNIQUE, DNSConstants.DNS_TTL, info.getPriority(), info.getWeight(), info.getPort(), dns [all...] |
ServiceInfoImpl.java | 219 this._port = info.getPort(); 566 * @see javax.jmdns.ServiceInfo#getPort() 569 public int getPort() { 641 return (urls.length > 0 ? urls[0] : protocol + "://null:" + getPort()); 653 String url = protocol + "://" + addresses[i].getHostAddress() + ":" + getPort(); 886 _port = srv.getPort(); [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SocketChannelTest.java | 79 this.server1 = new ServerSocket(localAddr1.getPort()); 394 assertEquals(0, socket.getPort()); 398 assertEquals(localAddr1.getPort(), socket.getPort()); 469 assertEquals(0, s.getPort()); 498 assertEquals(s.getPort(), address.getPort()); 511 this.server2 = new ServerSocket(localAddr2.getPort()); 533 this.server2 = new ServerSocket(localAddr2.getPort()); 567 assertEquals(s.getPort(), localAddr1.getPort()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
SocketTest.java | 517 .getPort()); 537 assertTrue("Failed to create socket", client.getPort() == serverPort); 574 assertEquals("Failed to create socket", serverPort, client.getPort()); 592 .getPort()); 619 assertEquals("Failed to create socket", serverPort, client.getPort()); 892 assertEquals("Returned incorrect port", serverPort, client.getPort()); [all...] |
DatagramSocketTest.java | 145 assertEquals("Incorrect Port", 0, ds.getPort()); 153 assertTrue("Incorrect Port", ds.getPort() == portNumber); 441 assertEquals("Incorrect Port", -1, ds.getPort()); 448 assertEquals("Incorrect Port", -1, ds.getPort()); 481 * @tests java.net.DatagramSocket#getPort() 486 theSocket.getPort()); 491 assertEquals("getPort returned wrong value", portNumber, theSocket 492 .getPort()); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldSocketTest.java | 76 assertTrue("Failed to create socket", s.getPort() == sport); 119 assertTrue("Failed to create socket", s.getPort() == sport); 145 assertTrue("Failed to create socket", s.getPort() == sport); 154 assertTrue("Failed to create socket", s.getPort() == sport); 170 assertTrue("Failed to create socket", s.getPort() == sport); 304 // Test for method int java.net.Socket.getPort() 305 int sport = startServer("SServer getPort"); 307 assertTrue("Returned incorrect port" + s.getPort(), s.getPort() == sport); 585 assertEquals("Socket[address=" + InetAddress.getLocalHost() + ",port=" + s.getPort() [all...] |
CookiesTest.java | 118 + "Port=\"80,443," + server.getPort() + "\"; " 134 assertEquals("80,443," + server.getPort(), cookie.getPortlist()); 152 + "Port=\"80,443," + server.getPort() + "\"; " 168 assertEquals("80,443," + server.getPort(), cookie.getPortlist()); 286 String portList = Integer.toString(redirectSource.getPort());
|
/frameworks/base/core/tests/coretests/src/android/net/ |
UriTest.java | 169 assertEquals(42, uri.getPort()); 174 assertEquals(42, uri.getPort()); 183 assertEquals(42, uri.getPort()); 187 assertEquals(-1, uri.getPort()); 388 assertEquals(-1, uri.getPort());
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPTransaction.java | 661 public int getPort() { 662 return encapsulatedChannel.getPort(); 915 return this.getViaHeader().getPort(); [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipAudioCall.java | 757 if ((codec == null) && (media.getPort() > 0) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 266 + listeningPoint.getIPAddress() + ":" + listeningPoint.getPort()); 306 int contactPort = contactUri.getPort(); 321 .getPort())) { 325 + " lp port = " + listeningPoint.getPort()); 374 port = uri.getHostPort().getPort(); 384 && port == listeningPoint.getPort()) { [all...] |
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AuthenticationHelperImpl.java | 219 if ( hop.getPort() != -1 ) sipUri.setPort(hop.getPort());
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
ChatConnection.java | 151 int port = mSocket.getPort();
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
URI.java | 346 m_port = p_other.getPort(); 463 m_port = p_base.getPort(); 487 m_port = p_base.getPort(); 932 public int getPort() [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
URI.java | 343 m_port = p_other.getPort(); 483 m_port = p_base.getPort(); 507 m_port = p_base.getPort(); 952 public int getPort() [all...] |