/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 76 serverSocket.send(rdp); in run() 142 ds.send(dp); in test_close() 173 DatagramPacket send = new DatagramPacket(new byte[10], 10, localHost, in testConnect_connectToSelf() local 175 ds.send(send); in testConnect_connectToSelf() 211 final DatagramPacket send = new DatagramPacket(sendBytes, sendBytes.length); in testConnect_echoServer() local 214 ds.send(send); in testConnect_echoServer() 219 assertPacketDataEquals(send, receive); in testConnect_echoServer() 232 ds.send(new DatagramPacket(new byte[10], 10, Inet6Address.LOOPBACK, s2.getPort())); in testConnect_throwsOnAddressMismatch() 254 final DatagramPacket send = new DatagramPacket(sendBytes, sendBytes.length); in testConnect_connectDisconnectConnectThenSendRecv() local 256 ds.send(send); in testConnect_connectDisconnectConnectThenSendRecv() [all …]
|
D | MulticastSocketTest.java | 251 sendingSocket.send(sdp, (byte) 10 /* ttl */); in test_joinGroupLjava_net_InetAddress() 345 sendingSocket.send(sdp); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 371 sendingSocket.send(sdp); in check_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 433 sendingSocket.send(sdp); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 502 mss.send(sdp, (byte) 10 /* ttl */); in check_leaveGroupLjava_net_InetAddress() 620 sendingSocket.send(sdp, (byte) 10 /* ttl */); in check_sendLjava_net_DatagramPacketB() 728 sendingSocket.send(sdp); in check_setNetworkInterfaceLjava_net_NetworkInterface() 842 socket.send(sendDatagram); in check_setLoopbackModeSendReceive()
|
D | DatagramSocketImplTest.java | 133 protected void send(DatagramPacket pack) throws IOException { in send() method in MockDatagramSocketImpl
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | DatagramSocketTest.java | 84 s.send(p); in testPendingException() 160 otherSocket.send(new DatagramPacket(data, data.length)); in testExplicitFilter() 178 srcSocket.send(new DatagramPacket(data, data.length)); in testExplicitFilter() 207 srcDs.send(new DatagramPacket(new byte[16], 16)); in testAddressSameIfUnchanged() 208 srcDs.send(new DatagramPacket(new byte[16], 16)); in testAddressSameIfUnchanged()
|
D | OldDatagramPacketTest.java | 38 ss.send(packet); in test_getPort() 50 cs.send(packet); in test_getPort()
|
D | MulticastSocketTest.java | 57 ds.send(p); in testGroupReceive() 61 ds.send(p); in testGroupReceive()
|
D | OldAndroidDatagramTest.java | 74 socket.send(packet); in run() 141 socket.send(packet); in testDatagram()
|
D | OldDatagramSocketImplFactoryTest.java | 187 protected void send(DatagramPacket arg0) throws IOException { in send() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
|
/libcore/ |
D | OWNERS | 6 # People who can approve changes for submission; don't send review emails to them 15 # Don't send these folks any review emails for this project.
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 139 public void send(DatagramPacket p) throws IOException { in send() method in DatagramSocketAdaptor 159 dc.send(bb, p.getSocketAddress()); in send() 163 dc.send(bb, p.getSocketAddress()); in send() 382 protected void send(DatagramPacket p) throws IOException {}
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | MembershipKeyTest.java | 109 .send(ByteBuffer.wrap(TEST_MESSAGE.getBytes()), in check_drop() 175 .send(ByteBuffer.wrap(TEST_MESSAGE.getBytes()), in test_blockWithJoinWithoutSource() 225 .send(ByteBuffer.wrap(TEST_MESSAGE.getBytes()), in test_unblockWithJoinWithoutSource()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | DatagramChannelTest.java | 1006 assertEquals(CAPACITY_NORMAL, this.channel1.send(writeBuf, ipAddr)); in sendDataBlocking() 1017 assertEquals(CAPACITY_NORMAL, this.channel1.send(writeBuf, ipAddr)); in sendDataNonBlocking() 1041 assertEquals(0, this.channel1.send(writeBuf, datagramSocket1Address)); in testSend_NoServerTwice() 1043 channel1.send(writeBuf, datagramSocket2Address); in testSend_NoServerTwice() 1054 assertEquals(0, this.channel1.send(writeBuf, datagramSocket1Address)); in testSend_NoServerNonBlockingTwice() 1056 channel1.send(writeBuf, datagramSocket2Address); in testSend_NoServerNonBlockingTwice() 1082 channel1.send(null, datagramSocket2Address); in testSend_NoServerBufNullTwice() 1108 channel1.send(writeBuf, null); in testSend_NoServerAddrNullTwice() 1160 this.datagramSocket1.send(rdp); in testReceiveSend_Normal_S2S() 1208 this.datagramSocket1.send(rdp); in testReceiveSend_Empty_S2S() [all …]
|
D | MockDatagramChannel.java | 65 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { in send() method in MockDatagramChannel
|
/libcore/ojluni/src/main/native/ |
D | SocketChannelImpl.c | 95 int n = send(fdval(env, fdo), (const void*)&b, 1, MSG_OOB); in Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData()
|
D | DatagramDispatcher.c | 103 int result = send(fd, buf, len, 0); in Java_sun_nio_ch_DatagramDispatcher_write0()
|
D | linux_close.cpp | 147 BLOCKING_IO_RETURN_INT( s, send(s, msg, len, flags) ); in NET_Send()
|
/libcore/ojluni/src/main/java/java/net/ |
D | MulticastSocket.java | 662 public void send(DatagramPacket p, byte ttl) in send() method in MulticastSocket 702 getImpl().send(p); in send()
|
D | DatagramSocketImpl.java | 96 protected abstract void send(DatagramPacket p) throws IOException; in send() method in DatagramSocketImpl
|
D | DatagramSocket.java | 677 public void send(DatagramPacket p) throws IOException { in send() method in DatagramSocket 721 getImpl().send(p); in send()
|
D | AbstractPlainDatagramSocketImpl.java | 123 protected abstract void send(DatagramPacket p) throws IOException; in send() method in AbstractPlainDatagramSocketImpl
|
D | PlainDatagramSocketImpl.java | 116 protected void send(DatagramPacket p) throws IOException { in send() method in PlainDatagramSocketImpl
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | DatagramChannel.java | 463 public abstract int send(ByteBuffer src, SocketAddress target) in send() method in DatagramChannel
|
/libcore/expectations/ |
D | virtualdeviceknownfailures.txt | 10 * VPC network can only send to IPv4 destinations and only receive traffic from
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | DatagramSocket.annotated.java | 66 public void send(java.net.DatagramPacket p) throws java.io.IOException { throw new RuntimeException… in send() method in DatagramSocket
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | DatagramSocket.java | 115 public void send(java.net.DatagramPacket p) throws java.io.IOException { in send() method in DatagramSocket
|