Searched refs:cli (Results 1 – 1 of 1) sorted by relevance
/device/google/contexthub/contexthubhal/test/ |
D | main.cpp | 131 Client *cli = getClientById(hubId); in onMessage() local 132 if (cli != nullptr && msg != nullptr) { in onMessage() 133 cli->onMessage(*msg); in onMessage() 252 NanoClient cli; in main() local 267 cli.sendMessageToApp(app_name, data.data(), data.size(), msg); in main() 275 cli.sendMessageToSystem(CONTEXT_HUB_APPS_ENABLE, &req, sizeof(req)); in main() 282 cli.sendMessageToSystem(CONTEXT_HUB_APPS_DISABLE, &req, sizeof(req)); in main() 295 cli.sendMessageToSystem(CONTEXT_HUB_LOAD_APP, req, fileSize); in main() 303 cli.sendMessageToSystem(CONTEXT_HUB_UNLOAD_APP, &req, sizeof(req)); in main() 310 cli.sendMessageToSystem(CONTEXT_HUB_QUERY_APPS, &req, sizeof(req)); in main()
|