Home
last modified time | relevance | path

Searched refs:MessageReceiver (Results 1 – 25 of 39) sorted by relevance

12

/external/libmojo/mojo/public/cpp/bindings/
Dmessage_filter.h15 class MessageFilter : public MessageReceiver {
19 explicit MessageFilter(MessageReceiver* sink = nullptr);
22 void set_sink(MessageReceiver* sink) { sink_ = sink; } in set_sink()
25 MessageReceiver* sink_;
31 explicit PassThroughFilter(MessageReceiver* sink = nullptr);
Dmessage.h120 class MessageReceiver {
122 virtual ~MessageReceiver() {} in ~MessageReceiver()
130 class MessageReceiverWithResponder : public MessageReceiver {
145 virtual bool AcceptWithResponder(Message* message, MessageReceiver* responder)
152 class MessageReceiverWithStatus : public MessageReceiver {
169 class MessageReceiverWithResponderStatus : public MessageReceiver {
Dpipe_control_message_proxy.h14 class MessageReceiver; variable
20 explicit PipeControlMessageProxy(MessageReceiver* receiver);
27 MessageReceiver* receiver_;
Dconnector.h36 class Connector : public MessageReceiver {
54 void set_incoming_receiver(MessageReceiver* receiver) { in set_incoming_receiver()
178 MessageReceiver* incoming_receiver_;
Dinterface_endpoint_client.h79 MessageReceiver* responder) override;
92 std::map<uint64_t, std::unique_ptr<MessageReceiver>>;
112 class HandleIncomingMessageThunk : public MessageReceiver {
Dmessage_header_validator.h15 explicit MessageHeaderValidator(MessageReceiver* sink = nullptr);
17 MessageReceiver* sink = nullptr);
Dno_interface.h32 explicit NoInterfaceProxy(MessageReceiver* receiver) {} in NoInterfaceProxy()
42 MessageReceiver* responder) override;
/external/libmojo/mojo/public/cpp/bindings/lib/
Dfilter_chain.h22 explicit FilterChain(MessageReceiver* sink = nullptr);
33 void SetSink(MessageReceiver* sink);
39 MessageReceiver* GetHead();
46 MessageReceiver* sink_;
Dfilter_chain.cc14 FilterChain::FilterChain(MessageReceiver* sink) : sink_(sink) { in FilterChain()
36 void FilterChain::SetSink(MessageReceiver* sink) { in SetSink()
43 MessageReceiver* FilterChain::GetHead() { in GetHead()
Dmessage_filter.cc9 MessageFilter::MessageFilter(MessageReceiver* sink) : sink_(sink) { in MessageFilter()
15 PassThroughFilter::PassThroughFilter(MessageReceiver* sink) in PassThroughFilter()
Drouter.h82 MessageReceiver* responder) override;
120 std::map<uint64_t, std::unique_ptr<MessageReceiver>>;
138 class HandleIncomingMessageThunk : public MessageReceiver {
Dmessage_header_validator.cc68 MessageHeaderValidator::MessageHeaderValidator(MessageReceiver* sink) in MessageHeaderValidator()
72 MessageReceiver* sink) in MessageHeaderValidator()
Dpipe_control_message_proxy.cc20 void SendRunOrClosePipeMessage(MessageReceiver* receiver, in SendRunOrClosePipeMessage()
45 PipeControlMessageProxy::PipeControlMessageProxy(MessageReceiver* receiver) in PipeControlMessageProxy()
Dcontrol_message_proxy.cc25 class RunResponseForwardToCallback : public MessageReceiver {
63 MessageReceiver* responder = new RunResponseForwardToCallback(callback); in SendRunMessage()
Dinterface_endpoint_client.cc207 MessageReceiver* responder) { in AcceptWithResponder()
235 std::unique_ptr<MessageReceiver> sync_responder(responder); in AcceptWithResponder()
303 std::unique_ptr<MessageReceiver> responder = std::move(it->second); in HandleValidatedMessage()
Drouter.cc149 bool Router::AcceptWithResponder(Message* message, MessageReceiver* responder) { in AcceptWithResponder()
172 std::unique_ptr<MessageReceiver> sync_responder(responder); in AcceptWithResponder()
284 std::unique_ptr<MessageReceiver> responder = std::move(it->second); in HandleMessageInternal()
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DRouterImpl.java26 private class HandleIncomingMessageThunk implements MessageReceiver {
50 class ResponderThunk implements MessageReceiver {
102 private Map<Long, MessageReceiver> mResponders = new HashMap<Long, MessageReceiver>();
167 public boolean acceptWithResponder(Message message, MessageReceiver responder) { in acceptWithResponder()
233 MessageReceiver responder; in handleIncomingMessage()
DConnector.java25 public class Connector implements MessageReceiver, HandleOwner<MessagePipeHandle> {
45 private MessageReceiver mIncomingMessageReceiver;
78 public void setIncomingMessageReceiver(MessageReceiver incomingMessageReceiver) { in setIncomingMessageReceiver()
137 MessageReceiver incomingMessageReceiver = mIncomingMessageReceiver; in close()
232 MessagePipeHandle handle, MessageReceiver receiver) { in readAndDispatchMessage()
DMessageReceiverWithResponder.java11 public interface MessageReceiverWithResponder extends MessageReceiver {
20 boolean acceptWithResponder(Message message, MessageReceiver responder); in acceptWithResponder()
DInterfaceControlMessagesHelper.java22 extends SideEffectFreeCloseable implements MessageReceiver {
66 Core core, Manager<I, P> manager, ServiceMessage message, MessageReceiver responder) { in handleRun()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DBindingsTestUtils.java28 implements MessageReceiver {
48 public final List<Pair<Message, MessageReceiver>> messagesWithReceivers =
49 new ArrayList<Pair<Message, MessageReceiver>>();
55 public boolean acceptWithResponder(Message message, MessageReceiver responder) { in acceptWithResponder()
DValidationTest.java106 private static void runTest(String prefix, MessageReceiver messageReceiver) in runTest()
131 private static class RoutingMessageReceiver implements MessageReceiver {
133 private final MessageReceiver mResponse;
136 MessageReceiver response) { in RoutingMessageReceiver()
182 public boolean acceptWithResponder(Message message, MessageReceiver responder) { in acceptWithResponder()
DRouterTest.java115 Pair<Message, MessageReceiver> receivedMessage = in sendMessageToRouter()
128 Pair<Message, MessageReceiver> receivedMessage = in sendResponseFromRouter()
161 for (Pair<Message, MessageReceiver> receivedMessage : in clearAllMessageReceivers()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/test/mojom/mojo/
DIntegrationTestInterfaceTestHelper.java7 import org.chromium.mojo.bindings.MessageReceiver;
27 public static MessageReceiver newIntegrationTestInterfaceMethodCallback() { in newIntegrationTestInterfaceMethodCallback()
/external/libmojo/mojo/public/cpp/bindings/tests/
Drouter_test_util.h26 class MessageAccumulator : public MessageReceiver {
51 MessageReceiver* responder);

12