/libcore/luni/src/main/java/java/nio/ |
SocketChannelImpl.java | 27 import java.net.InetSocketAddress; 75 private InetSocketAddress connectAddress = null; 163 InetSocketAddress inetSocketAddress = validateAddress(socketAddress); 164 InetAddress normalAddr = inetSocketAddress.getAddress(); 165 int port = inetSocketAddress.getPort(); 196 connectAddress = inetSocketAddress; 232 InetSocketAddress isa = (InetSocketAddress) sa; 435 static InetSocketAddress validateAddress(SocketAddress socketAddress) [all...] |
DatagramChannelImpl.java | 28 import java.net.InetSocketAddress; 56 InetSocketAddress connectAddress = null; 85 connectAddress = new InetSocketAddress(0); 121 InetSocketAddress inetSocketAddress = SocketChannelImpl.validateAddress(address); 124 IoBridge.connect(fd, inetSocketAddress.getAddress(), inetSocketAddress.getPort()); 132 connectAddress = inetSocketAddress; 243 InetSocketAddress isa = (InetSocketAddress) socketAddress [all...] |
/frameworks/base/core/java/android/net/ |
Proxy.java | 33 import java.net.InetSocketAddress; 139 return ((InetSocketAddress)(proxy.address())).getHostName(); 156 return ((InetSocketAddress)(proxy.address())).getPort(); 212 InetSocketAddress sa = (InetSocketAddress)prefProxy.address();
|
PacProxySelector.java | 27 import java.net.InetSocketAddress; 100 ret.add(new Proxy(Type.HTTP, InetSocketAddress.createUnresolved(host, port)));
|
/libcore/luni/src/main/java/java/net/ |
PlainDatagramSocketImpl.java | 26 import java.net.InetSocketAddress; 131 if (addr instanceof InetSocketAddress) { 132 InetAddress groupAddr = ((InetSocketAddress) addr).getAddress(); 144 if (addr instanceof InetSocketAddress) { 145 InetAddress groupAddr = ((InetSocketAddress) addr).getAddress(); 155 // Note: evil side-effect on InetAddress! This method should have returned InetSocketAddress!
|
Socket.java | 70 * InetSocketAddress("test.domain.org", 2130)));} 683 return new InetSocketAddress(getLocalAddress(), getLocalPort()); 696 return new InetSocketAddress(getInetAddress(), getPort()); 750 if (!(localAddr instanceof InetSocketAddress)) { 751 throw new IllegalArgumentException("Local address not an InetSocketAddress: " + 754 InetSocketAddress inetAddr = (InetSocketAddress) localAddr; 819 if (!(remoteAddr instanceof InetSocketAddress)) { 820 throw new IllegalArgumentException("Remote address not an InetSocketAddress: " + 823 InetSocketAddress inetAddr = (InetSocketAddress) remoteAddr [all...] |
MulticastSocket.java | 63 * an {@code InetSocketAddress}, say). 215 if (!(groupAddress instanceof InetSocketAddress)) { 216 throw new IllegalArgumentException("Group address not an InetSocketAddress: " + 220 InetAddress groupAddr = ((InetSocketAddress) groupAddress).getAddress();
|
/external/nist-sip/java/gov/nist/core/net/ |
SslNetworkLayer.java | 33 import java.net.InetSocketAddress;
161 sock.bind(new InetSocketAddress(port));
162 sock.connect(new InetSocketAddress(address, port));
|
/frameworks/base/core/java/android/os/ |
CommonTimeConfig.java | 19 import java.net.InetSocketAddress; 141 * @return an InetSocketAddress containing the IP address and UDP port being used by the 145 public InetSocketAddress getMasterElectionEndpoint() 161 public int setMasterElectionEndpoint(InetSocketAddress ep) {
|
CommonTimeUtils.java | 21 import java.net.InetSocketAddress; 174 public InetSocketAddress transactGetSockaddr(int method_code) 178 InetSocketAddress ret_val = null; 220 ret_val = new InetSocketAddress(addrStr, port); 232 public int transactSetSockaddr(int method_code, InetSocketAddress addr) {
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldAndroidDatagramTest.java | 23 import java.net.InetSocketAddress; 194 s.bind(new InetSocketAddress(8888)); 204 s.bind(new InetSocketAddress(8888));
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
CaptureLoader.java | 36 import java.net.InetSocketAddress; 49 socket.connect(new InetSocketAddress("127.0.0.1", 136 socket.connect(new InetSocketAddress("127.0.0.1",
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Platform.java | 22 import java.net.InetSocketAddress; 129 public void connectSocket(Socket socket, InetSocketAddress address,
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5Client.java | 19 import java.net.InetSocketAddress;
79 SocketAddress socketAddress = new InetSocketAddress(streamHost.getAddress(),
|
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 31 import java.net.InetSocketAddress; 97 InetSocketAddress server = new InetSocketAddress( 132 private boolean run(InetSocketAddress server) throws Exception {
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/ |
UdpKernel.java | 58 private InetSocketAddress address; 70 this( new InetSocketAddress(host, port) ); 75 this( new InetSocketAddress(port) ); 78 public UdpKernel( InetSocketAddress address )
|
/libcore/luni/src/main/java/libcore/io/ |
BlockGuardOs.java | 23 import java.net.InetSocketAddress; 53 @Override public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException { 157 @Override public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException { 162 @Override public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException {
|
IoBridge.java | 28 import java.net.InetSocketAddress; 505 InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null; 517 InetSocketAddress srcAddress = (packet != null && !isConnected) ? new InetSocketAddress() : null; 526 private static int postRecvfrom(boolean isRead, DatagramPacket packet, boolean isConnected, InetSocketAddress srcAddress, int byteCount) { 583 InetSocketAddress isa = (InetSocketAddress) sa; 593 InetSocketAddress isa = (InetSocketAddress) sa [all...] |
Os.java | 21 import java.net.InetSocketAddress; 29 public FileDescriptor accept(FileDescriptor fd, InetSocketAddress peerAddress) throws ErrnoException, SocketException; 101 public int recvfrom(FileDescriptor fd, ByteBuffer buffer, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException; 102 public int recvfrom(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, InetSocketAddress srcAddress) throws ErrnoException, SocketException;
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
HttpURLConnectionTest.java | 25 import java.net.InetSocketAddress; 147 new InetSocketAddress("localhost", proxy_port)); 197 new InetSocketAddress("localhost", 291 new InetSocketAddress("localhost", proxy.port())));
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
SelectorKernel.java | 39 import java.net.InetSocketAddress; 62 private InetSocketAddress address; 69 this( new InetSocketAddress(host, port) ); 74 this( new InetSocketAddress(port) ); 77 public SelectorKernel( InetSocketAddress address )
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
DatagramChannelTest.java | 24 import java.net.InetSocketAddress; 59 private InetSocketAddress localAddr1; 61 private InetSocketAddress localAddr2; 79 this.localAddr1 = new InetSocketAddress("127.0.0.1", ports[0]); 80 this.localAddr2 = new InetSocketAddress("127.0.0.1", ports[1]); 546 InetSocketAddress unresolved = new InetSocketAddress( 560 .connect(new InetSocketAddress("", 1081))); //$NON-NLS-1$ [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 27 import java.net.InetSocketAddress; 112 serverSocketChannel.socket().bind(new InetSocketAddress(0));
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldServerSocketChannelTest.java | 21 import java.net.InetSocketAddress;
|
OldSocketChannelTest.java | 23 import java.net.InetSocketAddress; 45 private InetSocketAddress localAddr1; 60 this.localAddr1 = (InetSocketAddress) server1.getLocalSocketAddress(); 193 InetSocketAddress.createUnresolved("127.0.0.1", 8080);
|