Home
last modified time | relevance | path

Searched refs:send (Results 1 – 25 of 31) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java76 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 …]
DMulticastSocketTest.java251 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()
DDatagramSocketImplTest.java133 protected void send(DatagramPacket pack) throws IOException { in send() method in MockDatagramSocketImpl
/libcore/luni/src/test/java/libcore/java/net/
DDatagramSocketTest.java84 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()
DOldDatagramPacketTest.java38 ss.send(packet); in test_getPort()
50 cs.send(packet); in test_getPort()
DMulticastSocketTest.java57 ds.send(p); in testGroupReceive()
61 ds.send(p); in testGroupReceive()
DOldAndroidDatagramTest.java74 socket.send(packet); in run()
141 socket.send(packet); in testDatagram()
DOldDatagramSocketImplFactoryTest.java187 protected void send(DatagramPacket arg0) throws IOException { in send() method in OldDatagramSocketImplFactoryTest.TestDatagramSocketImpl
/libcore/
DOWNERS6 # 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/
DDatagramSocketAdaptor.java139 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/
DMembershipKeyTest.java109 .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/
DDatagramChannelTest.java1006 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 …]
DMockDatagramChannel.java65 public int send(ByteBuffer arg0, SocketAddress arg1) throws IOException { in send() method in MockDatagramChannel
/libcore/ojluni/src/main/native/
DSocketChannelImpl.c95 int n = send(fdval(env, fdo), (const void*)&b, 1, MSG_OOB); in Java_sun_nio_ch_SocketChannelImpl_sendOutOfBandData()
DDatagramDispatcher.c103 int result = send(fd, buf, len, 0); in Java_sun_nio_ch_DatagramDispatcher_write0()
Dlinux_close.cpp147 BLOCKING_IO_RETURN_INT( s, send(s, msg, len, flags) ); in NET_Send()
/libcore/ojluni/src/main/java/java/net/
DMulticastSocket.java662 public void send(DatagramPacket p, byte ttl) in send() method in MulticastSocket
702 getImpl().send(p); in send()
DDatagramSocketImpl.java96 protected abstract void send(DatagramPacket p) throws IOException; in send() method in DatagramSocketImpl
DDatagramSocket.java677 public void send(DatagramPacket p) throws IOException { in send() method in DatagramSocket
721 getImpl().send(p); in send()
DAbstractPlainDatagramSocketImpl.java123 protected abstract void send(DatagramPacket p) throws IOException; in send() method in AbstractPlainDatagramSocketImpl
DPlainDatagramSocketImpl.java116 protected void send(DatagramPacket p) throws IOException { in send() method in PlainDatagramSocketImpl
/libcore/ojluni/src/main/java/java/nio/channels/
DDatagramChannel.java463 public abstract int send(ByteBuffer src, SocketAddress target) in send() method in DatagramChannel
/libcore/expectations/
Dvirtualdeviceknownfailures.txt10 * VPC network can only send to IPv4 destinations and only receive traffic from
/libcore/ojluni/annotations/mmodule/java/net/
DDatagramSocket.annotated.java66 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/
DDatagramSocket.java115 public void send(java.net.DatagramPacket p) throws java.io.IOException { in send() method in DatagramSocket

12