Searched refs:OP_WRITE (Results 1 – 14 of 14) sorted by relevance
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SelectionKey.java | 241 public static final int OP_WRITE = 1 << 2; field in SelectionKey 312 return (readyOps() & OP_WRITE) != 0; in isWritable()
|
D | Pipe.java | 117 return SelectionKey.OP_WRITE; in validOps()
|
D | DatagramChannel.java | 197 | SelectionKey.OP_WRITE); in validOps()
|
D | SocketChannel.java | 215 | SelectionKey.OP_WRITE in validOps()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | UnixSelectorTest.java | 79 socketChannel.register(sel2, SelectionKey.OP_WRITE); in testSelectorAcceptAndRead() 96 SelectionKey mkey3 = socketChannel2.register(sel3, SelectionKey.OP_WRITE); in testSelectUnConnectedChannel() 111 …electionKey mkey5 = socketChannel2.register(sel5, SelectionKey.OP_CONNECT | SelectionKey.OP_WRITE); in testSelectUnConnectedChannel()
|
D | SelectionKeyTest.java | 144 selectionKey.interestOps(SelectionKey.OP_WRITE); in test_interestOpsI() 145 assertEquals(SelectionKey.OP_WRITE, selectionKey.interestOps()); in test_interestOpsI() 234 MockSelectionKey mockSelectionKey1 = new MockSelectionKey(SelectionKey.OP_WRITE); in test_isWritable()
|
D | SelectorTest.java | 414 SelectionKey key1 = sc.register(selector, SelectionKey.OP_WRITE); 422 assertEquals(SelectionKey.OP_WRITE, key.readyOps()); 619 sc.register(selector, SelectionKey.OP_WRITE); 626 assertEquals(SelectionKey.OP_WRITE, key.readyOps());
|
D | SinkChannelTest.java | 64 assertEquals(SelectionKey.OP_WRITE, sink.validOps()); in test_validOps()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SinkChannelImpl.java | 131 ((intOps & SelectionKey.OP_WRITE) != 0)) in translateReadyOps() 132 newOps |= SelectionKey.OP_WRITE; in translateReadyOps() 147 if (ops == SelectionKey.OP_WRITE) in translateAndSetInterestOps()
|
D | SocketChannelImpl.java | 987 ((intOps & SelectionKey.OP_WRITE) != 0) && in translateReadyOps() 989 newOps |= SelectionKey.OP_WRITE; in translateReadyOps() 1032 if ((ops & SelectionKey.OP_WRITE) != 0) in translateAndSetInterestOps()
|
D | DatagramChannelImpl.java | 1133 ((intOps & SelectionKey.OP_WRITE) != 0)) in translateReadyOps() 1134 newOps |= SelectionKey.OP_WRITE; in translateReadyOps() 1178 if ((ops & SelectionKey.OP_WRITE) != 0) in translateAndSetInterestOps()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SelectorTest.java | 131 SelectionKey.OP_CONNECT | SelectionKey.OP_READ | SelectionKey.OP_WRITE); in test_57456() 133 assertEquals(SelectionKey.OP_READ | SelectionKey.OP_WRITE, key.readyOps()); in test_57456() 166 sc.register(selector, SelectionKey.OP_READ | SelectionKey.OP_WRITE); in test28318596()
|
D | OldSocketChannelTest.java | 176 SelectionKey.OP_WRITE), this.channel1.validOps()); in testChannelBasicStatus()
|
/libcore/api/ |
D | current.txt | 6292 field public static final int OP_WRITE = 4; // 0x4
|