Searched refs:writableByteChannel (Results 1 – 2 of 2) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileChannelTest.java | 97 private WritableByteChannel writableByteChannel; field in FileChannelTest 2704 writableByteChannel = null; in test_transferToJJLWritableByteChannel_Null() 2706 readOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2712 writeOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2719 readWriteFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2726 writeOnlyFileChannel.transferTo(-1, 0, writableByteChannel); in test_transferToJJLWritableByteChannel_Null() 2737 writableByteChannel = DatagramChannel.open(); in test_transferToJJLWritableByteChannel_Closed() 2740 readOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() 2748 writeOnlyFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() 2756 readWriteFileChannel.transferTo(0, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_Closed() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | OldFileChannelTest.java | 1055 WritableByteChannel writableByteChannel = DatagramChannel.open(); in test_transferToJJLWritableByteChannel_IllegalArgument() local 1057 readOnlyFileChannel.transferTo(10, -1, writableByteChannel); in test_transferToJJLWritableByteChannel_IllegalArgument() 1064 readWriteFileChannel.transferTo(-1, 10, writableByteChannel); in test_transferToJJLWritableByteChannel_IllegalArgument()
|