Home
last modified time | relevance | path

Searched refs:channels (Results 1 – 25 of 238) sorted by relevance

12345678910

/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DSelectorImpl.java28 import java.nio.channels.*;
29 import java.nio.channels.spi.*;
33 public abstract class SelectorImpl extends java.nio.channels.spi.AbstractSelector {
35 protected SelectorImpl(java.nio.channels.spi.SelectorProvider sp) { in SelectorImpl()
40 public java.util.Set<java.nio.channels.SelectionKey> keys() { in keys()
44 public java.util.Set<java.nio.channels.SelectionKey> selectedKeys() { in selectedKeys()
76 protected final java.nio.channels.SelectionKey register( in register()
77 java.nio.channels.spi.AbstractSelectableChannel ch, in register()
91 public abstract java.nio.channels.Selector wakeup(); in wakeup()
93 protected java.util.HashSet<java.nio.channels.SelectionKey> keys;
[all …]
DFileChannelImpl.java31 public class FileChannelImpl extends java.nio.channels.FileChannel {
43 public static java.nio.channels.FileChannel open( in open()
52 public static java.nio.channels.FileChannel open( in open()
96 public java.nio.channels.FileChannel position(long newPosition) throws java.io.IOException { in position()
104 public java.nio.channels.FileChannel truncate(long newSize) throws java.io.IOException { in truncate()
115 java.nio.channels.WritableByteChannel target, in transferToDirectlyInternal()
122 long position, int icount, java.nio.channels.WritableByteChannel target) in transferToDirectly()
128 long position, long count, java.nio.channels.WritableByteChannel target) in transferToTrustedChannel()
134 long position, int icount, java.nio.channels.WritableByteChannel target) in transferToArbitraryChannel()
139 public long transferTo(long position, long count, java.nio.channels.WritableByteChannel target) in transferTo()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DMockAbstractSelector.java17 package org.apache.harmony.tests.java.nio.channels.spi;
20 import java.nio.channels.SelectionKey;
21 import java.nio.channels.Selector;
22 import java.nio.channels.spi.AbstractSelectableChannel;
23 import java.nio.channels.spi.AbstractSelectionKey;
24 import java.nio.channels.spi.AbstractSelector;
25 import java.nio.channels.spi.SelectorProvider;
DAbstractSelectionKeyTest.java17 package org.apache.harmony.tests.java.nio.channels.spi;
19 import java.nio.channels.SelectableChannel;
20 import java.nio.channels.SelectionKey;
21 import java.nio.channels.Selector;
22 import java.nio.channels.spi.AbstractSelectionKey;
DAbstractSelectorTest.java17 package org.apache.harmony.tests.java.nio.channels.spi;
20 import java.nio.channels.ClosedSelectorException;
21 import java.nio.channels.IllegalBlockingModeException;
22 import java.nio.channels.SelectionKey;
23 import java.nio.channels.Selector;
24 import java.nio.channels.ServerSocketChannel;
25 import java.nio.channels.spi.SelectorProvider;
DAbstractSelectableChannelTest.java17 package org.apache.harmony.tests.java.nio.channels.spi;
20 import java.nio.channels.ClosedChannelException;
21 import java.nio.channels.IllegalBlockingModeException;
22 import java.nio.channels.IllegalSelectorException;
23 import java.nio.channels.SelectableChannel;
24 import java.nio.channels.SelectionKey;
25 import java.nio.channels.Selector;
26 import java.nio.channels.SocketChannel;
27 import java.nio.channels.spi.AbstractSelectableChannel;
28 import java.nio.channels.spi.SelectorProvider;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectableChannelTest.java17 package org.apache.harmony.tests.java.nio.channels;
20 import java.nio.channels.ClosedChannelException;
21 import java.nio.channels.SelectableChannel;
22 import java.nio.channels.SelectionKey;
23 import java.nio.channels.Selector;
24 import java.nio.channels.spi.SelectorProvider;
DMockServerSocketChannel.java18 package org.apache.harmony.tests.java.nio.channels;
24 import java.nio.channels.NetworkChannel;
25 import java.nio.channels.ServerSocketChannel;
26 import java.nio.channels.SocketChannel;
27 import java.nio.channels.spi.SelectorProvider;
DPipeTest.java17 package org.apache.harmony.tests.java.nio.channels;
21 import java.nio.channels.Pipe;
22 import java.nio.channels.Pipe.SinkChannel;
23 import java.nio.channels.Pipe.SourceChannel;
DUnixSelectorTest.java17 package org.apache.harmony.tests.java.nio.channels;
21 import java.nio.channels.SelectableChannel;
22 import java.nio.channels.SelectionKey;
23 import java.nio.channels.Selector;
24 import java.nio.channels.ServerSocketChannel;
25 import java.nio.channels.SocketChannel;
DMockDatagramChannel.java18 package org.apache.harmony.tests.java.nio.channels;
27 import java.nio.channels.DatagramChannel;
28 import java.nio.channels.MembershipKey;
29 import java.nio.channels.ServerSocketChannel;
30 import java.nio.channels.spi.SelectorProvider;
DFileChannelLockingTest.java17 package org.apache.harmony.tests.java.nio.channels;
25 import java.nio.channels.FileChannel;
26 import java.nio.channels.FileLock;
27 import java.nio.channels.NonReadableChannelException;
28 import java.nio.channels.NonWritableChannelException;
29 import java.nio.channels.OverlappingFileLockException;
DMockSocketChannel.java18 package org.apache.harmony.tests.java.nio.channels;
25 import java.nio.channels.ServerSocketChannel;
26 import java.nio.channels.SocketChannel;
27 import java.nio.channels.spi.SelectorProvider;
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldServerSocketChannelTest.java18 package libcore.java.nio.channels;
23 import java.nio.channels.ClosedByInterruptException;
24 import java.nio.channels.ServerSocketChannel;
25 import java.nio.channels.SocketChannel;
26 import java.nio.channels.spi.SelectorProvider;
DChannelsTest.java17 package libcore.java.nio.channels;
23 import java.nio.channels.AsynchronousByteChannel;
24 import java.nio.channels.Channels;
25 import java.nio.channels.IllegalBlockingModeException;
26 import java.nio.channels.Pipe;
27 import java.nio.channels.WritableByteChannel;
DSelectorTest.java16 package libcore.java.nio.channels;
24 import java.nio.channels.NoConnectionPendingException;
25 import java.nio.channels.SelectionKey;
26 import java.nio.channels.Selector;
27 import java.nio.channels.ServerSocketChannel;
28 import java.nio.channels.SocketChannel;
DAsynchronousChannelGroupTest.java17 package libcore.java.nio.channels;
21 import java.nio.channels.AsynchronousChannelGroup;
22 import java.nio.channels.AsynchronousServerSocketChannel;
23 import java.nio.channels.ShutdownChannelGroupException;
24 import java.nio.channels.spi.AsynchronousChannelProvider;
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DTEST_MAPPING7 "include-filter": "libcore.java.nio.channels.spi"
10 "include-filter": "org.apache.harmony.nio.tests.java.nio.channels.spi"
13 "include-filter": "org.apache.harmony.tests.java.nio.channels.spi"
DAbstractSelectionKey.java26 package java.nio.channels.spi;
28 import java.nio.channels.*;
/libcore/luni/src/test/java/libcore/java/io/
DInterruptedStreamTest.java30 import java.nio.channels.ClosedByInterruptException;
31 import java.nio.channels.ClosedChannelException;
32 import java.nio.channels.Pipe;
33 import java.nio.channels.ReadableByteChannel;
34 import java.nio.channels.ServerSocketChannel;
35 import java.nio.channels.SocketChannel;
36 import java.nio.channels.WritableByteChannel;
/libcore/ojluni/src/main/java/java/nio/channels/
DSelectableChannel.java26 package java.nio.channels;
29 import java.nio.channels.spi.AbstractInterruptibleChannel;
30 import java.nio.channels.spi.SelectorProvider;
DServerSocketChannel.java26 package java.nio.channels;
32 import java.nio.channels.spi.AbstractSelectableChannel;
33 import java.nio.channels.spi.SelectorProvider;
DTEST_MAPPING7 "include-filter": "libcore.java.nio.channels"
10 "include-filter": "org.apache.harmony.tests.java.nio.channels"
/libcore/ojluni/src/main/java/sun/nio/ch/
DPort.java28 import java.nio.channels.spi.AsynchronousChannelProvider;
29 import java.nio.channels.*;
150 PollableChannel channels[] = new PollableChannel[MAX_BATCH_SIZE]; in closeAllChannels() local
158 channels[count++] = fdToChannel.get(fd); in closeAllChannels()
169 channels[i].close(); in closeAllChannels()
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/
DAsynchronousChannelProviderTest.java17 package libcore.java.nio.channels.spi;
21 import java.nio.channels.AsynchronousChannelGroup;
22 import java.nio.channels.spi.AsynchronousChannelProvider;

12345678910