Searched refs:OP_READ (Results 1 – 13 of 13) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | AbstractSelectableChannelTest.java | 115 SelectionKey.OP_READ, null); in test_register_LSelectorILObject() 121 acceptKey = sc.register(acceptSelector2, SelectionKey.OP_READ, null); in test_register_LSelectorILObject() 147 msc.register(acceptSelector, SelectionKey.OP_READ, null); in test_register_LSelectorILObject_IllegalArgument() 161 msc.register(acceptSelector, SelectionKey.OP_READ, null); in test_register_LSelectorILObject_IllegalArgument() 183 msc.register(acceptSelector, SelectionKey.OP_READ, null); in test_register_LSelectorILObject_IllegalArgument() 197 msc.register(acceptSelector, SelectionKey.OP_READ, null); in test_register_LSelectorILObject_IllegalArgument() 214 sc.register(null, SelectionKey.OP_READ, argObj); in test_register_LSelectorILObject_IllegalArgument() 223 msc.register(acceptSelector, SelectionKey.OP_READ, null); in test_register_LSelectorILObject_IllegalArgument() 242 SelectionKey.OP_READ, argObj); in test_keyfor_LSelector() 245 SelectionKey.OP_READ, null); in test_keyfor_LSelector() [all …]
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SelectionKey.java | 228 public static final int OP_READ = 1 << 0; field in SelectionKey 289 return (readyOps() & OP_READ) != 0; in isReadable()
|
D | Pipe.java | 83 return SelectionKey.OP_READ; in validOps()
|
D | DatagramChannel.java | 196 return (SelectionKey.OP_READ in validOps()
|
D | SocketChannel.java | 214 return (SelectionKey.OP_READ in validOps()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SourceChannelImpl.java | 132 ((intOps & SelectionKey.OP_READ) != 0)) in translateReadyOps() 133 newOps |= SelectionKey.OP_READ; in translateReadyOps() 148 if (ops == SelectionKey.OP_READ) in translateAndSetInterestOps()
|
D | SocketChannelImpl.java | 975 ((intOps & SelectionKey.OP_READ) != 0) && in translateReadyOps() 977 newOps |= SelectionKey.OP_READ; in translateReadyOps() 1030 if ((ops & SelectionKey.OP_READ) != 0) in translateAndSetInterestOps()
|
D | DatagramChannelImpl.java | 1129 ((intOps & SelectionKey.OP_READ) != 0)) in translateReadyOps() 1130 newOps |= SelectionKey.OP_READ; in translateReadyOps() 1176 if ((ops & SelectionKey.OP_READ) != 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 | 175 assertEquals((SelectionKey.OP_CONNECT | SelectionKey.OP_READ | in testChannelBasicStatus()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectorTest.java | 118 SelectionKey key3 = sc.register(selector, SelectionKey.OP_READ); in test_keys() 339 SelectionKey key2 = sc.register(selector, SelectionKey.OP_READ); 363 final SelectionKey key = pipe.source().register(selector, SelectionKey.OP_READ); 548 sc.register(selector, SelectionKey.OP_READ); 554 sc2.register(selector, SelectionKey.OP_READ); 564 assertEquals(SelectionKey.OP_READ, key.readyOps());
|
D | SelectionKeyTest.java | 224 MockSelectionKey mockSelectionKey1 = new MockSelectionKey(SelectionKey.OP_READ); in test_isReadable()
|
D | SourceChannelTest.java | 60 assertEquals(SelectionKey.OP_READ, source.validOps()); in test_validOps()
|