/libcore/ojluni/src/main/java/java/nio/channels/ |
D | DatagramChannel.java | 32 import java.net.SocketAddress; 215 public abstract DatagramChannel bind(SocketAddress local) in bind() 297 public abstract DatagramChannel connect(SocketAddress remote) in connect() 334 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() 398 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; in receive() 463 public abstract int send(ByteBuffer src, SocketAddress target) in send() 590 public abstract SocketAddress getLocalAddress() throws IOException; in getLocalAddress()
|
D | SocketChannel.java | 31 import java.net.SocketAddress; 184 public static SocketChannel open(SocketAddress remote) in open() 238 public abstract SocketChannel bind(SocketAddress local) in bind() 389 public abstract boolean connect(SocketAddress remote) throws IOException; in connect() 459 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() 524 public abstract SocketAddress getLocalAddress() throws IOException; in getLocalAddress()
|
D | ServerSocketChannel.java | 31 import java.net.SocketAddress; 154 public final ServerSocketChannel bind(SocketAddress local) in bind() 198 public abstract ServerSocketChannel bind(SocketAddress local, int backlog) in bind() 290 public abstract SocketAddress getLocalAddress() throws IOException; in getLocalAddress()
|
D | AsynchronousSocketChannel.java | 33 import java.net.SocketAddress; 209 public abstract AsynchronousSocketChannel bind(SocketAddress local) in bind() 280 public abstract SocketAddress getRemoteAddress() throws IOException; in getRemoteAddress() 324 public abstract <A> void connect(SocketAddress remote, in connect() 355 public abstract Future<Void> connect(SocketAddress remote); in connect() 686 public abstract SocketAddress getLocalAddress() throws IOException; in getLocalAddress()
|
D | AsynchronousServerSocketChannel.java | 30 import java.net.SocketAddress; 190 public final AsynchronousServerSocketChannel bind(SocketAddress local) in bind() 231 public abstract AsynchronousServerSocketChannel bind(SocketAddress local, int backlog) in bind() 327 public abstract SocketAddress getLocalAddress() throws IOException; in getLocalAddress()
|
D | NetworkChannel.java | 29 import java.net.SocketAddress; 87 NetworkChannel bind(SocketAddress local) throws IOException; in bind() 104 SocketAddress getLocalAddress() throws IOException; in getLocalAddress()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | MockDatagramChannel.java | 24 import java.net.SocketAddress; 50 public DatagramChannel connect(SocketAddress arg0) throws IOException { in connect() 60 public SocketAddress receive(ByteBuffer arg0) throws IOException { in receive() 65 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { in send() 100 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() 115 public DatagramChannel bind(SocketAddress local) throws IOException { in bind() 136 public SocketAddress getLocalAddress() throws IOException { in getLocalAddress()
|
D | MockSocketChannel.java | 22 import java.net.SocketAddress; 52 public boolean connect(SocketAddress arg0) throws IOException { in connect() 90 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() 111 public SocketChannel bind(SocketAddress local) throws IOException { in bind() 126 public SocketAddress getLocalAddress() throws IOException { in getLocalAddress()
|
D | MockServerSocketChannel.java | 22 import java.net.SocketAddress; 60 public ServerSocketChannel bind(SocketAddress local, int backlog) { in bind() 75 public SocketAddress getLocalAddress() throws IOException { in getLocalAddress()
|
/libcore/ojluni/src/main/java/sun/net/ |
D | SocksProxy.java | 29 import java.net.SocketAddress; 37 private SocksProxy(SocketAddress addr, int version) { in SocksProxy() 42 public static SocksProxy create(SocketAddress addr, int version) { in create()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 69 private void connectInternal(SocketAddress remote) in connectInternal() 87 public void bind(SocketAddress local) throws SocketException { in bind() 105 public void connect(SocketAddress remote) throws SocketException { in connect() 174 private SocketAddress receive(ByteBuffer bb) throws IOException { in receive() 182 SocketAddress sender; in receive() 216 SocketAddress sender = receive(bb); in receive() 229 SocketAddress local = dc.localAddress(); in getLocalAddress() 248 SocketAddress local = dc.getLocalAddress(); in getLocalPort() 404 protected void joinGroup(SocketAddress mcastaddr, 407 protected void leaveGroup(SocketAddress mcastaddr,
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldProxyTest.java | 20 import java.net.SocketAddress; 25 private SocketAddress address = new InetSocketAddress("127.0.0.1", 1234); 40 SocketAddress address1 = new InetSocketAddress("127.0.0.1", 1234); in test_hashCode() 52 SocketAddress address2 = new InetSocketAddress("127.0.0.1", 1235); in test_hashCode()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | Proxy.java | 38 public Proxy(java.net.Proxy.Type type, java.net.SocketAddress sa) { in Proxy() 46 public java.net.SocketAddress address() { in address() 68 private java.net.SocketAddress sa;
|
D | DatagramSocket.java | 42 public DatagramSocket(java.net.SocketAddress bindaddr) throws java.net.SocketException { in DatagramSocket() 71 public synchronized void bind(java.net.SocketAddress addr) throws java.net.SocketException { in bind() 83 public void connect(java.net.SocketAddress addr) throws java.net.SocketException { in connect() 107 public java.net.SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() 111 public java.net.SocketAddress getLocalSocketAddress() { in getLocalSocketAddress()
|
D | Socket.java | 79 java.net.SocketAddress localAddr, in Socket() 105 public void connect(java.net.SocketAddress endpoint) throws java.io.IOException { in connect() 109 public void connect(java.net.SocketAddress endpoint, int timeout) throws java.io.IOException { in connect() 113 public void bind(java.net.SocketAddress bindpoint) throws java.io.IOException { in bind() 153 public java.net.SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() 157 public java.net.SocketAddress getLocalSocketAddress() { in getLocalSocketAddress()
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | DatagramSocket.annotated.java | 40 public DatagramSocket(java.net.SocketAddress bindaddr) throws java.net.SocketException { throw new … in DatagramSocket() 46 public synchronized void bind(java.net.SocketAddress addr) throws java.net.SocketException { throw … in bind() 50 public void connect(java.net.SocketAddress addr) throws java.net.SocketException { throw new Runtim… in connect() 62 public java.net.SocketAddress getRemoteSocketAddress() { throw new RuntimeException("Stub!"); } in getRemoteSocketAddress() 64 public java.net.SocketAddress getLocalSocketAddress() { throw new RuntimeException("Stub!"); } in getLocalSocketAddress()
|
D | Socket.annotated.java | 58 public void connect(java.net.SocketAddress endpoint) throws java.io.IOException { throw new Runtime… in connect() 60 public void connect(java.net.SocketAddress endpoint, int timeout) throws java.io.IOException { thro… in connect() 62 public void bind(java.net.SocketAddress bindpoint) throws java.io.IOException { throw new RuntimeEx… in bind() 72 public java.net.SocketAddress getRemoteSocketAddress() { throw new RuntimeException("Stub!"); } in getRemoteSocketAddress() 74 public java.net.SocketAddress getLocalSocketAddress() { throw new RuntimeException("Stub!"); } in getLocalSocketAddress()
|
D | ServerSocket.annotated.java | 43 public void bind(java.net.SocketAddress endpoint) throws java.io.IOException { throw new RuntimeExc… in bind() 45 public void bind(java.net.SocketAddress endpoint, int backlog) throws java.io.IOException { throw n… in bind() 51 public java.net.SocketAddress getLocalSocketAddress() { throw new RuntimeException("Stub!"); } in getLocalSocketAddress()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Proxy.java | 61 private SocketAddress sa; 93 public Proxy(Type type, SocketAddress sa) { in Proxy() 116 public SocketAddress address() { in address()
|
D | DatagramPacket.java | 152 public DatagramPacket(byte buf[], int offset, int length, SocketAddress address) { in DatagramPacket() 193 public DatagramPacket(byte buf[], int length, SocketAddress address) { in DatagramPacket() 337 public synchronized void setSocketAddress(SocketAddress address) { in setSocketAddress() 355 public synchronized SocketAddress getSocketAddress() { in getSocketAddress()
|
D | Socket.java | 218 this(InetAddress.getAllByName(host), port, (SocketAddress) null, true); in Socket() 250 this(nonNullAddress(address), port, (SocketAddress) null, true); in Socket() 382 this(InetAddress.getAllByName(host), port, (SocketAddress) null, stream); in Socket() 436 private Socket(InetAddress[] addresses, int port, SocketAddress localAddr, in Socket() 508 clazz.getDeclaredMethod("connect", SocketAddress.class, int.class); in checkOldImpl() 569 public void connect(SocketAddress endpoint) throws IOException { in connect() 590 public void connect(SocketAddress endpoint, int timeout) throws IOException { in connect() 655 public void bind(SocketAddress bindpoint) throws IOException { in bind() 825 public SocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() 861 public SocketAddress getLocalSocketAddress() { in getLocalSocketAddress()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | ProxyTest.java | 20 import java.net.SocketAddress; 26 private SocketAddress address = new InetSocketAddress("127.0.0.1", 1234); 142 SocketAddress address1 = new InetSocketAddress("127.0.0.1", 1234); in test_equalsLjava_lang_Object_Equals() 143 SocketAddress address2 = new InetSocketAddress("127.0.0.1", 1234); in test_equalsLjava_lang_Object_Equals() 168 SocketAddress address1 = new InetSocketAddress("127.0.0.1", 1234); in test_equalsLjava_lang_Object_NotEquals() 169 SocketAddress address2 = new InetSocketAddress("127.0.0.1", 1235); in test_equalsLjava_lang_Object_NotEquals()
|
D | DatagramSocketImplTest.java | 26 import java.net.SocketAddress; 101 protected void joinGroup(SocketAddress addr, NetworkInterface netInterface) in joinGroup() 112 protected void leaveGroup(SocketAddress addr, NetworkInterface netInterface) in leaveGroup()
|
/libcore/luni/src/main/java/android/system/ |
D | NetlinkSocketAddress.java | 21 import java.net.SocketAddress; 33 public final class NetlinkSocketAddress extends SocketAddress {
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldSocketChannelTest.java | 24 import java.net.SocketAddress; 184 SocketAddress newTypeAddress = new SubSocketAddress(); in testOpenSocketAddress() 192 SocketAddress unresolvedAddress = in testOpenSocketAddress() 372 public boolean connect(SocketAddress address) throws IOException { in connect() 415 public SocketAddress getRemoteAddress() throws IOException { in getRemoteAddress() 435 public SocketChannel bind(SocketAddress local) throws IOException { in bind() 450 public SocketAddress getLocalAddress() throws IOException { in getLocalAddress() 455 class SubSocketAddress extends SocketAddress {
|