Home
last modified time | relevance | path

Searched refs:routing_id (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/ipc/
Dmessage_router.cc27 bool MessageRouter::AddRoute(int32_t routing_id, IPC::Listener* listener) { in AddRoute() argument
28 if (routes_.Lookup(routing_id)) { in AddRoute()
32 routes_.AddWithID(listener, routing_id); in AddRoute()
36 void MessageRouter::RemoveRoute(int32_t routing_id) { in RemoveRoute() argument
37 routes_.Remove(routing_id); in RemoveRoute()
40 Listener* MessageRouter::GetRoute(int32_t routing_id) { in GetRoute() argument
41 return routes_.Lookup(routing_id); in GetRoute()
45 if (msg.routing_id() == MSG_ROUTING_CONTROL) in OnMessageReceived()
52 IPC::Listener* listener = routes_.Lookup(msg.routing_id()); in RouteMessage()
Dmessage_router.h57 bool AddRoute(int32_t routing_id, Listener* listener); in COMPONENT_EXPORT()
60 void RemoveRoute(int32_t routing_id); in COMPONENT_EXPORT()
63 Listener* GetRoute(int32_t routing_id); in COMPONENT_EXPORT()
Dipc_sync_message.cc23 SyncMessage::SyncMessage(int32_t routing_id, in SyncMessage() argument
27 : Message(routing_id, type, priority), in SyncMessage()
74 Message* reply = new Message(msg->routing_id(), IPC_REPLY_ID, in GenerateReply()
Dipc_message_templates.h129 MessageT(int32_t routing_id, const Ins&... ins) in MessageT() argument
130 : MessageT(Routing(routing_id), ins...) { in MessageT()
176 MessageT(int32_t routing_id, const Ins&... ins, Outs*... outs) in MessageT() argument
177 : MessageT(Routing(routing_id), ins..., outs...) { in MessageT()
Dipc_logging.cc257 data.routing_id, in Log()
300 data->routing_id = message.routing_id(); in GenerateLogData()
Dipc_message.cc59 Message::Message(int32_t routing_id, uint32_t type, PriorityValue priority) in Message() argument
61 header()->routing = routing_id; in Message()
Dipc_channel_reader.cc78 return m.routing_id() == MSG_ROUTING_NONE && in IsInternalMessage()
84 return m.routing_id() == MSG_ROUTING_NONE && in IsHelloMessage()
Dipc_message.h65 Message(int32_t routing_id, uint32_t type, PriorityValue priority);
141 int32_t routing_id() const { in routing_id() function
Dipc_sync_message.h31 SyncMessage(int32_t routing_id,
Dsync_socket_unittest.cc68 if (msg.routing_id() == MSG_ROUTING_CONTROL) { in OnMessageReceived()
132 if (msg.routing_id() == MSG_ROUTING_CONTROL) { in OnMessageReceived()
Dipc_message_utils_unittest.cc47 EXPECT_EQ(nested_msg.routing_id(), result_msg.routing_id()); in TEST()
Dipc_fuzzing_tests.cc165 if (msg.routing_id() == MSG_ROUTING_CONTROL) { in OnMessageReceived()
264 if (FUZZER_ROUTING_ID != last_msg_->routing_id()) in MsgHandlerInternal()
Dipc_message_utils.cc274 : routing_id(0), in LogData()
1321 WriteParam(m, p.routing_id); in Write()
1336 ReadParam(m, iter, &r->routing_id) && in Read()
1367 m->WriteUInt32(static_cast<uint32_t>(p.routing_id())); in Write()
1376 uint32_t routing_id, type, flags; in Read() local
1377 if (!iter->ReadUInt32(&routing_id) || in Read()
1387 r->SetHeaderValues(static_cast<int32_t>(routing_id), type, flags); in Read()
Dipc_message_utils.h74 int32_t routing_id; in COMPONENT_EXPORT() local