HomeSort by relevance Sort by last modified time
    Searched defs:SelectorProvider (Results 1 - 19 of 19) sorted by null

  /libcore/luni/src/main/java/java/nio/channels/spi/
SelectorProvider.java 30 * {@code SelectorProvider} is an abstract base class that declares methods for
39 public abstract class SelectorProvider {
41 private static SelectorProvider provider = null;
44 * Constructs a new {@code SelectorProvider}.
46 protected SelectorProvider() {
53 * <li> if the system property "java.nio.channels.spi.SelectorProvider" is
57 * "java.nio.channels.spi.SelectorProvider" in META-INF/services of a jar
65 synchronized public static SelectorProvider provider() {
67 provider = ServiceLoader.loadFromSystemProperty(SelectorProvider.class);
78 private static SelectorProvider loadProviderByJar()
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
SelectorProviderTest.java 19 import java.nio.channels.spi.SelectorProvider;
26 * SelectorProvider#openDatagramChannel()
27 * SelectorProvider#openPipe()
28 * SelectorProvider#openServerSocketChannel()
29 * SelectorProvider#openSocketChannel()
30 * SelectorProvider#openSelector()
34 assertNotNull(SelectorProvider.provider());
37 SelectorProvider.provider().inheritedChannel();
39 assertNotNull(SelectorProvider.provider().openDatagramChannel());
40 assertNotNull(SelectorProvider.provider().openPipe())
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectorTest.java 24 import java.nio.channels.spi.SelectorProvider;
37 Selector mockSelector = new MockAbstractSelector(SelectorProvider
40 assertSame(SelectorProvider.provider(), mockSelector.provider());
50 SelectorProvider.provider());
61 SelectorProvider.provider());
68 mockSelector = new MockAbstractSelector(SelectorProvider.provider());
104 Selector acceptSelector = SelectorProvider.provider().openSelector();
114 Selector acceptSelector = SelectorProvider.provider().openSelector();
130 Selector acceptSelector = SelectorProvider.provider().openSelector();
AbstractSelectableChannelTest.java 28 import java.nio.channels.spi.SelectorProvider;
41 testChannel = new MockSelectableChannel(SelectorProvider.provider());
61 testChannel = new MockSelectableChannel(SelectorProvider.provider());
77 SelectorProvider provider = testChannel.provider();
78 assertSame(SelectorProvider.provider(), provider);
109 Selector acceptSelector1 = SelectorProvider.provider().openSelector();
110 Selector acceptSelector2 = new MockAbstractSelector(SelectorProvider
139 Selector acceptSelector = SelectorProvider.provider().openSelector();
141 MockSelectableChannel msc = new MockSelectableChannel(SelectorProvider
179 acceptSelector = SelectorProvider.provider().openSelector()
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldServerSocketChannelTest.java 26 import java.nio.channels.spi.SelectorProvider;
67 SelectorProvider.provider().openServerSocketChannel();
69 assertSame(SelectorProvider.provider(),channel.provider());
OldSocketChannelTest.java 36 import java.nio.channels.spi.SelectorProvider;
93 SelectorProvider.provider().openSocketChannel();
95 assertSame(SelectorProvider.provider(), channel.provider());
98 assertSame(SelectorProvider.provider(), channel.provider());
100 SelectorProvider.provider());
115 SelectorProvider.provider());
120 assertEquals(SelectorProvider.provider(), testSChannel.provider());
177 assertEquals(SelectorProvider.provider(), this.channel1.provider());
353 public MockSocketChannel(SelectorProvider provider) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SelectorTest.java 30 import java.nio.channels.spi.SelectorProvider;
98 assertSame(SelectorProvider.provider(), selector.provider());
ServerSocketChannelTest.java 34 import java.nio.channels.spi.SelectorProvider;
95 SelectorProvider.provider());
108 SelectorProvider.provider());
199 assertEquals(SelectorProvider.provider(), this.serverChannel.provider());
  /libcore/luni/src/main/java/java/nio/
DatagramChannelImpl.java 37 import java.nio.channels.spi.SelectorProvider;
73 protected DatagramChannelImpl(SelectorProvider selectorProvider) throws IOException {
74 super(selectorProvider);
83 super(SelectorProvider.provider());
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 

Completed in 336 milliseconds