/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | DataPipe.java | 147 public static class ReadFlags extends Flags<ReadFlags> { class 156 public static final ReadFlags NONE = ReadFlags.none().immutable(); 163 private ReadFlags(int flags) { in ReadFlags() method in DataPipe.ReadFlags 174 public ReadFlags setAllOrNone(boolean allOrNone) { in setAllOrNone() 185 public ReadFlags query(boolean query) { in query() 197 public ReadFlags peek(boolean peek) { in peek() 204 public static ReadFlags none() { in none() 205 return new ReadFlags(FLAG_NONE); in none() 291 public int discardData(int numBytes, ReadFlags flags); in discardData() 304 public ResultAnd<Integer> readData(ByteBuffer elements, ReadFlags flags); in readData() [all …]
|
D | MessagePipeHandle.java | 91 public static class ReadFlags extends Flags<ReadFlags> { class 98 public static final ReadFlags NONE = ReadFlags.none().immutable(); 105 private ReadFlags(int flags) { in ReadFlags() method in MessagePipeHandle.ReadFlags 117 public ReadFlags setMayDiscard(boolean mayDiscard) { in setMayDiscard() 124 public static ReadFlags none() { in none() 125 return new ReadFlags(FLAG_NONE); in none() 223 ByteBuffer bytes, int maxNumberOfHandles, ReadFlags flags); in readMessage()
|
D | InvalidHandle.java | 173 public int discardData(int numBytes, DataPipe.ReadFlags flags) { in discardData() 181 public ResultAnd<Integer> readData(ByteBuffer elements, DataPipe.ReadFlags flags) { in readData() 190 DataPipe.ReadFlags flags) { in beginReadData() 216 ByteBuffer bytes, int maxNumberOfHandles, ReadFlags flags) { in readMessage()
|
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/ |
D | DataPipeConsumerHandleImpl.java | 8 import org.chromium.mojo.system.DataPipe.ReadFlags; 44 public int discardData(int numBytes, ReadFlags flags) { in discardData() 52 public ResultAnd<Integer> readData(ByteBuffer elements, ReadFlags flags) { in readData() 60 public ByteBuffer beginReadData(int numBytes, ReadFlags flags) { in beginReadData()
|
D | MessagePipeHandleImpl.java | 54 ByteBuffer bytes, int maxNumberOfHandles, ReadFlags flags) { in readMessage()
|
D | CoreImpl.java | 306 ByteBuffer bytes, int maxNumberOfHandles, MessagePipeHandle.ReadFlags flags) { in readMessage() 340 int discardData(DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) { in discardData() 353 DataPipeConsumerHandleImpl handle, ByteBuffer elements, DataPipe.ReadFlags flags) { in readData() 372 DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) { in beginReadData()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/ |
D | HandleMock.java | 92 public int discardData(int numBytes, DataPipe.ReadFlags flags) { in discardData() 101 public ResultAnd<Integer> readData(ByteBuffer elements, DataPipe.ReadFlags flags) { in readData() 111 DataPipe.ReadFlags flags) { in beginReadData() 166 ByteBuffer bytes, int maxNumberOfHandles, ReadFlags flags) { in readMessage()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 111 out.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in checkSendingMessage() 118 result = out.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in checkSendingMessage() 142 ResultAnd<Integer> readResult = out.readData(null, DataPipe.ReadFlags.none().query(true)); in checkSendingData() 148 readResult = out.readData(peekBuffer, DataPipe.ReadFlags.none().peek(true)); in checkSendingData() 158 readResult = out.readData(receiveBuffer, DataPipe.ReadFlags.NONE); in checkSendingData() 302 handles.first.readMessage(null, 0, MessagePipeHandle.ReadFlags.NONE); in testMessagePipeEmpty() 361 handles.second.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in testMessagePipeReceiveOnSmallBuffer() 382 handles.second.readMessage(null, 1, MessagePipeHandle.ReadFlags.NONE); in testMessagePipeSendHandles() 449 handles.second.beginReadData(bytes.length, DataPipe.ReadFlags.NONE); in testDataPipeTwoPhaseSend() 480 handles.second.discardData(nbBytesToDiscard, DataPipe.ReadFlags.NONE)); in testDataPipeDiscard() [all …]
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Connector.java | 235 handle.readMessage(null, 0, MessagePipeHandle.ReadFlags.NONE); in readAndDispatchMessage() 243 buffer, readResult.getHandlesCount(), MessagePipeHandle.ReadFlags.NONE); in readAndDispatchMessage()
|
D | ExecutorFactory.java | 127 mReadHandle.readMessage(NOTIFY_BUFFER, 0, MessagePipeHandle.ReadFlags.NONE); in readNotifyBufferMessage()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | RouterTest.java | 69 mHandle.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in testSendingToRouterWithResponse() 142 mHandle.readMessage(receivedResponseMessage, 0, MessagePipeHandle.ReadFlags.NONE); in sendResponseFromRouter()
|
D | ConnectorTest.java | 76 mHandle.readMessage(received, 0, MessagePipeHandle.ReadFlags.NONE); in testSendingMessage()
|