Searched refs:NanoHub (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.cpp | 161 int NanoHub::doSendToDevice(const hub_app_name_t *name, const void *data, uint32_t len) in doSendToDevice() 180 void NanoHub::doSendToApp(const hub_app_name_t *name, uint32_t typ, const void *data, uint32_t len) in doSendToApp() 192 void* NanoHub::run(void *data) in run() 194 NanoHub *self = static_cast<NanoHub*>(data); in run() 198 void* NanoHub::doRun() in doRun() 278 int NanoHub::openHub() in openHub() 295 if (pthread_create(&mWorkerThread, NULL, &NanoHub::run, this)) { in openHub() 314 int NanoHub::closeHub(void) in closeHub() 333 int NanoHub::doSubscribeMessages(uint32_t hub_id, context_hub_callback *cbk, void *cookie) in doSubscribeMessages() 365 int NanoHub::doSendToNanohub(uint32_t hub_id, const hub_message_t *msg) in doSendToNanohub() [all …]
|
D | nanohubhal.h | 62 class NanoHub { 70 NanoHub() { in NanoHub() function 89 static NanoHub *hubInstance() { in hubInstance() 90 static NanoHub theHub; in hubInstance()
|
D | system_comms.h | 293 if (NanoHub::messageTracingEnabled()) { in sendToApp() 296 NanoHub::sendToApp(&get_hub_info()->os_app_name, typ, data, len); in sendToApp()
|
D | system_comms.cpp | 105 if (NanoHub::messageTracingEnabled()) { in sendToSystem() 108 return NanoHub::sendToDevice(&getSystem()->mHostIfAppName, data, len); in sendToSystem() 497 if (NanoHub::messageTracingEnabled()) { in doHandleRx()
|