Home
last modified time | relevance | path

Searched defs:channel (Results 1 – 25 of 28) sorted by relevance

12

/libcore/luni/src/main/java/java/nio/channels/
DChannels.java58 public static InputStream newInputStream(ReadableByteChannel channel) { in newInputStream()
78 public static OutputStream newOutputStream(WritableByteChannel channel) { in newOutputStream()
129 public static Reader newReader(ReadableByteChannel channel, in newReader()
150 public static Reader newReader(ReadableByteChannel channel, in newReader()
171 public static Writer newWriter(WritableByteChannel channel, in newWriter()
193 public static Writer newWriter(WritableByteChannel channel, in newWriter()
206 private final ReadableByteChannel channel; field in Channels.ChannelInputStream
208 ChannelInputStream(ReadableByteChannel channel) { in ChannelInputStream()
246 private final WritableByteChannel channel; field in Channels.ChannelOutputStream
248 ChannelOutputStream(WritableByteChannel channel) { in ChannelOutputStream()
[all …]
DFileLock.java74 private final FileChannel channel; field in FileLock
99 protected FileLock(FileChannel channel, long position, long size, boolean shared) { in FileLock()
112 public final FileChannel channel() { in channel() method in FileLock
DSelectionKey.java110 public abstract SelectableChannel channel(); in channel() method in SelectionKey
/libcore/luni/src/main/java/java/nio/
DSelectionKeyImpl.java32 private AbstractSelectableChannel channel; field in SelectionKeyImpl
40 public SelectionKeyImpl(AbstractSelectableChannel channel, int operations, in SelectionKeyImpl()
49 public SelectableChannel channel() { in channel() method in SelectionKeyImpl
DSocketChannelImpl.java495 private final SocketChannelImpl channel; field in SocketChannelImpl.SocketAdapter
498 SocketAdapter(PlainSocketImpl socketImpl, SocketChannelImpl channel) in SocketAdapter()
585 private final SocketChannel channel; field in SocketChannelImpl.BlockingCheckOutputStream
587 public BlockingCheckOutputStream(OutputStream out, SocketChannel channel) { in BlockingCheckOutputStream()
630 private final SocketChannel channel; field in SocketChannelImpl.BlockingCheckInputStream
632 public BlockingCheckInputStream(InputStream in, SocketChannel channel) { in BlockingCheckInputStream()
DPipeImpl.java62 private final SocketChannel channel; field in PipeImpl.PipeSourceChannel
97 private final SocketChannel channel; field in PipeImpl.PipeSinkChannel
DSelectorImpl.java124 @Override protected SelectionKey register(AbstractSelectableChannel channel, in register()
DFileChannelImpl.java140 public FileLockImpl(FileChannel channel, long position, long size, boolean shared) { in FileLockImpl()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DAbstractSelectionKeyTest.java56 public SelectableChannel channel() { in channel() method in AbstractSelectionKeyTest.MockSelectionKey
DAbstractSelectableChannelTest.java126 SocketChannel channel = SocketChannel.open(); in test_register_LSelectorILObject() local
/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java142 private void testInterruptReadableChannel(final ReadableByteChannel channel) throws Exception { in testInterruptReadableChannel()
179 private void testInterruptWritableChannel(final WritableByteChannel channel) throws Exception { in testInterruptWritableChannel()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldServerSocketChannelTest.java66 ServerSocketChannel channel = in testConstructor() local
DFileIOInterruptTest.java530 private final FileChannel channel; field in FileIOInterruptTest.ChannelReader
536 ChannelReader(FileChannel channel, Method method) { in ChannelReader()
575 private final FileChannel channel; field in FileIOInterruptTest.ChannelWriter
581 ChannelWriter(FileChannel channel, Method method) { in ChannelWriter()
DOldFileChannelTest.java503 private void doTestForIOOBException(FileChannel channel, in doTestForIOOBException()
645 FileChannel channel = out.getChannel(); in test_isOpen() local
DOldSocketChannelTest.java90 SocketChannel channel = in testConstructor() local
/libcore/luni/src/main/java/java/nio/channels/spi/
DAbstractSelector.java98 protected abstract SelectionKey register(AbstractSelectableChannel channel, in register()
/libcore/luni/src/main/java/java/io/
DFileInputStream.java60 private FileChannel channel; field in FileInputStream
DFileOutputStream.java58 private FileChannel channel; field in FileOutputStream
DRandomAccessFile.java51 private FileChannel channel; field in RandomAccessFile
/libcore/luni/src/main/java/java/util/logging/
DFileHandler.java191 FileChannel channel = fileStream.getChannel(); in initOutputFiles() local
494 FileChannel channel = lock.channel(); in close() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileLockTest.java42 protected MockFileLock(FileChannel channel, long position, long size, in MockFileLock()
DSelectionKeyTest.java69 public SelectableChannel channel() { in channel() method in SelectionKeyTest.MockSelectionKey
DServerSocketChannelTest.java524 SocketChannel channel; field in ServerSocketChannelTest.WriteChannelThread
528 public WriteChannelThread(SocketChannel channel, ByteBuffer buffer) { in WriteChannelThread()
DDatagramChannelTest.java2277 DatagramChannel channel = DatagramChannel.open(); in test_read_LByteBuffer_closed_nullBuf() local
2293 DatagramChannel channel = DatagramChannel.open(); in test_read_LByteBuffer_NotConnected_nullBuf() local
2308 DatagramChannel channel = DatagramChannel.open(); in test_read_LByteBuffer_readOnlyBuf() local
2363 DatagramChannel channel = DatagramChannel.open(); in test_socket_IllegalBlockingModeException() local
/libcore/luni/src/test/java/libcore/java/net/
DOldSocketTest.java1098 SocketChannel channel = SocketChannel.open(); in test_connectLjava_net_SocketAddress() local
1391 SocketChannel channel = SocketChannel.open(); in test_connectLjava_net_SocketAddressI() local
1692 SocketChannel channel = SocketChannel.open(); in test_getChannel() local
2088 SocketChannel channel = SocketChannel.open( in test_getOutputStream_shutdownOutput() local

12