Searched refs:OP_CONNECT (Results 1 – 10 of 10) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectionKeyTest.java | 47 selectionKey = sc.register(selector, SelectionKey.OP_CONNECT); in setUp() 137 assertEquals(SelectionKey.OP_CONNECT, selectionKey.interestOps()); in test_interestOps() 206 MockSelectionKey mockSelectionKey2 = new MockSelectionKey(SelectionKey.OP_CONNECT); in test_isAcceptable() 214 MockSelectionKey mockSelectionKey1 = new MockSelectionKey(SelectionKey.OP_CONNECT); in test_isConnectable() 278 selectionKey.interestOps(SelectionKey.OP_CONNECT); in test_cancel() 302 assertEquals(SelectionKey.OP_CONNECT, selectionKey.readyOps()); in test_readyOps()
|
D | UnixSelectorTest.java | 105 SelectionKey mkey4 = socketChannel2.register(sel4, SelectionKey.OP_CONNECT); in testSelectUnConnectedChannel() 111 …SelectionKey mkey5 = socketChannel2.register(sel5, SelectionKey.OP_CONNECT | SelectionKey.OP_WRITE… in testSelectUnConnectedChannel()
|
D | SelectorTest.java | 396 sc.register(selector, SelectionKey.OP_CONNECT); 405 assertEquals(SelectionKey.OP_CONNECT, key.readyOps()); 445 channel.register(selector, SelectionKey.OP_CONNECT); 505 sc.register(selector, SelectionKey.OP_CONNECT); 514 assertEquals(SelectionKey.OP_CONNECT, key.readyOps());
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SelectionKey.java | 254 public static final int OP_CONNECT = 1 << 3; field in SelectionKey 336 return (readyOps() & OP_CONNECT) != 0; in isConnectable()
|
D | SocketChannel.java | 216 | SelectionKey.OP_CONNECT); in validOps()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 45 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT); in testNonBlockingConnect_immediate() 47 assertEquals(SelectionKey.OP_CONNECT, key.readyOps()); in testNonBlockingConnect_immediate() 131 SelectionKey.OP_CONNECT | SelectionKey.OP_READ | SelectionKey.OP_WRITE); in test_57456()
|
D | OldSocketChannelTest.java | 175 assertEquals((SelectionKey.OP_CONNECT | SelectionKey.OP_READ | in testChannelBasicStatus()
|
D | SocketChannelTest.java | 79 SelectionKey selectionKey = sc.register(selector, SelectionKey.OP_CONNECT); in test_56684()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SocketChannelImpl.java | 980 ((intOps & SelectionKey.OP_CONNECT) != 0) && in translateReadyOps() 982 newOps |= SelectionKey.OP_CONNECT; in translateReadyOps() 1034 if ((ops & SelectionKey.OP_CONNECT) != 0) in translateAndSetInterestOps()
|
D | DatagramChannelImpl.java | 1180 if ((ops & SelectionKey.OP_CONNECT) != 0) in translateAndSetInterestOps()
|