Searched defs:sc (Results 1 - 1 of 1) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
H A DSelectionKeyTest.java38 SocketChannel sc; field in class:SelectionKeyTest
47 sc = SocketChannel.open();
48 sc.configureBlocking(false);
49 selectionKey = sc.register(selector, SelectionKey.OP_CONNECT);
129 assertSame(sc, selectionKey.channel());
132 assertSame(sc, selectionKey.channel());
157 selectionKey.interestOps(~sc.validOps());
190 sc.close();
301 sc.connect(new InetSocketAddress(LOCAL_ADDR, port));

Completed in 230 milliseconds