Home
last modified time | relevance | path

Searched refs:CreateCommandInstance (Results 1 – 18 of 18) sorted by relevance

/system/extras/simpleperf/
Dcmd_help.cpp49 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); in Run()
80 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp()
Dprofcollect.cpp41 auto recordCmd = CreateCommandInstance("record"); in Record()
53 auto injectCmd = CreateCommandInstance("inject"); in Inject()
Dcmd_api_test.cpp64 ASSERT_TRUE(CreateCommandInstance("api-prepare")->Run({})); in RecordApp()
79 CreateCommandInstance("api-collect")->Run({"--app", package_name, "-o", tmpfile.path})); in RecordApp()
Dcommand_test.cpp33 TEST(command, CreateCommandInstance) { in TEST() argument
34 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()
36 ASSERT_TRUE(CreateCommandInstance("mock1") != nullptr); in TEST()
38 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()
Dcmd_debug_unwind_test.cpp35 return CreateCommandInstance("debug-unwind"); in DebugUnwindCmd()
88 ASSERT_TRUE(CreateCommandInstance("report-sample")->Run( in TEST()
Dcmd_list_test.cpp27 list_cmd = CreateCommandInstance("list"); in SetUp()
Dcmd_trace_sched_test.cpp43 return CreateCommandInstance("trace-sched"); in TraceSchedCmd()
Dcmd_dumprecord_test.cpp26 return CreateCommandInstance("dump"); in DumpCmd()
Dcommand.cpp162 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance() function
268 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); in RunSimpleperfCmd()
Dcmd_inject_test.cpp28 static std::unique_ptr<Command> InjectCmd() { return CreateCommandInstance("inject"); } in InjectCmd()
Dcmd_kmem_test.cpp33 return CreateCommandInstance("kmem"); in KmemCmd()
Dcommand.h203 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
Dcmd_report_sample_test.cpp27 return CreateCommandInstance("report-sample"); in ReportSampleCmd()
Dcmd_report_test.cpp34 return CreateCommandInstance("report"); in ReportCmd()
514 return CreateCommandInstance("record"); in RecordCmd()
Dcmd_record_test.cpp54 return CreateCommandInstance("record"); in RecordCmd()
1011 CreateCommandInstance("inject")->Run({"-i", record_file.path, "-o", inject_file.path})); in TEST()
1098 ASSERT_TRUE(CreateCommandInstance("dump")->Run({tmpfile.path})); in TEST()
Dcmd_trace_sched.cpp174 std::unique_ptr<Command> record_cmd = CreateCommandInstance("record"); in RecordSchedEvents()
Dcmd_stat_test.cpp35 return CreateCommandInstance("stat"); in StatCmd()
Dcmd_kmem.cpp468 std::unique_ptr<Command> record_cmd = CreateCommandInstance("record"); in RecordKmemInfo()