/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldDatagramPacketTest.java | 38 ss.send(packet); 50 cs.send(packet);
|
H A D | MulticastSocketTest.java | 57 ds.send(p); 61 ds.send(p);
|
H A D | DatagramSocketTest.java | 82 // Confirm send() throws the pendingConnectException. 84 s.send(p); 160 otherSocket.send(new DatagramPacket(data, data.length)); 178 srcSocket.send(new DatagramPacket(data, data.length)); 207 srcDs.send(new DatagramPacket(new byte[16], 16)); 208 srcDs.send(new DatagramPacket(new byte[16], 16));
|
H A D | OldAndroidDatagramTest.java | 74 socket.send(packet); 124 // Setup the reflector, so we have a partner to send to 141 socket.send(packet);
|
H A D | OldDatagramSocketImplFactoryTest.java | 187 protected void send(DatagramPacket arg0) throws IOException { method in class:OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | DatagramSocketTest.java | 76 serverSocket.send(rdp); 142 ds.send(dp); 173 DatagramPacket send = new DatagramPacket(new byte[10], 10, localHost, 175 ds.send(send); 211 final DatagramPacket send = new DatagramPacket(sendBytes, sendBytes.length); 214 ds.send(send); 219 assertPacketDataEquals(send, receive); 224 // Validate that once connected we cannot send t 435 protected void send(DatagramPacket arg0) throws IOException { method in class:DatagramSocketTest.TestDatagramSocketImpl [all...] |
H A D | DatagramSocketImplTest.java | 133 protected void send(DatagramPacket pack) throws IOException { method in class:MockDatagramSocketImpl
|
H A D | MulticastSocketTest.java | 250 sendingSocket.send(sdp, (byte) 10 /* ttl */); 347 sendingSocket.send(sdp); 373 sendingSocket.send(sdp); 399 // they cannot send / receive multicast messages. 430 // Now send out a packet on sendingInterface. We should only see the packet if we send 436 sendingSocket.send(sdp); 509 mss.send(sdp, (byte) 10 /* ttl */); 634 sendingSocket.send(sdp, (byte) 10 /* ttl */); 640 assertEquals("Failed to send dat [all...] |
H A D | DatagramPacketTest.java | 140 socket.send(packet);
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
H A D | DatagramChannel.java | 43 * connected. A datagram channel need not be connected in order for the {@link #send 44 * send} and {@link #receive receive} methods to be used. A datagram channel may be 47 * every send and receive operation. A datagram channel must be connected in 67 * <td> The size of the socket send buffer </td> 413 * java.net.DatagramSocket#send send} method of the {@link 463 public abstract int send(ByteBuffer src, SocketAddress target) method in class:DatagramChannel
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
H A D | DatagramSocketAdaptor.java | 139 public void send(DatagramPacket p) throws IOException { method in class:DatagramSocketAdaptor 150 // Legacy DatagramSocket will send in this case 159 dc.send(bb, p.getSocketAddress()); 163 dc.send(bb, p.getSocketAddress()); 305 throw new IllegalArgumentException("Invalid send size"); 382 protected void send(DatagramPacket p) throws IOException {}
|
H A D | DatagramChannelImpl.java | 471 public int send(ByteBuffer src, SocketAddress target) method in class:DatagramChannelImpl 514 n = send(fd, src, isa); 531 private int send(FileDescriptor fd, ByteBuffer src, InetSocketAddress target) method in class:DatagramChannelImpl
|
/libcore/ojluni/src/main/native/ |
H A D | SocketChannelImpl.c | 95 int n = send(fdval(env, fdo), (const void*)&b, 1, MSG_OOB);
|
H A D | DatagramDispatcher.c | 103 int result = send(fd, buf, len, 0);
|
H A D | linux_close.cpp | 142 BLOCKING_IO_RETURN_INT( s, send(s, msg, len, flags) );
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | MembershipKeyTest.java | 109 .send(ByteBuffer.wrap(TEST_MESSAGE.getBytes()), 175 .send(ByteBuffer.wrap(TEST_MESSAGE.getBytes()), 225 .send(ByteBuffer.wrap(TEST_MESSAGE.getBytes()),
|
H A D | DatagramChannelMulticastTest.java | 334 // they cannot send / receive multicast messages. 362 // Now send out a package on sendingInterface. We should only see the packet if we send 452 // send the datagram 455 dc.send(sendBuffer, new InetSocketAddress(group, localAddress.getPort())); 468 // send another datagram 471 dc.send(sendBuffer2, new InetSocketAddress(group, localAddress.getPort())); 1235 // Any datagram socket can send to a group. It does not need to have joined the group. 1265 datagramChannel.send(sendBuffer, targetGroupSocketAddress);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | MockDatagramChannel.java | 65 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { method in class:MockDatagramChannel
|
H A D | DatagramChannelTest.java | 1000 // Test for send(): Behavior without server. 1006 assertEquals(CAPACITY_NORMAL, this.channel1.send(writeBuf, ipAddr)); 1017 assertEquals(CAPACITY_NORMAL, this.channel1.send(writeBuf, ipAddr)); 1025 * Test method for 'DatagramChannelImpl.send(ByteBuffer, SocketAddress)' 1041 assertEquals(0, this.channel1.send(writeBuf, datagramSocket1Address)); 1043 channel1.send(writeBuf, datagramSocket2Address); 1054 assertEquals(0, this.channel1.send(writeBuf, datagramSocket1Address)); 1056 channel1.send(writeBuf, datagramSocket2Address); 1082 channel1.send(null, datagramSocket2Address); 1108 channel1.send(writeBu [all...] |
/libcore/ojluni/src/main/java/java/net/ |
H A D | DatagramSocketImpl.java | 88 * destination address to send the packet to. 96 protected abstract void send(DatagramPacket p) throws IOException; method in class:DatagramSocketImpl 107 * send or receive may throw a PortUnreachableException.
|
H A D | MulticastSocket.java | 47 * // join a Multicast group and send the group salutations 55 * s.send(hi); 68 * be a member of the multicast group to send messages to it. 182 * send(packet,ttl). 635 * One does not need to be the member of the group to send 644 * method doesn't allow the send. 650 * mcastSocket.send(p); 654 * @see DatagramSocket#send 660 public void send(DatagramPacket p, byte ttl) method in class:MulticastSocket 664 checkAddress(p.getAddress(), "send"); [all...] |
H A D | DatagramSocket.java | 438 * send or receive may throw a PortUnreachableException. Note, there is no 455 * {@link #send send} <b>will not perform any security checks</b> 457 * and the socket's address and port. On a send operation, if the 461 * to send packets. 661 * method doesn't allow the send. 677 public void send(DatagramPacket p) throws IOException { method in class:DatagramSocket 687 checkAddress (p.getAddress(), "send"); 689 // check the address is ok wiht the security manager on every send. 694 // while you are trying to send th [all...] |
H A D | AbstractPlainDatagramSocketImpl.java | 118 * destination address to send the packet to. 121 protected abstract void send(DatagramPacket p) throws IOException; method in class:AbstractPlainDatagramSocketImpl
|
H A D | PlainDatagramSocketImpl.java | 115 protected void send(DatagramPacket p) throws IOException { method in class:PlainDatagramSocketImpl
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
H A D | OsTest.java | 789 srcSock.send(new DatagramPacket(new byte[0], 0, ds.getLocalSocketAddress()));
|