Home
last modified time | relevance | path

Searched refs:validOps (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
DPipe.java82 public final int validOps() { in validOps() method in Pipe.SourceChannel
116 public final int validOps() { in validOps() method in Pipe.SinkChannel
DSelectableChannel.java118 public abstract int validOps(); in validOps() method in SelectableChannel
DServerSocketChannel.java121 public final int validOps() { in validOps() method in ServerSocketChannel
DDatagramChannel.java195 public final int validOps() { in validOps() method in DatagramChannel
DSocketChannel.java213 public final int validOps() { in validOps() method in SocketChannel
/libcore/ojluni/src/main/java/sun/nio/ch/
DSelChImpl.java67 int validOps(); in validOps() method
DSelectionKeyImpl.java102 if ((ops & ~channel().validOps()) != 0) in nioInterestOps()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSelectableChannelTest.java81 public int validOps() { in validOps() method in SelectableChannelTest.MockSelectableChannel
DServerSocketChannelTest.java89 assertEquals(SelectionKey.OP_ACCEPT, this.serverChannel.validOps()); in testValidOps()
90 assertEquals(SelectionKey.OP_ACCEPT, testMSChnl.validOps()); in testValidOps()
91 assertEquals(SelectionKey.OP_ACCEPT, testMSChnlnull.validOps()); in testValidOps()
102 assertEquals(SelectionKey.OP_ACCEPT, testMSChnlnotnull.validOps()); in testOpen()
325 assertEquals(SelectionKey.OP_ACCEPT, this.serverChannel.validOps()); in testChannelBasicStatus()
DSelectionKeyTest.java155 selectionKey.interestOps(~sc.validOps()); in test_interestOpsI()
DSourceChannelTest.java60 assertEquals(SelectionKey.OP_READ, source.validOps()); in test_validOps()
DSinkChannelTest.java64 assertEquals(SelectionKey.OP_WRITE, sink.validOps()); in test_validOps()
DDatagramChannelTest.java112 int val = this.channel1.validOps(); in testValidOps()
114 assertEquals(val, testMock.validOps()); in testValidOps()
115 assertEquals(val, testMocknull.validOps()); in testValidOps()
128 assertEquals(5, testMock.validOps()); in testOpen()
DSocketChannelTest.java122 assertEquals(13, this.channel1.validOps()); in testValidOps()
123 assertEquals(13, testMSChannel.validOps()); in testValidOps()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DOldSocketChannelTest.java106 assertEquals(13, this.channel1.validOps()); in testValidOps()
107 assertEquals(13, testMSChannel.validOps()); in testValidOps()
176 SelectionKey.OP_WRITE), this.channel1.validOps()); in testChannelBasicStatus()
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractSelectableChannel.java198 if ((ops & ~validOps()) != 0) in register()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DAbstractSelectableChannelTest.java308 public int validOps() { in validOps() method in AbstractSelectableChannelTest.MockSelectableChannel