Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 124) sorted by relevance

12345

/developtools/packing_tool/packing_tool/frameworks/test/unittest/package_normalize_test/
Dpackage_normalize_test.cpp93 std::string cmd = {"rm -f /data/test/packagenormalize_packing/*"}; in TearDownTestCase() local
120 std::string cmd = {"rm -rf "}; variable
142 std::string cmd = {"rm -rf "}; variable
166 std::string cmd = {"rm -rf "}; variable
189 std::string cmd = {"rm -rf "}; variable
212 std::string cmd = {"rm -rf "}; variable
234 std::string cmd = {"rm -rf "}; variable
257 std::string cmd = {"rm -rf "}; variable
280 std::string cmd = {"rm -rf "}; variable
302 std::string cmd = {"rm -rf "}; variable
[all …]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/json/module_json_utils_test/
Dmodule_json_utils_test.cpp438 std::string cmd = {"rm -f "}; variable
484 std::string cmd = {"rm -f "}; variable
504 std::string cmd = {"rm -f "}; variable
524 std::string cmd = {"rm -f "}; variable
570 std::string cmd = {"rm -f "}; variable
590 std::string cmd = {"rm -f "}; variable
688 std::string cmd = {"rm -f "}; variable
753 std::string cmd = {"rm -f "}; variable
776 std::string cmd = {"rm -f "}; variable
799 std::string cmd = {"rm -f "}; variable
[all …]
/developtools/profiler/host/smartperf/client/client_command/test/unittest/
Dcontrol_call_cmd_test.cpp56 ControlCallCmd cmd; variable
64 ControlCallCmd cmd; variable
72 ControlCallCmd cmd; variable
79 ControlCallCmd cmd; variable
86 ControlCallCmd cmd; variable
93 ControlCallCmd cmd; variable
130 OHOS::SmartPerf::ControlCallCmd cmd; variable
Dsp_daemon_test.cpp65 std::string cmd = "SP_daemon -N 1 -PKG ohos.samples.ecg -c"; variable
92 std::string cmd = "SP_daemon -N 1 -g"; variable
122 std::string cmd = "SP_daemon -N 1 -PKG ohos.samples.ecg -f"; variable
142 std::string cmd = "SP_daemon -N 1 -t"; variable
163 std::string cmd = "SP_daemon -N 1 -p"; variable
194 std::string cmd = "SP_daemon -N 1 -PKG ohos.samples.ecg -r"; variable
214 std::string cmd = "SP_daemon -N 1 -net"; variable
234 std::string cmd = "SP_daemon -start -g"; variable
254 std::string cmd = "SP_daemon -stop"; variable
274 std::string cmd = "SP_daemon -screen"; variable
[all …]
Dthreads_test.cpp55 std::string cmd = "SP_daemon -N 1 -threads -PKG sh"; variable
70 std::string cmd = "SP_daemon -N 1 -threads -PID 1"; variable
85 std::string cmd = "SP_daemon -N 1 -threads -PID 88888888"; // 88888888 is not exit variable
Dfiledescriptor_test.cpp58 std::string cmd = "SP_daemon -N 1 -fds -PKG sh"; variable
73 std::string cmd = "SP_daemon -N 1 -fds -PID 1"; variable
88 std::string cmd = "SP_daemon -N 1 -fds -PID 88888888"; // 88888888 is not exit variable
/developtools/profiler/device/services/plugin_service/src/
Dplugin_command_builder.cpp31 auto cmd = std::make_shared<GetCommandResponse>(); in BuildCreateSessionCmd() local
46 auto cmd = std::make_shared<GetCommandResponse>(); in BuildDestroySessionCmd() local
61 auto cmd = std::make_shared<GetCommandResponse>(); in BuildStartSessionCmd() local
78 auto cmd = std::make_shared<GetCommandResponse>(); in BuildStopSessionCmd() local
93 auto cmd = std::make_shared<GetCommandResponse>(); in BuildRefreshSessionCmd() local
Dplugin_service.cpp138 auto cmd = pluginCommandBuilder_->BuildCreateSessionCmd(pluginConfig, bufferSize); in CreatePluginSession() local
194 auto cmd = pluginCommandBuilder_->BuildCreateSessionCmd(pluginConfig, 0); in CreatePluginSession() local
215 auto cmd = pluginCommandBuilder_->BuildStartSessionCmd(config, pluginId); in StartPluginSession() local
235 auto cmd = pluginCommandBuilder_->BuildStopSessionCmd(pluginId); in StopPluginSession() local
266 auto cmd = pluginCommandBuilder_->BuildDestroySessionCmd(pluginId); in DestroyPluginSession() local
295 auto cmd = pluginCommandBuilder_->BuildRefreshSessionCmd(pluginId); in RefreshPluginSession() local
/developtools/profiler/device/cmds/test/unittest/
Dhiprofiler_cmd_test.cpp80 bool RunCommand(const std::string& cmd, std::string& content) in RunCommand()
472 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -h"; variable
510 …std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -c " + configTestFile + " -o " + outFile + " -t … variable
552 std::string cmd = "cp " + DEFAULT_SO_PATH + "libftrace_plugin.z.so " + DEFAULT_PATH; variable
589 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -s -l -k"; variable
608 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -l -k"; variable
625 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -k"; variable
637 std::string cmd = "cp " + DEFAULT_SO_PATH + "libftrace_plugin.z.so " + DEFAULT_PATH; variable
670 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -s"; variable
715 std::string cmd = "cp " + DEFAULT_SO_PATH + "libhiperfplugin.z.so " + DEFAULT_PATH; variable
[all …]
/developtools/packing_tool/packing_tool/frameworks/test/unittest/res_packager_test/
Dres_packager_test.cpp161 std::string cmd; variable
195 std::string cmd; variable
229 std::string cmd; variable
263 std::string cmd; variable
297 std::string cmd; variable
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/
DliteOsUpgrade_L2_app.py385 def eraseDevice(self, cmd, usb_port): argument
412 def catchEraseFail(self,cmd): argument
418 def getPsPid(ser, cmd, ps): argument
474 def sendCmd(ser, cmd, timeout): argument
492 def sendHdcCmd(cmd): argument
512 def executeHdcCmd(cmd): argument
/developtools/profiler/hiebpf/src/
Dhiebpf.cpp78 …HiebpfIpcCommand cmd = *(const_cast<HiebpfIpcCommand*>(reinterpret_cast<const HiebpfIpcCommand*>(d… in HandleIpcMessage() local
99 HiebpfIpcCommand cmd, uint32_t timeout) in SendIpcCommand()
162 std::string cmd; in main() local
372 static inline BPFConfig GenBPFConfigFromFlags(const std::string &cmd) in GenBPFConfigFromFlags()
/developtools/hdc/src/host/
Dclient.cpp73 bool HdcClient::StartServer(const string &cmd) in StartServer()
112 bool HdcClient::ChannelCtrlServer(const string &cmd, string &connectKey) in ChannelCtrlServer()
170 bool HdcClient::KillServer(const string &cmd) in KillServer()
309 …::CreateChildProcess(HANDLE hSubWrite, HANDLE hSubRead, PROCESS_INFORMATION *pi, const string& cmd) in CreateChildProcess()
340 void HdcClient::RunCommandWin32(const string& cmd) in RunCommandWin32()
376 void HdcClient::RunCommand(const string& cmd) in RunCommand()
395 void HdcClient::RunExecuteCommand(const string& cmd) in RunExecuteCommand()
404 bool IsCaptureCommand(const string& cmd) in IsCaptureCommand()
568 char *cmd = hChannel->bufStd; in ReadStd() local
751 uint16_t cmd = 0; in ReadChannel() local
[all …]
/developtools/profiler/device/plugins/ffrt_profiler/test/unittest/
Dffrt_profiler_test.cpp89 bool RunCommand(const std::string& cmd, std::string& content) in RunCommand()
118 std::string cmd = CreateCommand(OUTPUT_PATH, 10, "pid", std::to_string(ffrtPrfolerExePid_)); variable
127 std::string cmd = CreateCommand(OUTPUT_PATH, 10, "pid", std::to_string(ffrtPrfolerExePid_)); variable
/developtools/profiler/host/smartperf/client/client_command/
Dsp_utils.cpp99 bool SPUtils::LoadCmdWithLinkBreak(const std::string &cmd, bool isClearLinkBreak, std::string &resu… in LoadCmdWithLinkBreak()
125 bool SPUtils::LoadCmd(const std::string &cmd, std::string &result) in LoadCmd()
229 std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_HEAD); in GetTopPkgName() local
240 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_APP_START); in GetRadar() local
247 std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_SCREEN); in GetScreen() local
265 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_JANK); in GetRadarFrame() local
272 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_RESPONSE); in GetRadarResponse() local
279 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_COMPLETED); in GetRadarComplete() local
284 static std::string GetSplitOne(std::string cmd) in GetSplitOne()
683 const std::string cmd = "hidumper -s AbilityManagerService -a -l"; in IsForeGround() local
[all …]
Dstartup_delay.cpp62 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYSEVENT); in GetHisysId() local
88 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_PID); in GetHisysIdAndKill() local
105 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::PIDOF_SP); in GetSpTcp() local
128 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::PIDOF_SP); in GetSpClear() local
DGetLog.cpp32 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::CREAT_DIR) + dirPath; in CreateDir() local
51 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::REMOVE) + dirPath; in RemoveDirOrFile() local
62 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::CP) + cpStr; in CopyFiles() local
82 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::GET_HILOG) + hilogTmp; in GetHilogInMemory() local
Dnavigation.cpp53 std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_NAV) + winId + " -navigation'"; in GetNavResult() local
96 const std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_A_A); in GetWinId() local
/developtools/hdc/test/scripts/testModule/
Dutils.py261 def check_shell_any_device(cmd, pattern=None, fetch=False): argument
279 def check_shell(cmd, pattern=None, fetch=False, head=None): argument
298 def get_shell_result(cmd, pattern=None, fetch=False): argument
304 def check_rate(cmd, expected_rate): argument
449 def check_hdc_cmd(cmd, pattern=None, head=None, is_single_dir=True, **args): argument
734 def check_subprocess_cmd(cmd, process_num, timeout): argument
842 def hdc_get_key(cmd): argument
848 def check_hdc_version(cmd, version): argument
868 def check_cmd_time(cmd, pattern, duration, times): argument
/developtools/hdc/src/daemon/
Dshell.cpp138 int HdcShell::ChildForkDo(int pts, const char *cmd, const char *arg0, const char *arg1) in ChildForkDo()
187 int HdcShell::ThreadFork(const char *cmd, const char *arg0, const char *arg1) in ThreadFork()
216 const char *cmd = params.cmdParam; in ShellFork() local
249 int HdcShell::CreateSubProcessPTY(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) in CreateSubProcessPTY()
/developtools/profiler/device/plugins/hiperf_plugin/src/
Dhiperf_module.cpp87 bool RunCommand(const std::string& cmd) in RunCommand()
150 for (const auto &cmd : cmds) { in HiperfPluginSessionStart() local
169 std::string cmd; in HiperfPluginSessionStop() local
/developtools/profiler/device/plugins/hiebpf_plugin/src/
Dhiebpf_module.cpp38 void RunCmd(std::string& cmd) in RunCmd()
85 std::string cmd = g_config.cmd_line(); in HiebpfSessionStart() local
/developtools/profiler/hiebpf/test/unittest/
Dbpf_controller_test.cpp41 std::string cmd = "rm " + FILE_NAME; in TearDownTestCase() local
45 std::string cmd = "rm " + HIEBPF_FILE_NAME; in TearDownTestCase() local
Dipc_unix_socket_test.cpp63 std::string cmd = "test command"; variable
89 std::string cmd = "test command"; variable
/developtools/hdc/scripts/
Dhdc_test.py128 def command_judge(cmd): argument
140 def command_callback(cmd, head, need_del, res=""): argument
268 def run_command(cmd, head=NORMAL_HEAD, need_del=True, need_callback=True): argument
279 def run_command_stdout(cmd, head=NORMAL_HEAD, need_del=True, need_callback=True): argument

12345