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