Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dnanohubhal.h58 class HubMessage : public hub_message_t {
63 HubMessage(const HubMessage &other) = delete;
64 HubMessage &operator = (const HubMessage &other) = delete;
66 HubMessage(const hub_app_name_t *name, uint32_t typ, uint32_t transaction_id, in HubMessage() function
81 HubMessage(const hub_app_name_t *name, uint32_t typ, uint16_t endpoint, const void *data, in HubMessage() function
82 uint32_t len) : HubMessage(name, typ, 0, endpoint, data, len) { } in HubMessage()
84 HubMessage(const hub_message_t *msg, uint32_t transaction_id, uint16_t endpoint) { in HubMessage() function
98 HubMessage(HubMessage &&other) { in HubMessage() function
99 *this = (HubMessage &&)other; in HubMessage()
102 HubMessage &operator = (HubMessage &&other) {
[all …]
Dnanohubhal.cpp187 void NanoHub::doSendToApp(HubMessage &&msg) in doSendToApp()
190 mAppTxQueue.push_back((HubMessage &&)msg); in doSendToApp()
208 HubMessage &m = mAppTxQueue.front(); in runAppTx()
281 …doSendToApp(HubMessage(&app_name, msg.raw.hdr.eventId, ENDPOINT_BROADCAST, &msg.raw.data[0], len)); in runDeviceRx()
291 …doSendToApp(HubMessage(&app_name, msg.chre.hdr.appEventId, msg.chre.hdr.endpoint, &msg.chre.data[0… in runDeviceRx()
Dlegacyhal.cpp24 static int legacy_cbk(uint32_t hub_id, const HubMessage &rxMsg, void *cookie) in legacy_cbk()
DNanohubHidlAdapter.h116 const nanohub::HubMessage &rxMsg,
Dsystem_comms.h465 …NanoHub::sendToApp(HubMessage(&get_hub_info()->os_app_name, typ, transactionId, ENDPOINT_BROADCAST… in sendToApp()
DNanohubHidlAdapter.cpp315 const nanohub::HubMessage &rxMsg, in contextHubCb()