Searched refs:hh_data (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/contexthubhal/ |
D | NanohubHidlAdapter.cpp | 551 const hidl_vec<hidl_string>& hh_data) { in debug() argument 559 if (hh_data.size() == 0) { in debug() 564 } else if (hh_data.size() == 1) { in debug() 565 NanoHub::setDebugFlags(atoi(hh_data[0].c_str())); in debug() 567 } else if (hh_data.size() == 2) { in debug() 568 if (strncmp(hh_data[0].c_str(), "load", 4) == 0) { in debug() 570 if (readApp(hh_data[1].c_str(), &appBinary)) in debug() 572 } else if (strncmp(hh_data[0].c_str(), "unload", 6) == 0) { in debug() 573 unloadNanoApp(0, strtoul(hh_data[1].c_str(), NULL, 16), 0); in debug() 574 } else if (strncmp(hh_data[0].c_str(), "enable", 6) == 0) { in debug() [all …]
|