Home
last modified time | relevance | path

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

1234

/developtools/profiler/host/smartperf/client/client_command/test/unittest/
Dsp_daemon_test.cpp64 std::string cmd = "SP_daemon -N 1 -PKG ohos.samples.ecg -c"; variable
92 std::string cmd = "SP_daemon -N 1 -g"; variable
123 std::string cmd = "SP_daemon -N 1 -PKG ohos.samples.ecg -f"; variable
152 std::string cmd = "SP_daemon -N 1 -PKG ohos.samples.ecg -r"; variable
183 std::string cmd = "SP_daemon -N 1 -snapshot"; variable
204 std::string cmd = "SP_daemon -N 1 -net"; variable
225 std::string cmd = "SP_daemon -start -g"; variable
246 std::string cmd = "SP_daemon -stop"; variable
282 std::string cmd = "SP_daemon -profilerfps 10"; variable
303 std::string cmd = "SP_daemon -screen"; variable
[all …]
/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.cpp140 auto cmd = pluginCommandBuilder_->BuildCreateSessionCmd(pluginConfig, bufferSize); in CreatePluginSession() local
191 auto cmd = pluginCommandBuilder_->BuildCreateSessionCmd(pluginConfig, 0); in CreatePluginSession() local
209 auto cmd = pluginCommandBuilder_->BuildStartSessionCmd(config, pluginId); in StartPluginSession() local
226 auto cmd = pluginCommandBuilder_->BuildStopSessionCmd(pluginId); in StopPluginSession() local
254 auto cmd = pluginCommandBuilder_->BuildDestroySessionCmd(pluginId); in DestroyPluginSession() local
283 auto cmd = pluginCommandBuilder_->BuildRefreshSessionCmd(pluginId); in RefreshPluginSession() local
/developtools/profiler/device/cmds/test/unittest/
Dhiprofiler_cmd_test.cpp88 bool RunCommand(const std::string& cmd, std::string& content) in RunCommand()
506 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -h"; variable
541 …std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -c " + configTestFile + " -o " + outFile + " -t … variable
581 std::string cmd = "cp " + DEFAULT_SO_PATH + "libftrace_plugin.z.so " + DEFAULT_PATH; variable
614 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -s -l -k"; variable
631 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -l -k"; variable
646 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -k"; variable
658 std::string cmd = "cp " + DEFAULT_SO_PATH + "libftrace_plugin.z.so " + DEFAULT_PATH; variable
689 std::string cmd = DEFAULT_HIPROFILER_CMD_PATH + " -s"; variable
734 std::string cmd = "cp " + DEFAULT_SO_PATH + "libhiperfplugin.z.so " + DEFAULT_PATH; variable
[all …]
/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/device/plugins/hidump_plugin/test/unittest/
Dhidump_plugin_unittest.cpp123 const char *cmd = ""; variable
146 const char *cmd = "SP_daemon -profilerfps 0"; variable
215 std::string cmd = "cat " + file; in RecordFileExist() local
245 std::string cmd = "echo \"123\" > " + fileName; variable
282 std::string cmd = "echo \"123\" > " + fileName; variable
/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
363 static inline BPFConfig GenBPFConfigFromFlags(const std::string &cmd) in GenBPFConfigFromFlags()
/developtools/hdc/scripts/
Ddev_hdc_test.py306 def check_shell(cmd, pattern=None, fetch=False): argument
323 def get_shell_result(cmd, pattern=None, fetch=False): argument
329 def check_rate(cmd, expected_rate): argument
472 def check_hdc_cmd(cmd, pattern=None, **args): argument
725 def check_subprocess_cmd(cmd, process_num, timeout): argument
849 def hdc_get_key(cmd): argument
855 def start_subprocess_cmd(cmd, num, assert_out): argument
875 def check_hdc_version(cmd, version): argument
895 def check_cmd_time(cmd, pattern, duration, times): argument
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
/developtools/hdc/src/host/
Dclient.cpp73 bool HdcClient::StartServer(const string &cmd) in StartServer()
104 bool HdcClient::KillServer(const string &cmd) in KillServer()
236 void HdcClient::RunCommandWin32(const string& cmd) in RunCommandWin32()
288 void HdcClient::RunCommand(const string& cmd) in RunCommand()
307 void HdcClient::RunExecuteCommand(const string& cmd) in RunExecuteCommand()
316 bool IsCaptureCommand(const string& cmd) in IsCaptureCommand()
476 char *cmd = hChannel->bufStd; in ReadStd() local
658 uint16_t cmd = 0; in ReadChannel() local
780 bool HdcClient::IsOffset(uint16_t cmd) in IsOffset()
/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.cpp90 bool SPUtils::LoadCmdWithLinkBreak(const std::string &cmd, bool isClearLinkBreak, std::string &resu… in LoadCmdWithLinkBreak()
114 bool SPUtils::LoadCmd(const std::string &cmd, std::string &result) in LoadCmd()
219 std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_HEAD); in GetTopPkgName() local
230 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_APP_START); in GetRadar() local
237 std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_SCREEN); in GetScreen() local
247 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_JANK); in GetRadarFrame() local
254 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_RESPONSE); in GetRadarResponse() local
261 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_COMPLETED); in GetRadarComplete() local
266 static std::string GetSplitOne(std::string cmd) in GetSplitOne()
648 const std::string cmd = "aa dump -l"; in IsForeGround() local
Dstartup_delay.cpp59 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYSEVENT); in GetHisysId() local
85 std::string cmd = HISYSEVENT_CMD_MAP.at(HisyseventCmd::HISYS_PID); in GetHisysIdAndKill() local
102 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::PIDOF_SP); in GetSpTcp() local
125 std::string cmd = CMD_COMMAND_MAP.at(CmdCommand::PIDOF_SP); in GetSpClear() local
Dnavigation.cpp53 std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_NAV) + winId + " -navigation'"; in GetNavResult() local
85 const std::string cmd = HIDUMPER_CMD_MAP.at(HidumperCmd::DUMPER_A_A); in GetWinId() local
/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()
211 const char *cmd = params.cmdParam; in ShellFork() local
244 int HdcShell::CreateSubProcessPTY(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) in CreateSubProcessPTY()
Ddaemon_unity.cpp226 bool HdcDaemonUnity::RebootDevice(const string &cmd) in RebootDevice()
232 bool HdcDaemonUnity::SetDeviceRunMode(const char *cmd) in SetDeviceRunMode()
287 inline bool HdcDaemonUnity::GetHiLog(const char *cmd) in GetHiLog()
/developtools/profiler/device/plugins/hiperf_plugin/src/
Dhiperf_module.cpp85 bool RunCommand(const std::string& cmd) in RunCommand()
135 for (const auto &cmd : cmds) { in HiperfPluginSessionStart() local
151 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/hiperf/interfaces/innerkits/native/src/
Dhiperf_client.cpp399 void Client::PrepareExecCmd(std::vector<std::string> &cmd) in PrepareExecCmd()
419 void Client::GetExecCmd(std::vector<std::string> &cmd, int pipeIn, int pipeOut, in GetExecCmd()
431 void Client::GetExecCmd(std::vector<std::string> &cmd, in GetExecCmd()
478 std::vector<std::string> cmd; in Start() local
513 void Client::ChildRunExecv(std::vector<std::string> &cmd) in ChildRunExecv()
618 std::vector<std::string> cmd; in RunHiperfCmdSync() local
697 bool Client::SendCommandAndWait(const std::string &cmd) in SendCommandAndWait()
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Dblock.proto104 string cmd = 6; field
115 string cmd = 7; field
126 string cmd = 7; field
146 string cmd = 5; field
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dblock.proto104 string cmd = 6; field
115 string cmd = 7; field
126 string cmd = 7; field
146 string cmd = 5; field
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dblock.proto104 string cmd = 6; field
115 string cmd = 7; field
126 string cmd = 7; field
146 string cmd = 5; field
/developtools/packing_tool/ohos_packing_tool/frameworks/src/
Dmain.cpp22 OHOS::AppPackingTool::ShellCommand cmd(argc, argv, OHOS::AppPackingTool::TOOL_NAME); in main() local

1234