Searched refs:mMessageReceiver (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
D | ReadAndDispatchMessageTest.java | 47 private RecordingMessageReceiver mMessageReceiver; field in ReadAndDispatchMessageTest 56 mMessageReceiver = new RecordingMessageReceiver(); in setUp() 82 Connector.readAndDispatchMessage(mHandles.second, mMessageReceiver) in testReadAndDispatchMessage() 84 Assert.assertEquals(1, mMessageReceiver.messages.size()); in testReadAndDispatchMessage() 85 Message message = mMessageReceiver.messages.get(0); in testReadAndDispatchMessage() 102 Connector.readAndDispatchMessage(mHandles.second, mMessageReceiver) in testReadAndDispatchMessageOnEmptyHandle() 104 Assert.assertEquals(0, mMessageReceiver.messages.size()); in testReadAndDispatchMessageOnEmptyHandle() 116 Connector.readAndDispatchMessage(mHandles.second, mMessageReceiver); in testReadAndDispatchMessageOnClosedHandle() 121 Assert.assertEquals(0, mMessageReceiver.messages.size()); in testReadAndDispatchMessageOnClosedHandle()
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Interface.java | 106 private final MessageReceiverWithResponder mMessageReceiver; field in Interface.AbstractProxy.HandlerImpl 126 this.mMessageReceiver = messageReceiver; in HandlerImpl() 137 return mMessageReceiver; in getMessageReceiver() 170 mMessageReceiver.close(); in close() 180 (HandleOwner<MessagePipeHandle>) mMessageReceiver; in passHandle() 201 InterfaceControlMessagesHelper.sendRunMessage(getCore(), mMessageReceiver, message, in queryVersion() local 229 getCore(), mMessageReceiver, message); in requireVersion() local 331 private final MessageReceiverWithResponder mMessageReceiver; field in Interface.ThreadSafeForwarder 345 mMessageReceiver = messageReceiver; in ThreadSafeForwarder() 355 mMessageReceiver.close(); in close() [all …]
|
/external/libchrome/libchrome_tools/patch/ |
D | mojo-Add-a-way-to-create-thread-safe-interfaces-in-Java.patch | 48 + private final MessageReceiverWithResponder mMessageReceiver; 62 + mMessageReceiver = messageReceiver; 72 + mMessageReceiver.close(); 82 + mMessageReceiver.accept(message); 93 + mMessageReceiver.acceptWithResponder(message, responder);
|
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/ |
D | interface_definition.tmpl | 260 private final org.chromium.mojo.bindings.MessageReceiver mMessageReceiver; 268 mMessageReceiver = messageReceiver; 285 mMessageReceiver.accept(_message);
|