HomeSort by relevance Sort by last modified time
    Searched refs:rxMsg (Results 1 - 14 of 14) sorted by null

  /packages/services/Car/tools/emulator/
vhal_emulator_test.py 104 # Helper function to extract values array from rxMsg
105 def _getValueFromMsg(self, rxMsg):
107 if len(rxMsg.value) != 1:
111 valType = rxMsg.value[0].value_type
114 value = rxMsg.value[0].string_value
116 value = rxMsg.value[0].bytes_value
118 value = rxMsg.value[0].int32_values[0]
120 value = rxMsg.value[0].int32_values[0]
122 value = rxMsg.value[0].int64_values[0]
124 value = rxMsg.value[0].float_values[0
    [all...]
diagnostic_injector.py 71 return self.vhal.rxMsg()
vhal_emulator.py 36 reply = v.rxMsg()
43 reply = v.rxMsg()
50 reply = v.rxMsg()
53 NOTE: The rxMsg() is a blocking call, so it may be desirable to set up a separate RX thread
63 print v.rxMsg()
149 def rxMsg(self):
266 msg = self.rxMsg()
gui.py 33 msg = v.rxMsg()
driving_info_generator.py 107 self.liveFrameConfig = vhal.rxMsg()
user_action_generator.py 121 vhalConfig[actionProp] = ActionPropConfig(vhal.rxMsg().config[0])
  /hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
VehicleEmulator.h 87 void doGetConfig(EmulatorMessage& rxMsg, EmulatorMessage& respMsg);
88 void doGetConfigAll(EmulatorMessage& rxMsg, EmulatorMessage& respMsg);
89 void doGetProperty(EmulatorMessage& rxMsg, EmulatorMessage& respMsg);
90 void doGetPropertyAll(EmulatorMessage& rxMsg, EmulatorMessage& respMsg);
91 void doSetProperty(EmulatorMessage& rxMsg, EmulatorMessage& respMsg);
98 void rxMsg();
VehicleEmulator.cpp 63 void VehicleEmulator::doGetConfig(VehicleEmulator::EmulatorMessage& rxMsg,
66 emulator::VehiclePropGet getProp = rxMsg.prop(0);
82 void VehicleEmulator::doGetConfigAll(VehicleEmulator::EmulatorMessage& /* rxMsg */,
95 void VehicleEmulator::doGetProperty(VehicleEmulator::EmulatorMessage& rxMsg,
98 emulator::VehiclePropGet getProp = rxMsg.prop(0);
122 void VehicleEmulator::doGetPropertyAll(VehicleEmulator::EmulatorMessage& /* rxMsg */,
135 void VehicleEmulator::doSetProperty(VehicleEmulator::EmulatorMessage& rxMsg,
137 emulator::VehiclePropValue protoVal = rxMsg.value(0);
198 emulator::EmulatorMessage rxMsg;
201 if (rxMsg.ParseFromArray(msg.data(), static_cast<int32_t>(msg.size())))
    [all...]
  /device/google/contexthub/contexthubhal/
legacyhal.cpp 24 static int legacy_cbk(uint32_t hub_id, const HubMessage &rxMsg, void *cookie)
26 return mSavedCbk(hub_id, &rxMsg, cookie);
system_comms.h 453 int doHandleRx(const nano_message_raw *rxMsg) {
454 return doHandleRx(rxMsg->hdr.appId, 0, reinterpret_cast<const char*>(rxMsg->data), rxMsg->hdr.len, false);
457 int doHandleRx(const nano_message_chre *rxMsg) {
458 return doHandleRx(rxMsg->hdr.appId, rxMsg->hdr.appEventId, reinterpret_cast<const char*>(rxMsg->data), rxMsg->hdr.len, true);
478 static int handleRx(const nano_message_raw *rxMsg) {
    [all...]
NanohubHidlAdapter.cpp 315 const nanohub::HubMessage &rxMsg,
332 if (rxMsg.message_type < CONTEXT_HUB_TYPE_PRIVATE_MSG_BASE) {
334 rxMsg.message_type,
335 static_cast<const uint8_t *>(rxMsg.message),
336 rxMsg.message_len,
337 rxMsg.message_transaction_id);
341 msg.appName = rxMsg.app_name.id;
342 msg.msgType = rxMsg.message_type;
343 msg.hostEndPoint = rxMsg.message_endpoint;
344 msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg.message)
    [all...]
NanohubHidlAdapter.h 116 const nanohub::HubMessage &rxMsg,
  /hardware/interfaces/contexthub/1.0/default/
Contexthub.cpp 354 const struct hub_message_t *rxMsg,
358 if (rxMsg == nullptr) {
376 if (rxMsg->message_type < CONTEXT_HUB_TYPE_PRIVATE_MSG_BASE) {
378 rxMsg->message_type,
379 static_cast<const uint8_t *>(rxMsg->message),
380 rxMsg->message_len);
384 msg.appName = rxMsg->app_name.id;
385 msg.msgType = rxMsg->message_type;
387 msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg->message),
388 static_cast<const uint8_t *>(rxMsg->message)
    [all...]
Contexthub.h 105 const struct hub_message_t *rxMsg,

Completed in 376 milliseconds