Searched defs:packet (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAndroidDatagramTest.java | 48 DatagramPacket packet; field in OldAndroidDatagramTest.Reflector 69 stringToPacket(s.toUpperCase(), packet); in run() local 102 static String stringFromPacket(DatagramPacket packet) { in stringFromPacket() 109 static void stringToPacket(String s, DatagramPacket packet) { in stringToPacket() 130 DatagramPacket packet = new DatagramPacket(buffer, buffer.length); in testDatagram() local
|
D | OldDatagramPacketTest.java | 49 …DatagramPacket packet = new DatagramPacket(bytes, 6, InetAddress.getByName("localhost"), ss.getLoc… in test_getPort() local
|
/libcore/luni/src/main/java/java/net/ |
D | PlainDatagramSocketImpl.java | 155 DatagramPacket packet = new DatagramPacket(EmptyArray.BYTE, 0); in peek() local 181 public void send(DatagramPacket packet) throws IOException { in send() 253 private void updatePacketRecvAddress(DatagramPacket packet) { in updatePacketRecvAddress()
|
D | MulticastSocket.java | 248 public void send(DatagramPacket packet, byte ttl) throws IOException { in send()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoBridge.java | 549 …iptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, DatagramPacket packet, boolean i… in recvfrom() 561 …(boolean isRead, FileDescriptor fd, ByteBuffer buffer, int flags, DatagramPacket packet, boolean i… in recvfrom() 573 …private static int postRecvfrom(boolean isRead, DatagramPacket packet, boolean isConnected, InetSo… in postRecvfrom()
|
/libcore/luni/src/main/java/java/nio/ |
D | DatagramChannelImpl.java | 573 public void receive(DatagramPacket packet) throws IOException { in receive() 588 public void send(DatagramPacket packet) throws IOException { in send()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramPacketTest.java | 138 DatagramPacket packet = new DatagramPacket(new byte[] { 1, 2, 3, 4, 5, in test_getPort() local
|