Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dsystem_comms.h453 int doHandleRx(const nano_message_raw *rxMsg) { in doHandleRx() argument
454 …return doHandleRx(rxMsg->hdr.appId, 0, reinterpret_cast<const char*>(rxMsg->data), rxMsg->hdr.len,… in doHandleRx()
457 int doHandleRx(const nano_message_chre *rxMsg) { in doHandleRx() argument
458 …return doHandleRx(rxMsg->hdr.appId, rxMsg->hdr.appEventId, reinterpret_cast<const char*>(rxMsg->da… in doHandleRx()
478 static int handleRx(const nano_message_raw *rxMsg) { in handleRx() argument
479 return getSystem()->doHandleRx(rxMsg); in handleRx()
481 static int handleRx(const nano_message_chre *rxMsg) { in handleRx() argument
482 return getSystem()->doHandleRx(rxMsg); in handleRx()
DNanohubHidlAdapter.cpp315 const nanohub::HubMessage &rxMsg, in contextHubCb() argument
332 if (rxMsg.message_type < CONTEXT_HUB_TYPE_PRIVATE_MSG_BASE) { in contextHubCb()
334 rxMsg.message_type, in contextHubCb()
335 static_cast<const uint8_t *>(rxMsg.message), in contextHubCb()
336 rxMsg.message_len, in contextHubCb()
337 rxMsg.message_transaction_id); in contextHubCb()
341 msg.appName = rxMsg.app_name.id; in contextHubCb()
342 msg.msgType = rxMsg.message_type; in contextHubCb()
343 msg.hostEndPoint = rxMsg.message_endpoint; in contextHubCb()
344 msg.msg = std::vector<uint8_t>(static_cast<const uint8_t *>(rxMsg.message), in contextHubCb()
[all …]
Dlegacyhal.cpp24 static int legacy_cbk(uint32_t hub_id, const HubMessage &rxMsg, void *cookie) in legacy_cbk() argument
26 return mSavedCbk(hub_id, &rxMsg, cookie); in legacy_cbk()
DNanohubHidlAdapter.h116 const nanohub::HubMessage &rxMsg,