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

  /libcore/luni/src/test/java/libcore/java/nio/channels/
ServerSocketChannelTest.java 24 ServerSocketChannel ssc = ServerSocketChannel.open(); local
26 ssc.configureBlocking(false);
27 ssc.socket().bind(null);
29 assertNull(ssc.accept());
31 ssc.close();
SelectorTest.java 38 ServerSocketChannel ssc = ServerSocketChannel.open(); local
40 ssc.configureBlocking(false);
41 ssc.socket().bind(null);
45 sc.connect(ssc.socket().getLocalSocketAddress());
52 ssc.close();
146 ServerSocketChannel ssc = ServerSocketChannel.open(); local
150 ssc.configureBlocking(false);
151 ssc.socket().bind(null);
153 sc.connect(ssc.socket().getLocalSocketAddress());
160 ssc.accept().write(ByteBuffer.allocate(128))
    [all...]
OldSocketChannelTest.java 285 final ServerSocketChannel ssc = ServerSocketChannel.open(); local
286 ssc.socket().bind(null, 0);
295 ssc.accept().write(buf);
305 sc.connect(ssc.socket().getLocalSocketAddress());
321 sc.connect(ssc.socket().getLocalSocketAddress());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectorTest.java 115 ServerSocketChannel ssc = ServerSocketChannel.open(); local
116 ssc.configureBlocking(false);
118 assertFalse(ssc.isRegistered());
119 SelectionKey acceptKey = ssc.register(acceptSelector,
121 assertTrue(ssc.isRegistered());
131 ServerSocketChannel ssc = ServerSocketChannel.open(); local
132 ssc.configureBlocking(false);
137 ssc.register(acceptSelector, SelectionKey.OP_ACCEPT);
142 assertFalse(ssc.isRegistered());
145 ssc.configureBlocking(true)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
SelectorTest.java 46 private ServerSocketChannel ssc; field in class:SelectorTest
54 ssc = ServerSocketChannel.open();
55 ssc.configureBlocking(false);
56 ServerSocket ss = ssc.socket();
64 ssc.close();
105 SelectionKey key = ssc.register(selector, SelectionKey.OP_ACCEPT);
152 ssc.register(selector, SelectionKey.OP_ACCEPT);
163 assertEquals(ssc.keyFor(selector), selectedKeys.iterator().next());
166 selectedKeys.add(ssc.keyFor(selector));
178 ssc.keyFor(selector).cancel()
    [all...]
SinkChannelTest.java 465 ServerSocketChannel ssc = ServerSocketChannel.open(); local
466 ssc.socket().bind(new InetSocketAddress(InetAddress.getLocalHost(),49999));
476 SocketChannel sock = ssc.accept();
477 ssc.close();
489 ServerSocketChannel ssc = ServerSocketChannel.open(); local
490 ssc.socket().bind(new InetSocketAddress(InetAddress.getLocalHost(),49999));
493 SocketChannel sock = ssc.accept();
500 ssc.close();
ChannelsTest.java 595 ServerSocketChannel ssc = ServerSocketChannel.open(); local
596 ssc.socket().bind(localAddr);
603 ssc.accept().close();
604 ssc.close();
SocketChannelTest.java 2736 ServerSocketChannel ssc = ServerSocketChannel.open(); local
2762 ServerSocketChannel ssc = ServerSocketChannel.open(); local
2800 ServerSocketChannel ssc = ServerSocketChannel.open(); local
3061 ServerSocketChannel ssc = ServerSocketChannel.open(); local
3077 ServerSocketChannel ssc = ServerSocketChannel.open(); local
3100 ServerSocketChannel ssc = ServerSocketChannel.open(); local
3123 ServerSocketChannel ssc = ServerSocketChannel.open(); local
3149 ServerSocketChannel ssc = ServerSocketChannel.open(); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldServerSocketTest.java 224 ServerSocketChannel ssc = ServerSocketChannel.open(); local
225 ServerSocket ss = ssc.socket();
234 ssc.close();
SocketTest.java 90 ServerSocketChannel ssc = ServerSocketChannel.open(); local
92 ssc.socket().bind(listenAddr, 0);
93 ServerSocket ss = ssc.socket();
101 InetSocketAddress addr = new InetSocketAddress(host, ssc.socket().getLocalPort());
107 SocketChannel in = ssc.accept();
132 ssc.close();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/luni/tests/java/util/
ScannerTest.java 335 ServerSocketChannel ssc = ServerSocketChannel.open(); local
336 ssc.socket().bind(null);
339 sc.connect(ssc.socket().getLocalSocketAddress());
343 ssc.accept().close();
344 ssc.close();
    [all...]
  /prebuilts/tools/common/m2/internal/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar 

Completed in 124 milliseconds