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.h75 void processMessage(emulator::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);
DVehicleEmulator.cpp77 void VehicleEmulator::doGetConfig(VehicleEmulator::EmulatorMessage const& rxMsg, in doGetConfig() argument
80 emulator::VehiclePropGet getProp = rxMsg.prop(0); in doGetConfig()
109 void VehicleEmulator::doGetProperty(VehicleEmulator::EmulatorMessage const& rxMsg, in doGetProperty() argument
112 emulator::VehiclePropGet getProp = rxMsg.prop(0); in doGetProperty()
152 void VehicleEmulator::doSetProperty(VehicleEmulator::EmulatorMessage const& rxMsg, in doSetProperty() argument
154 emulator::VehiclePropValue protoVal = rxMsg.value(0); in doSetProperty()
193 void VehicleEmulator::processMessage(emulator::EmulatorMessage const& rxMsg, in processMessage() argument
195 switch (rxMsg.msg_type()) { in processMessage()
197 doGetConfig(rxMsg, respMsg); in processMessage()
200 doGetConfigAll(rxMsg, respMsg); in processMessage()
[all …]
DCommConn.cpp64 emulator::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(emulator::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,