Home
last modified time | relevance | path

Searched refs:rdp (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DMulticastSocketTest.java253 DatagramPacket rdp = createReceiveDatagramPacket(); in test_joinGroupLjava_net_InetAddress() local
254 receivingSocket.receive(rdp); in test_joinGroupLjava_net_InetAddress()
255 String receivedMessage = extractMessage(rdp); in test_joinGroupLjava_net_InetAddress()
347 DatagramPacket rdp = createReceiveDatagramPacket(); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() local
348 receivingSocket.receive(rdp); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
350 assertEquals("Group member did not recv data", msg, extractMessage(rdp)); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
373 rdp = createReceiveDatagramPacket(); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
375 receivingSocket.receive(rdp); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
435 DatagramPacket rdp = createReceiveDatagramPacket(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() local
437 receivingSocket.receive(rdp); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
[all …]
DDatagramSocketTest.java53 private final DatagramPacket rdp; field in DatagramSocketTest.DatagramServer
61 rdp = new DatagramPacket(rbuf, rbuf.length); in DatagramServer()
74 serverSocket.receive(rdp); in run()
76 serverSocket.send(rdp); in run()
960 DatagramPacket rdp = new DatagramPacket("0123456789".getBytes("UTF-8"), in testReceiveOversizePacket() local
962 sds.send(rdp); in testReceiveOversizePacket()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DDatagramChannelTest.java1158 DatagramPacket rdp = new DatagramPacket(msg.getBytes(), msg.length(), in testReceiveSend_Normal_S2S() local
1160 this.datagramSocket1.send(rdp); in testReceiveSend_Normal_S2S()
1163 rdp = new DatagramPacket(buf, buf.length); in testReceiveSend_Normal_S2S()
1164 this.datagramSocket2.receive(rdp); in testReceiveSend_Normal_S2S()
1206 DatagramPacket rdp = new DatagramPacket(msg.getBytes(), msg.length(), in testReceiveSend_Empty_S2S() local
1208 this.datagramSocket1.send(rdp); in testReceiveSend_Empty_S2S()
1211 rdp = new DatagramPacket(buf, buf.length); in testReceiveSend_Empty_S2S()
1212 this.datagramSocket2.receive(rdp); in testReceiveSend_Empty_S2S()
1270 DatagramPacket rdp = new DatagramPacket(data.getBytes(), data.length(), address); in sendOnDatagramSocket1() local
1271 this.datagramSocket1.send(rdp); in sendOnDatagramSocket1()
[all …]