Searched refs:RunCmd (Results 1 – 8 of 8) sorted by relevance
/system/extras/simpleperf/ |
D | workload.h | 40 static bool RunCmd(const std::vector<std::string>& args, bool report_error = true);
|
D | cmd_api.cpp | 214 return Workload::RunCmd({"rm", "-rf", SIMPLEPERF_DATA_DIR}); in RemoveRecordingData()
|
D | workload.cpp | 44 bool Workload::RunCmd(const std::vector<std::string>& args, bool report_error) { in RunCmd() function in Workload
|
D | environment.cpp | 627 return Workload::RunCmd({"run-as", package_name, "echo", ">/dev/null", "2>/dev/null"}, false); in IsAppDebuggable() 756 Workload::RunCmd({"run-as", package_name_, "rm", "-rf", "simpleperf"}); in ~RunAs() 789 if (!Workload::RunCmd({"run-as", package_name_, "cp", simpleperf_path_, "simpleperf"})) { in Prepare()
|
D | cmd_stat_test.cpp | 293 ASSERT_TRUE(Workload::RunCmd({"am", "start", app_name + "/.MainActivity"})); in TestStatingApps()
|
D | cmd_debug_unwind.cpp | 298 if (!Workload::RunCmd({"mv", output_filename_, tmp_file->path})) { in JoinCallChains()
|
D | cmd_record.cpp | 1449 if (!Workload::RunCmd({"mv", record_filename_, tmp_file->path})) { in PostUnwindRecords() 1481 if (!Workload::RunCmd({"mv", record_filename_, tmp_file->path})) { in JoinCallChains()
|
D | cmd_record_test.cpp | 749 ASSERT_TRUE(Workload::RunCmd({"am", "start", app_name + "/.MainActivity"})); in TestRecordingApps()
|