Home
last modified time | relevance | path

Searched refs:getMojoResult (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
DCoreImpl.java123 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/
DConnector.java230 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()
DExecutorFactory.java127 if (readMessageResult.getMojoResult() == MojoResult.OK) { in readNotifyBufferMessage()
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
DConnectorTest.java78 assertEquals(MojoResult.OK, result.getMojoResult()); in testSendingMessage()
107 mErrorHandler.getLastMojoException().getMojoResult()); in testErrors()
DRouterTest.java69 assertEquals(MojoResult.OK, result.getMojoResult()); in testSendingToRouterWithResponse()
129 assertEquals(MojoResult.OK, result.getMojoResult()); in testReceivingViaRouterWithResponse()
DReadAndDispatchMessageTest.java105 assertEquals(MojoResult.FAILED_PRECONDITION, expected.getMojoResult()); in testReadAndDispatchMessageOnClosedHandle()
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/
DCoreImplTest.java106 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/
DMojoException.java25 public int getMojoResult() { in getMojoResult() method in MojoException
DCore.java116 public int getMojoResult() { in getMojoResult() method in Core.WaitManyResult
DMessagePipeHandle.java156 public int getMojoResult() { in getMojoResult() method in MessagePipeHandle.ReadMessageResult