Searched refs:cmd2index (Results 1 - 2 of 2) sorted by relevance
/foundation/CastEngine/castengine_wifi_display/tests/demo/interaction/ |
H A D | wfd_source_demo.cpp | 153 const std::map<std::string, int32_t> cmd2index = {{"Start", 1}, {"Stop", 2}, in DoCmd() local 157 if (cmd2index.count(cmd) == 0) { in DoCmd() 161 printf("enter commond, the commond is %s, the id is %d.", cmd.c_str(), cmd2index.at(cmd)); in DoCmd() 165 switch (cmd2index.at(cmd)) { in DoCmd() 178 ExecuteCmd(cmd2index.at(cmd), deviceId); in DoCmd()
|
H A D | wfd_sink_demo.cpp | 264 const std::map<std::string, int> cmd2index = { in DoCmd() local 269 if (cmd2index.count(cmd) == 0) { in DoCmd() 273 printf("enter commond, the commond is %s, the id is %d", cmd.c_str(), cmd2index.at(cmd)); in DoCmd() 281 switch (cmd2index.at(cmd)) { in DoCmd() 342 switch (cmd2index.at(cmd)) { in DoCmd()
|
Completed in 2 milliseconds