Home
last modified time | relevance | path

Searched refs:cmd2index (Results 1 - 2 of 2) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/tests/demo/interaction/
H A Dwfd_source_demo.cpp153 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 Dwfd_sink_demo.cpp264 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