/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 74 serverSocket.receive(rdp); in run() 177 DatagramPacket receive = new DatagramPacket(new byte[20], 20); in testConnect_connectToSelf() local 179 ds.receive(receive); in testConnect_connectToSelf() 182 assertEquals(10, receive.getLength()); in testConnect_connectToSelf() 183 assertEquals(localHost, receive.getAddress()); in testConnect_connectToSelf() 212 final DatagramPacket receive = new DatagramPacket(new byte[20], 20); in testConnect_echoServer() local 216 ds.receive(receive); in testConnect_echoServer() 218 assertEquals(sendBytes.length, receive.getLength()); in testConnect_echoServer() 219 assertPacketDataEquals(send, receive); in testConnect_echoServer() 220 assertEquals(Inet6Address.LOOPBACK, receive.getAddress()); in testConnect_echoServer() [all …]
|
D | MulticastSocketTest.java | 254 receivingSocket.receive(rdp); in test_joinGroupLjava_net_InetAddress() 348 receivingSocket.receive(rdp); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 375 receivingSocket.receive(rdp); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 437 receivingSocket.receive(rdp); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 624 receivingSocket.receive(rdp); in check_sendLjava_net_DatagramPacketB() 731 receivingSocket.receive(rdp); in check_setNetworkInterfaceLjava_net_NetworkInterface() 847 socket.receive(recvDatagram); in check_setLoopbackModeSendReceive()
|
D | DatagramSocketImplTest.java | 128 protected void receive(DatagramPacket pack) throws IOException { in receive() method in MockDatagramSocketImpl
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 174 private SocketAddress receive(ByteBuffer bb) throws IOException { in receive() method in DatagramSocketAdaptor 176 return dc.receive(bb); in receive() 183 if ((sender = dc.receive(bb)) != null) in receive() 193 if ((sender = dc.receive(bb)) != null) in receive() 207 public void receive(DatagramPacket p) throws IOException { in receive() method in DatagramSocketAdaptor 216 SocketAddress sender = receive(bb); in receive() 388 protected void receive(DatagramPacket p) throws IOException {}
|
D | DatagramChannelImpl.java | 361 public SocketAddress receive(ByteBuffer dst) throws IOException { in receive() method in DatagramChannelImpl 383 n = receive(fd, dst); in receive() 391 n = receive(fd, bb); in receive() 422 private int receive(FileDescriptor fd, ByteBuffer dst) in receive() method in DatagramChannelImpl 800 } while (receive(tmpBuf) != null); in connect()
|
/libcore/ojluni/src/main/java/java/io/ |
D | PipedWriter.java | 124 sink.receive(c); in write() 150 sink.receive(cbuf, off, len); in write()
|
D | PipedOutputStream.java | 122 sink.receive(b); in write() 149 sink.receive(b, off, len); in write()
|
D | PipedReader.java | 170 synchronized void receive(int c) throws IOException { in receive() method in PipedReader 208 synchronized void receive(char c[], int off, int len) throws IOException { in receive() method in PipedReader 210 receive(c[off++]); in receive()
|
D | PipedInputStream.java | 203 protected synchronized void receive(int b) throws IOException { in receive() method in PipedInputStream 228 synchronized void receive(byte b[], int off, int len) throws IOException { in receive() method in PipedInputStream
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramPacketTest.java | 37 ss.receive(packet); in test_getPort() 52 cs.receive(packet); in test_getPort()
|
D | OldAndroidDatagramTest.java | 59 socket.receive(packet); in run() 150 socket.receive(packet); in testDatagram()
|
D | MulticastSocketTest.java | 71 mcSock.receive(recvPacket); in assertRecv()
|
D | OldDatagramSocketImplFactoryTest.java | 183 protected void receive(DatagramPacket arg0) throws IOException { in receive() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
D | SocketTimeoutTest.java | 176 s.receive(new DatagramPacket(EmptyArray.BYTE, 0)); in testDatagramSocketReceive()
|
D | ConcurrentCloseTest.java | 167 s.receive(p); in test_recv()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | DatagramChannelTest.java | 673 this.channel1.receive(null); in testReceive_UnconnectedNull() 689 this.channel1.receive(dst); in testReceive_UnconnectedReadonly() 703 assertNull(this.channel1.receive(dst)); in testReceive_UnconnectedBufEmpty() 712 assertNull(dc.receive(dst)); in testReceive_UnboundBufZero() 726 assertNull(dc.receive(dst)); in testReceive_UnboundBufNotEmpty() 741 assertNull(dc.receive(dst)); in testReceive_UnboundBufFull() 755 assertNull(this.channel1.receive(dst)); in testReceive_UnconnectedClose() 771 this.channel1.receive(null); in testReceive_UnconnectedCloseNull() 789 this.channel1.receive(dst); in testReceive_UnconnectedCloseReadonly() 851 assertNull(this.channel1.receive(dst)); in testReceive_NonBlockNoServerBufNotEmpty() [all …]
|
D | MockDatagramChannel.java | 60 public SocketAddress receive(ByteBuffer arg0) throws IOException { in receive() method in MockDatagramChannel
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | MembershipKeyTest.java | 114 client.receive(buffer); in check_drop() 180 client.receive(buffer); in test_blockWithJoinWithoutSource() 230 client.receive(buffer); in test_unblockWithJoinWithoutSource()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedInputStreamTest.java | 311 public void receive(int oneByte) throws IOException { in receive() method in PipedInputStreamTest.PipedInputStreamWithPublicReceive 312 super.receive(oneByte); in receive() 325 pis.receive(1); in test_receive_failsIfWriterClosed()
|
/libcore/ojluni/src/main/java/java/net/ |
D | DatagramSocket.java | 756 public synchronized void receive(DatagramPacket p) throws IOException { in receive() method in DatagramSocket 794 getImpl().receive(tmp); in receive() 834 getImpl().receive(tmp); in receive() 847 getImpl().receive(p); in receive()
|
D | AbstractPlainDatagramSocketImpl.java | 162 protected synchronized void receive(DatagramPacket p) in receive() method in AbstractPlainDatagramSocketImpl
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | DatagramChannel.java | 398 public abstract SocketAddress receive(ByteBuffer dst) throws IOException; in receive() method in DatagramChannel
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | DatagramSocket.annotated.java | 68 public synchronized void receive(java.net.DatagramPacket p) throws java.io.IOException { throw new … in receive() method in DatagramSocket
|
/libcore/expectations/ |
D | virtualdeviceknownfailures.txt | 10 * VPC network can only send to IPv4 destinations and only receive traffic from
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | DatagramSocket.java | 119 public synchronized void receive(java.net.DatagramPacket p) throws java.io.IOException { in receive() method in DatagramSocket
|