/frameworks/base/core/java/android/net/ |
LocalServerSocket.java | 32 private final LocalSocketAddress localAddress; 51 localAddress = new LocalSocketAddress(name); 52 impl.bind(localAddress); 70 localAddress = impl.getSockAddress(); 80 return localAddress;
|
LocalSocket.java | 34 private LocalSocketAddress localAddress; 151 localAddress = bindpoint; 152 impl.bind(localAddress); 163 return localAddress;
|
/external/apache-http/src/org/apache/http/conn/routing/ |
RouteTracker.java | 59 private final InetAddress localAddress; 93 this.localAddress = local; 222 return this.localAddress; 313 null : new HttpRoute(this.targetHost, this.localAddress, 337 ( this.localAddress == that.localAddress) || 338 ((this.localAddress != null) && 339 this.localAddress.equals(that.localAddress)); 375 if (this.localAddress != null [all...] |
HttpRoute.java | 60 private final InetAddress localAddress; 115 this.localAddress = local; 265 return this.localAddress; 350 ( this.localAddress == that.localAddress) || 351 ((this.localAddress != null) && 352 this.localAddress.equals(that.localAddress)); 384 if (this.localAddress != null) 385 hc ^= localAddress.hashCode() [all...] |
/libcore/luni/src/main/java/javax/net/ |
DefaultSocketFactory.java | 55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, 57 return new Socket(address, port, localAddress, localPort);
|
SocketFactory.java | 141 * @param localAddress 150 public abstract Socket createSocket(InetAddress address, int port, InetAddress localAddress,
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
PlainSocketFactory.java | 85 InetAddress localAddress, int localPort, 99 if ((localAddress != null) || (localPort > 0)) { 106 new InetSocketAddress(localAddress, localPort);
|
SocketFactory.java | 79 * @param localAddress the local address to bind the socket to, or 99 InetAddress localAddress,
|
/external/nist-sip/java/gov/nist/core/net/ |
NetworkLayer.java | 84 * comparable to "new java.net.Socket(address, port,localaddress);" 88 * @param localAddress 91 public Socket createSocket(InetAddress address, int port, InetAddress localAddress) throws IOException; 129 * @param localAddress -- my address. 132 public SSLSocket createSSLSocket(InetAddress address, int port, InetAddress localAddress) throws IOException;
|
/external/smack/src/org/jivesoftware/smack/proxy/ |
DirectSocketFactory.java | 68 InetAddress localAddress, int localPort) 71 return new Socket(address,port,localAddress,localPort);
|
/libcore/luni/src/main/java/java/net/ |
Socket.java | 44 private InetAddress localAddress = Inet4Address.ANY; 95 * @param localAddress 108 localAddress, int localPort, boolean streaming) throws IOException { 118 startupSocket(dstAddress, dstPort, localAddress, localPort, streaming); 128 startupSocket(dstAddress, dstPort, localAddress, localPort, streaming); 156 * the socket is bound to the given address {@code localAddress} on port 167 * @param localAddress 176 public Socket(String dstName, int dstPort, InetAddress localAddress, int localPort) throws IOException { 178 tryAllAddresses(dstName, dstPort, localAddress, localPort, true); 232 * endpoint the socket is bound to the given address {@code localAddress} o [all...] |
ServerSocket.java | 85 * Constructs a new {@code ServerSocket} instance bound to the given {@code localAddress} 87 * If {@code localAddress == null}, the ANY address is used. 92 public ServerSocket(int port, int backlog, InetAddress localAddress) throws IOException { 96 InetAddress addr = (localAddress == null) ? Inet4Address.ANY : localAddress;
|
/cts/tests/tests/security/src/android/security/cts/ |
ListeningPortsTest.java | 187 String addrPort = entry.localAddress.getHostAddress() + ':' + entry.port; 191 && (!entry.localAddress.isLoopbackAddress() ^ loopback)) { 193 + entry.localAddress.getHostAddress() + ", port=" 213 private static boolean isException(String localAddress) { 214 return isPatternMatch(EXCEPTION_PATTERNS, localAddress); 240 private final InetAddress localAddress; 246 this.localAddress = addr;
|
/external/apache-http/src/org/apache/http/conn/ |
MultihomePlainSocketFactory.java | 93 * @param localAddress local address 101 InetAddress localAddress, int localPort, 115 if ((localAddress != null) || (localPort > 0)) { 122 new InetSocketAddress(localAddress, localPort);
|
/libcore/luni/src/main/java/java/nio/ |
ServerSocketChannelImpl.java | 123 @Override public void bind(SocketAddress localAddress, int backlog) throws IOException { 124 super.bind(localAddress, backlog); 166 @Override public void bind(SocketAddress localAddress) throws IOException { 167 super.bind(localAddress);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
LocalAcceptThread.java | 36 public LocalAcceptThread(ChannelManager cm, InetSocketAddress localAddress, String host_to_connect, 44 ss.bind(localAddress);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLSocketFactoryImpl.java | 82 InetAddress localAddress, 87 localAddress,
|
SSLSocketFactoryImpl.java | 153 InetAddress localAddress, int localPort) throws IOException { 157 return new SSLSocketImpl(address, port, localAddress, localPort,
|
/external/smack/src/org/xbill/DNS/ |
SimpleResolver.java | 30 private InetSocketAddress localAddress; 117 localAddress = addr; 127 localAddress = new InetSocketAddress(addr, 0); 254 in = TCPClient.sendrecv(localAddress, address, out, 257 in = UDPClient.sendrecv(localAddress, address, out, 333 xfrin.setLocalAddress(localAddress);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ |
SocketFactoryTest.java | 101 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
|
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp_server/ |
sockets_tcp_server_api.cc | 39 net::IPEndPoint localAddress; 40 if (socket->GetLocalAddress(&localAddress)) { 42 new std::string(localAddress.ToStringWithoutPort())); 43 socket_info->local_port.reset(new int(localAddress.port()));
|
/external/nist-sip/java/gov/nist/javax/sip/ |
SipStackExt.java | 132 * @param localAddress the address that we would like to bind on 143 InetAddress localAddress, int localPort)
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultSSLSocketFactory.java | 72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
|
/packages/apps/Email/src/com/android/email/mail/transport/ |
SmtpSender.java | 92 InetAddress localAddress = mTransport.getLocalAddress(); 93 if (localAddress != null) { 97 if (localAddress instanceof Inet6Address) { 100 sb.append(localAddress.getHostAddress());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 42 private SocketAddress localAddress; 58 localAddress = ss.getLocalSocketAddress(); 155 sc.connect(localAddress); 407 sc.connect(localAddress); 455 channel.connect(localAddress); 482 sc.connect(localAddress); 516 sc.connect(localAddress); 554 sc.connect(localAddress); 560 sc2.connect(localAddress); 624 sc.connect(localAddress); [all...] |