Home
last modified time | relevance | path

Searched refs:rxMsg (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DVehicleEmulator.cpp78 void VehicleEmulator::doGetConfig(VehicleEmulator::EmulatorMessage const& rxMsg, in doGetConfig() argument
81 vhal_proto::VehiclePropGet getProp = rxMsg.prop(0); in doGetConfig()
110 void VehicleEmulator::doGetProperty(VehicleEmulator::EmulatorMessage const& rxMsg, in doGetProperty() argument
113 vhal_proto::VehiclePropGet getProp = rxMsg.prop(0); in doGetProperty()
153 void VehicleEmulator::doSetProperty(VehicleEmulator::EmulatorMessage const& rxMsg, in doSetProperty() argument
155 vhal_proto::VehiclePropValue protoVal = rxMsg.value(0); in doSetProperty()
194 void VehicleEmulator::processMessage(vhal_proto::EmulatorMessage const& rxMsg, in processMessage() argument
196 switch (rxMsg.msg_type()) { in processMessage()
198 doGetConfig(rxMsg, respMsg); in processMessage()
201 doGetConfigAll(rxMsg, respMsg); in processMessage()
[all …]
DVehicleEmulator.h75 void processMessage(vhal_proto::EmulatorMessage const& rxMsg,
82 void doGetConfig(EmulatorMessage const& rxMsg, EmulatorMessage& respMsg);
83 void doGetConfigAll(EmulatorMessage const& rxMsg, EmulatorMessage& respMsg);
84 void doGetProperty(EmulatorMessage const& rxMsg, EmulatorMessage& respMsg);
85 void doGetPropertyAll(EmulatorMessage const& rxMsg, EmulatorMessage& respMsg);
86 void doSetProperty(EmulatorMessage const& rxMsg, EmulatorMessage& respMsg);
DCommConn.cpp64 vhal_proto::EmulatorMessage rxMsg; in readThread() local
65 if (rxMsg.ParseFromArray(buffer.data(), static_cast<int32_t>(buffer.size()))) { in readThread()
67 mMessageProcessor->processMessage(rxMsg, respMsg); in readThread()
DCommConn.h47 virtual void processMessage(vhal_proto::EmulatorMessage const& rxMsg,
/hardware/interfaces/contexthub/1.0/default/
DContexthub.cpp354 const struct hub_message_t *rxMsg, in contextHubCb() argument
358 if (rxMsg == nullptr) { in contextHubCb()
376 if (rxMsg->message_type < CONTEXT_HUB_TYPE_PRIVATE_MSG_BASE) { in contextHubCb()
378 rxMsg->message_type, in contextHubCb()
379 static_cast<const uint8_t *>(rxMsg->message), in contextHubCb()
380 rxMsg->message_len); in contextHubCb()
384 msg.appName = rxMsg->app_name.id; in contextHubCb()
385 msg.msgType = rxMsg->message_type; in contextHubCb()
387 msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg->message), in contextHubCb()
388 static_cast<const uint8_t *>(rxMsg->message) + in contextHubCb()
[all …]
DContexthub.h105 const struct hub_message_t *rxMsg,