Searched refs:commandIn (Results 1 – 4 of 4) sorted by relevance
| /developtools/hdc/src/host/ |
| D | host_updater.cpp | 270 bool HostUpdater::ConfirmCommand(const string &commandIn, bool &closeInput) in ConfirmCommand() argument 273 if (!strncmp(commandIn.c_str(), CMD_STR_UPDATE.c_str(), CMD_STR_UPDATE.size())) { in ConfirmCommand() 275 } else if (!strncmp(commandIn.c_str(), CMD_STR_FLASH.c_str(), CMD_STR_FLASH.size())) { in ConfirmCommand() 278 } else if (!strncmp(commandIn.c_str(), CMD_STR_ERASE.c_str(), CMD_STR_ERASE.size())) { in ConfirmCommand() 280 } else if (!strncmp(commandIn.c_str(), CMD_STR_FORMAT.c_str(), CMD_STR_FORMAT.size())) { in ConfirmCommand() 283 if (tip.empty() || strstr(commandIn.c_str(), " -f") != nullptr) { in ConfirmCommand()
|
| D | client.h | 31 int ExecuteCommand(const string &commandIn); 32 int CtrlServiceWork(const char *commandIn);
|
| D | client.cpp | 135 int HdcClient::CtrlServiceWork(const char *commandIn) in CtrlServiceWork() argument 137 command = commandIn; in CtrlServiceWork() 306 int HdcClient::ExecuteCommand(const string &commandIn) in ExecuteCommand() argument 317 if (!strncmp(commandIn.c_str(), CMDSTR_HILOG.c_str(), CMDSTR_HILOG.size()) && in ExecuteCommand() 318 IsCaptureCommand(commandIn)) { in ExecuteCommand() 319 RunExecuteCommand(commandIn); in ExecuteCommand() 323 if (!strncmp(commandIn.c_str(), CMDSTR_FILE_SEND.c_str(), CMDSTR_FILE_SEND.size()) || in ExecuteCommand() 324 !strncmp(commandIn.c_str(), CMDSTR_FILE_RECV.c_str(), CMDSTR_FILE_RECV.size())) { in ExecuteCommand() 328 if (!strncmp(commandIn.c_str(), CMDSTR_APP_INSTALL.c_str(), CMDSTR_APP_INSTALL.size())) { in ExecuteCommand() 331 command = commandIn; in ExecuteCommand()
|
| D | host_updater.h | 29 static bool ConfirmCommand(const string &commandIn, bool &closeInput);
|