Home
last modified time | relevance | path

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

/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp161 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 …]
Dnanohubhal.h62 class NanoHub {
70 NanoHub() { in NanoHub() function
89 static NanoHub *hubInstance() { in hubInstance()
90 static NanoHub theHub; in hubInstance()
Dsystem_comms.h293 if (NanoHub::messageTracingEnabled()) { in sendToApp()
296 NanoHub::sendToApp(&get_hub_info()->os_app_name, typ, data, len); in sendToApp()
Dsystem_comms.cpp105 if (NanoHub::messageTracingEnabled()) { in sendToSystem()
108 return NanoHub::sendToDevice(&getSystem()->mHostIfAppName, data, len); in sendToSystem()
497 if (NanoHub::messageTracingEnabled()) { in doHandleRx()