Home
last modified time | relevance | path

Searched refs:Command (Results 1 - 20 of 20) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
H A Dcommand_test.cpp79 EXPECT_EQ(Command::DispatchCommand(args), false); in HWTEST_F()
82 EXPECT_EQ(Command::DispatchCommand(args), true); in HWTEST_F()
85 EXPECT_EQ(Command::DispatchCommand(args), true); in HWTEST_F()
88 EXPECT_EQ(Command::DispatchCommand(args), true); in HWTEST_F()
91 EXPECT_EQ(Command::DispatchCommand(args), true); in HWTEST_F()
94 EXPECT_EQ(Command::DispatchCommand(args), false); in HWTEST_F()
97 EXPECT_EQ(Command::DispatchCommand(args), false); in HWTEST_F()
100 EXPECT_EQ(Command::DispatchCommand(args), true); in HWTEST_F()
103 EXPECT_EQ(Command::DispatchCommand(args), false); in HWTEST_F()
106 EXPECT_EQ(Command in HWTEST_F()
[all...]
H A Dsubcommand_dump_test.cpp82 bool ret = Command::DispatchCommand(cmdString); in TestDumpCommand()
106 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
212 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
223 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
234 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
245 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
256 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
267 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
278 EXPECT_EQ(Command::DispatchCommand(cmdString), true); in HWTEST_F()
289 EXPECT_EQ(Command in HWTEST_F()
[all...]
H A Dsubcommand_report_test.cpp195 EXPECT_EQ(Command::DispatchCommand("report -i " + RESOURCE_PATH + "report_test.data"), true); in HWTEST_F()
220 EXPECT_EQ(Command::DispatchCommand("report -i " + RESOURCE_PATH + "report_test.data.tar.gz"), false); in HWTEST_F()
241 EXPECT_EQ(Command::DispatchCommand("report -i /data/local/tmp/perf.data.tar.gz"), true); in HWTEST_F()
262 EXPECT_EQ(Command::DispatchCommand("report -i " + RESOURCE_PATH + "perf1.data --debug"), false); in HWTEST_F()
286 EXPECT_EQ(Command::DispatchCommand("report " + RESOURCE_PATH + "report_test.data -i"), false); in HWTEST_F()
309 EXPECT_EQ(Command::DispatchCommand("report -i " + RESOURCE_PATH + "perf1.data --diff " + in HWTEST_F()
336 EXPECT_EQ(Command::DispatchCommand("report -i " + RESOURCE_PATH + "report_test.data --diff " + in HWTEST_F()
362 Command::DispatchCommand("report -i " + RESOURCE_PATH + "report_test.data --sort pid"), in HWTEST_F()
387 Command::DispatchCommand("report -i " + RESOURCE_PATH + "report_test.data --sort pid,tid"), in HWTEST_F()
412 Command in HWTEST_F()
[all...]
H A Doption_debug_test.cpp70 EXPECT_EQ(Command::DispatchCommands(args), result); in LogLevelTest()
184 EXPECT_EQ(Command::DispatchCommands({"--mixlog", TEST_CMD_NOTHING}), true); in HWTEST_F()
202 EXPECT_EQ(Command::DispatchCommands({"--logpath", "./log.temp.txt", TEST_CMD_NOTHING}), true); in HWTEST_F()
203 EXPECT_EQ(Command::DispatchCommands({"--logpath", DEFAULT_LOG_PATH, TEST_CMD_NOTHING}), true); in HWTEST_F()
213 EXPECT_EQ(Command::DispatchCommands({"--logpath"}), false); in HWTEST_F()
H A Dsubcommand_stat_test.cpp241 EXPECT_EQ(Command::DispatchCommand("stat -a -c 0 -d 3 --dumpoptions"), true); in HWTEST_F()
267 EXPECT_EQ(Command::DispatchCommand("stat -a -d 3 --dumpoptions"), true); in HWTEST_F()
294 EXPECT_EQ(Command::DispatchCommand("stat -a -d 3"), true); in HWTEST_F()
320 EXPECT_EQ(Command::DispatchCommand("stat -a -c 0 -d 3"), true); in HWTEST_F()
346 EXPECT_EQ(Command::DispatchCommand("stat -a test"), false); in HWTEST_F()
392 EXPECT_EQ(Command::DispatchCommand(cmdstr), true); in HWTEST_F()
442 EXPECT_EQ(Command::DispatchCommand(cmdstr), true); in HWTEST_F()
485 EXPECT_EQ(Command::DispatchCommand(cmdstr), true); in HWTEST_F()
517 EXPECT_EQ(Command::DispatchCommand("stat -a -c 0,1 -d 3"), true); in HWTEST_F()
553 EXPECT_EQ(Command in HWTEST_F()
[all...]
H A Dspe_decoder_test.cpp110 bool ret = Command::DispatchCommand(cmdString); in HWTEST_F()
135 bool ret = Command::DispatchCommand(cmdString); in HWTEST_F()
H A Dsubcommand_record_test.cpp145 bool ret = Command::DispatchCommand(cmdString); in TestRecordCommand()
/developtools/integration_verification/tools/fotff/
H A Dmain.go56 var rootCmd *cobra.Command
60 rootCmd = &cobra.Command{
61 Run: func(cmd *cobra.Command, args []string) {
71 func initRunCmd(m pkg.Manager, t tester.Tester) *cobra.Command {
73 runCmd := &cobra.Command{
76 RunE: func(cmd *cobra.Command, args []string) error {
89 func initFlashCmd(m pkg.Manager) *cobra.Command {
91 flashCmd := &cobra.Command{
94 RunE: func(cmd *cobra.Command, args []string) error {
104 func initTestCmd(m pkg.Manager, t tester.Tester) *cobra.Command {
[all...]
/developtools/hiperf/src/
H A Dcommand.cpp24 std::string Command::fullArgument;
25 bool Command::DispatchCommands(std::vector<std::string> arguments) in DispatchCommands()
86 bool Command::DispatchCommand(std::string argument) in DispatchCommand()
88 return Command::DispatchCommands(StringSplit(argument, " ")); in DispatchCommand()
H A Dmain.cpp102 Command::DispatchCommands(args); in main()
H A Dsubcommand_record.cpp1514 ReadFileToString("/proc/self/cmdline").c_str() + Command::fullArgument; in AddCommandLineFeature()
/developtools/hdc/hdc_rust/src/host/
H A Dauth.rs235 use std::process::Command; in get_home_dir()
238 Command::new("cmd").args(["/c", "echo %USERPROFILE%"]).output() in get_home_dir()
240 Command::new("sh").args(["-c", "echo ~"]).output() in get_home_dir()
252 use std::process::Command; in get_hostname()
255 Command::new("cmd").args(["/c", "hostname"]).output() in get_hostname()
257 Command::new("cmd").args(["-c", "hostname"]).output() in get_hostname()
H A Dserver.rs199 let result = process::Command::new(&current_exe)
/developtools/hdc/hdc_rust/src/
H A Dutils.rs22 use std::process::Command;
64 Command::new(programe).args([arg_sign, &cmd]).output() in execute_cmd()
/developtools/profiler/hiebpf/include/
H A Dcommand.h30 class Command { class
33 Command();
/developtools/hiperf/include/
H A Dcommand.h23 class Command { class
/developtools/smartperf_host/ide/server/
H A Dmain.go214 cmdRes := exec.Command("cmd", "/c", fmt.Sprintf("netstat -ano -p tcp | findstr %d", portNumber))
598 return exec.Command(cmd, args...).Start()
603 return exec.Command(cmd, args...).Start()
608 return exec.Command(cmd, args...).Start()
648 res := exec.Command("cmd", "/c", fmt.Sprintf("taskkill /F /PID %d /T", pid))
/developtools/hdc/hdc_rust/src/daemon_lib/
H A Ddaemon_app.rs35 use std::process::Command;
333 let result = Command::new(config::SHELL_PROG).args(["-c", cmd]).output(); in execute_cmd()
H A Dauth.rs35 use std::process::Command;
748 let result = Command::new(cmd).output(); in show_permit_dialog()
H A Dshell.rs35 use ylong_runtime::process::{Child, Command, ChildStdin, ChildStdout, ChildStderr};
611 let mut shell_cmd = Command::new(SHELL_PROG);

Completed in 17 milliseconds