Home
last modified time | relevance | path

Searched refs:interestOps (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DSelectionKeyImpl.java47 private volatile int interestOps; field in SelectionKeyImpl
76 public int interestOps() { in interestOps() method in SelectionKeyImpl
78 return interestOps; in interestOps()
81 public SelectionKey interestOps(int ops) { in interestOps() method in SelectionKeyImpl
106 interestOps = ops; in nioInterestOps()
111 return interestOps; in nioInterestOps()
DSelectorImpl.java134 k.interestOps(ops); in register()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectionKeyTest.java59 private int interestOps; field in SelectionKeyTest.MockSelectionKey
62 interestOps = ops; in MockSelectionKey()
73 public int interestOps() { in interestOps() method in SelectionKeyTest.MockSelectionKey
77 public SelectionKey interestOps(int operations) { in interestOps() method in SelectionKeyTest.MockSelectionKey
86 return interestOps; in readyOps()
137 assertEquals(SelectionKey.OP_CONNECT, selectionKey.interestOps()); in test_interestOps()
144 selectionKey.interestOps(SelectionKey.OP_WRITE); in test_interestOpsI()
145 assertEquals(SelectionKey.OP_WRITE, selectionKey.interestOps()); in test_interestOpsI()
148 selectionKey.interestOps(SelectionKey.OP_ACCEPT); in test_interestOpsI()
155 selectionKey.interestOps(~sc.validOps()); in test_interestOpsI()
[all …]
/libcore/ojluni/src/main/java/java/nio/channels/
DSelectionKey.java179 public abstract int interestOps(); in interestOps() method in SelectionKey
199 public abstract SelectionKey interestOps(int ops); in interestOps() method in SelectionKey
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DAbstractSelectionKeyTest.java64 public int interestOps() { in interestOps() method in AbstractSelectionKeyTest.MockSelectionKey
68 public SelectionKey interestOps(int arg0) { in interestOps() method in AbstractSelectionKeyTest.MockSelectionKey
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectableChannel.java204 k.interestOps(ops); in register()