Searched refs:ops (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
H A DSelectableChannel.java150 * but its {@link SelectionKey interest set} is updated to {@code ops} and
162 * @param ops
170 * if {@code ops} is not supported by this channel.
179 public abstract SelectionKey register(Selector sel, int ops, Object att) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSelectableChannelTest.java73 public SelectionKey register(Selector sel, int ops, Object att) argument
H A DSelectionKeyTest.java61 MockSelectionKey(int ops) { argument
62 interestOps = ops;
/libcore/luni/src/main/java/java/nio/
H A DSelectorImpl.java57 * Used to synchronize when a key's interest ops change.
236 * Updates the key ready ops and selected key set.
261 int ops = key.interestOpsNoCheck();
266 selectedOps |= ops;
269 selectedOps |= ops & (OP_ACCEPT | OP_READ);
273 selectedOps |= ops & OP_WRITE;
275 selectedOps |= ops & OP_CONNECT;

Completed in 101 milliseconds