Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dtest_util.h147 Workload::RunCmd({"pm", "uninstall", package}); in ~AppHelper()
152 if (Workload::RunCmd({"pm", "install", "-t", "--abi", GetABI(), apk_path})) { in InstallApk()
Dworkload.h40 static bool RunCmd(const std::vector<std::string>& args, bool report_error = true);
Dcmd_api_test.cpp83 ASSERT_TRUE(Workload::RunCmd({"unzip", "-d", tmpdir.path, tmpfile.path})); in RecordApp()
Dcmd_api.cpp218 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.cpp611 return Workload::RunCmd({"run-as", package_name, "echo", ">/dev/null", "2>/dev/null"}, false); in IsAppDebuggable()
743 Workload::RunCmd({"run-as", package_name_, "rm", "-rf", "simpleperf"}); in ~RunAs()
776 if (!Workload::RunCmd({"run-as", package_name_, "cp", simpleperf_path_, "simpleperf"})) { in Prepare()
Dcmd_debug_unwind.cpp299 if (!Workload::RunCmd({"mv", output_filename_, tmp_file->path})) { in JoinCallChains()
Dcmd_stat_test.cpp312 ASSERT_TRUE(Workload::RunCmd({"am", "start", app_name + "/.MainActivity"})); in TestStatingApps()
Dcmd_record.cpp1566 if (!Workload::RunCmd({"mv", record_filename_, tmp_file->path})) { in PostUnwindRecords()
1598 if (!Workload::RunCmd({"mv", record_filename_, tmp_file->path})) { in JoinCallChains()
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp299 static bool RunCmd(std::vector<const char*> args, std::string* stdout) { in RunCmd() function
359 if (!RunCmd({"/system/bin/cp", path.c_str(), to_path.c_str()}, nullptr)) { in FindSimpleperfInTempDir()
366 if (!RunCmd({to_path.c_str(), "list", "sw"}, &s)) { in FindSimpleperfInTempDir()
377 if (!RunCmd({"/system/bin/getprop", "security.perf_harden"}, &s)) { in CheckIfPerfEnabled()