Home
last modified time | relevance | path

Searched refs:RunCmd (Results 1 – 8 of 8) sorted by relevance

/system/extras/simpleperf/
Dworkload.h40 static bool RunCmd(const std::vector<std::string>& args, bool report_error = true);
Dcmd_api.cpp214 return Workload::RunCmd({"rm", "-rf", SIMPLEPERF_DATA_DIR}); in RemoveRecordingData()
Dworkload.cpp44 bool Workload::RunCmd(const std::vector<std::string>& args, bool report_error) { in RunCmd() function in Workload
Denvironment.cpp627 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()
Dcmd_stat_test.cpp293 ASSERT_TRUE(Workload::RunCmd({"am", "start", app_name + "/.MainActivity"})); in TestStatingApps()
Dcmd_debug_unwind.cpp298 if (!Workload::RunCmd({"mv", output_filename_, tmp_file->path})) { in JoinCallChains()
Dcmd_record.cpp1449 if (!Workload::RunCmd({"mv", record_filename_, tmp_file->path})) { in PostUnwindRecords()
1481 if (!Workload::RunCmd({"mv", record_filename_, tmp_file->path})) { in JoinCallChains()
Dcmd_record_test.cpp749 ASSERT_TRUE(Workload::RunCmd({"am", "start", app_name + "/.MainActivity"})); in TestRecordingApps()