Searched refs:NanoHub (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/contexthubhal/ |
D | nanohubhal.cpp | 154 NanoHub::NanoHub() { in NanoHub() function in android::nanohub::NanoHub 158 NanoHub::~NanoHub() { in ~NanoHub() 165 int NanoHub::doSendToDevice(const hub_app_name_t name, const void *data, uint32_t len, uint32_t mes… in doSendToDevice() 187 void NanoHub::doSendToApp(HubMessage &&msg) in doSendToApp() 195 void NanoHub::doDumpAppInfo(std::string &result) in doDumpAppInfo() 200 void* NanoHub::runAppTx() in runAppTx() 217 void* NanoHub::runDeviceRx() in runDeviceRx() 312 int NanoHub::openHub() in openHub() 340 int NanoHub::closeHub(void) in closeHub() 376 int NanoHub::doSubscribeMessages(uint32_t hub_id, Contexthub_callback *cbk, void *cookie) in doSubscribeMessages() [all …]
|
D | legacyhal.cpp | 33 return NanoHub::subscribeMessages(hub_id, legacy_cbk, cookie); in legacy_subscribe_messages() 35 return NanoHub::subscribeMessages(hub_id, nullptr, nullptr); in legacy_subscribe_messages() 40 return NanoHub::sendToNanohub(hub_id, msg, 0, ENDPOINT_UNSPECIFIED); in legacy_send_message()
|
D | NanohubHidlAdapter.cpp | 155 if(NanoHub::sendToNanohub(hubId, &txMsg, 0, msg.hostEndPoint) != 0) { in sendMessageToHub() 169 } else if (NanoHub::subscribeMessages(hubId, in registerCallback() 306 int ret = NanoHub::subscribeMessages(hubId, nullptr, nullptr); in handleServiceDeath() 374 if(NanoHub::sendToNanohub(hubId, in unloadNanoApp() 422 if(NanoHub::sendToNanohub(hubId, in loadNanoApp() 453 if(NanoHub::sendToNanohub(hubId, in enableNanoApp() 484 if(NanoHub::sendToNanohub(hubId, in disableNanoApp() 509 if(NanoHub::sendToNanohub(hubId, in queryApps() 560 result.appendFormat("debug: %d\n", NanoHub::getDebugFlags()); in debug() 562 NanoHub::dumpAppInfo(appInfo); in debug() [all …]
|
D | nanohubhal.h | 115 class NanoHub { 128 NanoHub(); 129 ~NanoHub(); 146 static NanoHub *hubInstance() { in hubInstance() 147 static NanoHub theHub; in hubInstance()
|
D | system_comms.h | 462 if (NanoHub::messageTracingEnabled()) { in sendToApp() 465 …NanoHub::sendToApp(HubMessage(&get_hub_info()->os_app_name, typ, transactionId, ENDPOINT_BROADCAST… in sendToApp()
|
D | system_comms.cpp | 186 if (NanoHub::messageTracingEnabled()) { in sendToSystem() 189 return NanoHub::sendToDevice(&getSystem()->mHostIfAppName, data, len, transactionId); in sendToSystem() 1381 if (NanoHub::messageTracingEnabled()) { in doHandleRx()
|