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 | 133 int HdcClient::CtrlServiceWork(const char *commandIn) in CtrlServiceWork() argument 135 command = commandIn; in CtrlServiceWork() 304 int HdcClient::ExecuteCommand(const string &commandIn) in ExecuteCommand() argument 315 if (!strncmp(commandIn.c_str(), CMDSTR_HILOG.c_str(), CMDSTR_HILOG.size()) && in ExecuteCommand() 316 IsCaptureCommand(commandIn)) { in ExecuteCommand() 317 RunExecuteCommand(commandIn); in ExecuteCommand() 321 if (!strncmp(commandIn.c_str(), CMDSTR_FILE_SEND.c_str(), CMDSTR_FILE_SEND.size()) || in ExecuteCommand() 322 !strncmp(commandIn.c_str(), CMDSTR_FILE_RECV.c_str(), CMDSTR_FILE_RECV.size())) { in ExecuteCommand() 326 if (!strncmp(commandIn.c_str(), CMDSTR_APP_INSTALL.c_str(), CMDSTR_APP_INSTALL.size())) { in ExecuteCommand() 329 command = commandIn; in ExecuteCommand()
|
| D | host_updater.h | 29 static bool ConfirmCommand(const string &commandIn, bool &closeInput);
|