Searched refs:receive (Results 1 - 17 of 17) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DDatagramSocketTest.java81 ms.receive(rdp);
348 DatagramPacket receive = new DatagramPacket(new byte[20], 20);
350 ds.receive(receive);
352 assertTrue("Wrong size: " + receive.getLength(), receive
354 assertTrue("Wrong receiver", receive.getAddress().equals(localHost));
373 ms.receive(rdp);
412 DatagramPacket receive = new DatagramPacket(new byte[20], 20);
414 ds.receive(receiv
2753 protected void receive(DatagramPacket arg0) throws IOException { method in class:DatagramSocketTest.TestDatagramSocketImpl
[all...]
H A DDatagramSocketImplFactoryTest.java224 protected void receive(DatagramPacket arg0) throws IOException { method in class:DatagramSocketImplFactoryTest.TestDatagramSocketImpl
H A DDatagramPacketTest.java254 socket.receive(packet);
281 socket.receive(packet);
H A DDatagramSocketImplTest.java110 method = "receive",
307 public void receive(DatagramPacket pack) throws IOException { method in class:MockDatagramSocketImpl
H A DMulticastSocketTest.java80 ms.receive(tmpPack);
438 // verify we do not receive the data
462 // we can join on specific interfaces and that we only receive
984 // test send receive
999 // receive the datagram
1004 // socket.receive()
1005 socket.receive(recvDatagram);
/dalvik/libcore/luni/src/main/java/java/io/
H A DPipedWriter.java170 reader.receive(buffer, offset, count);
200 reader.receive((char) c);
H A DPipedOutputStream.java187 stream.receive(oneByte);
H A DPipedReader.java227 * of "Pipe broken" will be thrown in receive()
241 // Notify callers of receive()
318 * If the buffer is full and the thread sending #receive is interrupted, the
328 synchronized void receive(char oneChar) throws IOException { method in class:PipedReader
370 * If the buffer is full and the thread sending #receive is interrupted, the
384 synchronized void receive(char[] chars, int offset, int count) throws IOException { method in class:PipedReader
H A DPipedInputStream.java203 * "Pipe broken" will be thrown in receive()
217 // Notify callers of receive()
316 * "Pipe broken" will be thrown in receive()
330 // Notify callers of receive()
397 protected synchronized void receive(int oneByte) throws IOException { method in class:PipedInputStream
/dalvik/libcore/luni/src/main/java/java/net/
H A DDatagramSocketImpl.java50 * bound prior to attempting to send or receive data.
132 * a group before being able to receive data. Further, a socket may be a
145 * a group before being able to receive data. Further, a socket may be a
151 * the local network interface which will receive the multicast
209 protected abstract void receive(DatagramPacket pack) throws IOException; method in class:DatagramSocketImpl
275 * {@code peekData()} or {@code receive()} call. This call blocks until
H A DDatagramSocket.java139 * receive()} is to check whether the packet address/port matches the
283 * Gets the socket receive buffer size. ( {@code SocketOptions.SO_RCVBUF} )
307 * Gets the socket receive timeout in milliseconds. The return value {@code
311 * @return the socket receive timeout.
334 public synchronized void receive(DatagramPacket pack) throws IOException { method in class:DatagramSocket
365 // receive packet to temporary buffer
368 impl.receive(tempPack);
381 // receive packets from sender's address and port
390 impl.receive(tempPack);
399 impl.receive(tempPac
[all...]
/dalvik/libcore/nio/src/main/java/java/nio/channels/
H A DDatagramChannel.java38 * is the reduced effort of security checks during send and receive. When
143 * in order to send and receive datagrams.
169 * This method executes the same security checks as the receive method of
192 public abstract SocketAddress receive(ByteBuffer target) throws IOException; method in class:DatagramChannel
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DMockDatagramChannel.java49 public SocketAddress receive(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel
H A DDatagramChannelTest.java843 method = "receive",
861 SocketAddress addr = channel1.receive(buf);
1309 // Test for receive(): Behavior Without Server.
1313 * Test method for 'DatagramChannelImpl.receive(ByteBuffer)'
1320 method = "receive",
1326 this.channel1.receive(null);
1334 * Test method for 'DatagramChannelImpl.receive(ByteBuffer)'
1341 method = "receive",
1350 this.channel1.receive(dst);
1358 * Test method for 'DatagramChannelImpl.receive(ByteBuffe
[all...]
/dalvik/libcore/security/src/test/java/tests/security/permissions/
H A DJavaNetDatagramSocketTest.java127 notes = "Verifies that java.net.DatagramSocket receive calls checkAccept of security manager.",
128 method = "receive",
180 s1.receive(p);
185 assertTrue("java.net.DatagramSocket.receive must call checkAccept on security manager", s.called);
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
H A DDatagramChannelImpl.java211 * @see java.nio.channels.DatagramChannel#receive(java.nio.ByteBuffer)
214 public SocketAddress receive(ByteBuffer target) throws IOException { method in class:DatagramChannelImpl
228 // receive real data packet, (not peek)
692 * receive.
803 * @see java.net.DatagramSocket#receive(java.net.DatagramPacket)
806 public void receive(DatagramPacket packet) throws IOException { method in class:DatagramChannelImpl.DatagramSocketAdapter
810 super.receive(packet);
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/
H A DPlainDatagramSocketImpl.java233 * we still need to do the receive in order to know that there was
250 public void receive(DatagramPacket pack) throws java.io.IOException { method in class:PlainDatagramSocketImpl

Completed in 234 milliseconds