Searched refs:getMojoResult (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/ |
D | CoreImpl.java | 123 if (result.getMojoResult() != MojoResult.OK) { in createMessagePipe() 124 throw new MojoException(result.getMojoResult()); in createMessagePipe() 145 if (result.getMojoResult() != MojoResult.OK) { in createDataPipe() 146 throw new MojoException(result.getMojoResult()); in createDataPipe() 166 if (result.getMojoResult() != MojoResult.OK) { in createSharedBuffer() 167 throw new MojoException(result.getMojoResult()); in createSharedBuffer() 250 if (result.getMojoResult() != MojoResult.OK && in readMessage() 251 result.getMojoResult() != MojoResult.RESOURCE_EXHAUSTED && in readMessage() 252 result.getMojoResult() != MojoResult.SHOULD_WAIT) { in readMessage() 253 throw new MojoException(result.getMojoResult()); in readMessage() [all …]
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Connector.java | 230 if (result.getMojoResult() != MojoResult.RESOURCE_EXHAUSTED) { in readAndDispatchMessage() 231 return result.getMojoResult(); in readAndDispatchMessage() 236 if (receiver != null && result.getMojoResult() == MojoResult.OK) { in readAndDispatchMessage() 239 return result.getMojoResult(); in readAndDispatchMessage()
|
D | ExecutorFactory.java | 127 if (readMessageResult.getMojoResult() == MojoResult.OK) { in readNotifyBufferMessage()
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | ConnectorTest.java | 78 assertEquals(MojoResult.OK, result.getMojoResult()); in testSendingMessage() 107 mErrorHandler.getLastMojoException().getMojoResult()); in testErrors()
|
D | RouterTest.java | 69 assertEquals(MojoResult.OK, result.getMojoResult()); in testSendingToRouterWithResponse() 129 assertEquals(MojoResult.OK, result.getMojoResult()); in testReceivingViaRouterWithResponse()
|
D | ReadAndDispatchMessageTest.java | 105 assertEquals(MojoResult.FAILED_PRECONDITION, expected.getMojoResult()); in testReadAndDispatchMessageOnClosedHandle()
|
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 106 assertEquals(MojoResult.RESOURCE_EXHAUSTED, result.getMojoResult()); in checkSendingMessage() 113 assertEquals(MojoResult.OK, result.getMojoResult()); in checkSendingMessage() 187 assertEquals(MojoResult.OK, result.getMojoResult()); in testWaitMany() 196 assertEquals(MojoResult.OK, result.getMojoResult()); in testWaitMany() 262 assertEquals(MojoResult.SHOULD_WAIT, result.getMojoResult()); in testMessagePipeEmpty() 317 assertEquals(MojoResult.RESOURCE_EXHAUSTED, result.getMojoResult()); in testMessagePipeReceiveOnSmallBuffer() 508 assertEquals(MojoResult.INVALID_ARGUMENT, e.getMojoResult()); in testInvalidHandle() 521 assertEquals(MojoResult.INVALID_ARGUMENT, e.getMojoResult()); in testInvalidHandle() 540 assertEquals(MojoResult.INVALID_ARGUMENT, e.getMojoResult()); in testInvalidHandle()
|
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | MojoException.java | 25 public int getMojoResult() { in getMojoResult() method in MojoException
|
D | Core.java | 116 public int getMojoResult() { in getMojoResult() method in Core.WaitManyResult
|
D | MessagePipeHandle.java | 156 public int getMojoResult() { in getMojoResult() method in MessagePipeHandle.ReadMessageResult
|