Home
last modified time | relevance | path

Searched refs:readyOps (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
DSelectionKey.java212 public abstract int readyOps(); in readyOps() method in SelectionKey
289 return (readyOps() & OP_READ) != 0; in isReadable()
312 return (readyOps() & OP_WRITE) != 0; in isWritable()
336 return (readyOps() & OP_CONNECT) != 0; in isConnectable()
360 return (readyOps() & OP_ACCEPT) != 0; in isAcceptable()
/libcore/ojluni/src/main/java/sun/nio/ch/
DSelectionKeyImpl.java48 private int readyOps; field in SelectionKeyImpl
86 public int readyOps() { in readyOps() method in SelectionKeyImpl
88 return readyOps; in readyOps()
95 readyOps = ops; in nioReadyOps()
99 return readyOps; in nioReadyOps()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectionKeyTest.java85 public int readyOps() { in readyOps() method in SelectionKeyTest.MockSelectionKey
271 selectionKey.readyOps(); in test_cancel()
299 assertEquals(0, selectionKey.readyOps()); in test_readyOps()
302 assertEquals(SelectionKey.OP_CONNECT, selectionKey.readyOps()); in test_readyOps()
DSelectorTest.java405 assertEquals(SelectionKey.OP_CONNECT, key.readyOps());
422 assertEquals(SelectionKey.OP_WRITE, key.readyOps());
480 assertEquals(SelectionKey.OP_ACCEPT, key.readyOps());
514 assertEquals(SelectionKey.OP_CONNECT, key.readyOps());
564 assertEquals(SelectionKey.OP_READ, key.readyOps());
626 assertEquals(SelectionKey.OP_WRITE, key.readyOps());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DAbstractSelectionKeyTest.java72 public int readyOps() { in readyOps() method in AbstractSelectionKeyTest.MockSelectionKey
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java47 assertEquals(SelectionKey.OP_CONNECT, key.readyOps()); in testNonBlockingConnect_immediate()
133 assertEquals(SelectionKey.OP_READ | SelectionKey.OP_WRITE, key.readyOps()); in test_57456()
/libcore/api/
Dcurrent.txt6287 method public abstract int readyOps();