Searched refs:readyOps (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SelectionKey.java | 212 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/ |
D | SelectionKeyImpl.java | 48 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/ |
D | SelectionKeyTest.java | 85 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()
|
D | SelectorTest.java | 405 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/ |
D | AbstractSelectionKeyTest.java | 72 public int readyOps() { in readyOps() method in AbstractSelectionKeyTest.MockSelectionKey
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 47 assertEquals(SelectionKey.OP_CONNECT, key.readyOps()); in testNonBlockingConnect_immediate() 133 assertEquals(SelectionKey.OP_READ | SelectionKey.OP_WRITE, key.readyOps()); in test_57456()
|
/libcore/api/ |
D | current.txt | 6287 method public abstract int readyOps();
|