Searched refs:getMojoResult (Results 1 – 10 of 10) sorted by relevance
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/ |
D | CoreImpl.java | 118 if (result.getMojoResult() != MojoResult.INVALID_ARGUMENT in waitMany() 119 && result.getMojoResult() != MojoResult.RESOURCE_EXHAUSTED) { in waitMany() 161 if (result.getMojoResult() != MojoResult.OK) { in createMessagePipe() 162 throw new MojoException(result.getMojoResult()); in createMessagePipe() 183 if (result.getMojoResult() != MojoResult.OK) { in createDataPipe() 184 throw new MojoException(result.getMojoResult()); in createDataPipe() 204 if (result.getMojoResult() != MojoResult.OK) { in createSharedBuffer() 205 throw new MojoException(result.getMojoResult()); in createSharedBuffer() 313 if (result.getMojoResult() != MojoResult.OK in readMessage() 314 && result.getMojoResult() != MojoResult.RESOURCE_EXHAUSTED in readMessage() [all …]
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Connector.java | 210 if (result.getMojoResult() == MojoResult.SHOULD_WAIT) { in readOutstandingMessages() 213 onError(new MojoException(result.getMojoResult())); in readOutstandingMessages() 236 if (result.getMojoResult() != MojoResult.RESOURCE_EXHAUSTED) { in readAndDispatchMessage() 237 return new ResultAnd<Boolean>(result.getMojoResult(), false); in readAndDispatchMessage() 244 if (receiver != null && result.getMojoResult() == MojoResult.OK) { in readAndDispatchMessage() 246 return new ResultAnd<Boolean>(result.getMojoResult(), accepted); in readAndDispatchMessage() 248 return new ResultAnd<Boolean>(result.getMojoResult(), false); in readAndDispatchMessage()
|
D | ExecutorFactory.java | 128 if (readMessageResult.getMojoResult() == MojoResult.OK) { in readNotifyBufferMessage()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 112 assertEquals(MojoResult.RESOURCE_EXHAUSTED, result.getMojoResult()); in checkSendingMessage() 119 assertEquals(MojoResult.OK, result.getMojoResult()); in checkSendingMessage() 138 assertEquals(MojoResult.OK, result.getMojoResult()); in checkSendingData() 143 assertEquals(MojoResult.OK, readResult.getMojoResult()); in checkSendingData() 149 assertEquals(MojoResult.OK, readResult.getMojoResult()); in checkSendingData() 159 assertEquals(MojoResult.OK, readResult.getMojoResult()); in checkSendingData() 207 assertEquals(MojoResult.OK, result.getMojoResult()); in testWaitMany() 221 assertEquals(MojoResult.OK, result.getMojoResult()); in testWaitMany() 283 assertEquals(MojoResult.OK, waitResult.getMojoResult()); in testMessagePipeEmpty() 289 assertEquals(MojoResult.OK, waitResult.getMojoResult()); in testMessagePipeEmpty() [all …]
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | ReadAndDispatchMessageTest.java | 72 mMessageReceiver).getMojoResult()); in testReadAndDispatchMessage() 90 mMessageReceiver).getMojoResult()); in testReadAndDispatchMessageOnEmptyHandle() 105 assertEquals(MojoResult.FAILED_PRECONDITION, expected.getMojoResult()); in testReadAndDispatchMessageOnClosedHandle()
|
D | RouterTest.java | 71 assertEquals(MojoResult.OK, result.getMojoResult()); in testSendingToRouterWithResponse() 144 assertEquals(MojoResult.OK, result.getMojoResult()); in sendResponseFromRouter() 231 assertEquals(MojoResult.OK, result.getMojoResult()); in testDroppingReceiverWithoutUsingIt()
|
D | ConnectorTest.java | 77 assertEquals(MojoResult.OK, result.getMojoResult()); in testSendingMessage() 106 mErrorHandler.getLastMojoException().getMojoResult()); in testErrors()
|
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | Core.java | 158 public int getMojoResult() { in getMojoResult() method in Core.WaitResult 219 public int getMojoResult() { in getMojoResult() method in Core.WaitManyResult
|
D | ResultAnd.java | 24 public int getMojoResult() { in getMojoResult() method in ResultAnd
|
D | MojoException.java | 33 public int getMojoResult() { in getMojoResult() method in MojoException
|