Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcommand_test.cpp31 TEST(command, CreateCommandInstance) { in TEST() argument
32 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()
34 ASSERT_TRUE(CreateCommandInstance("mock1") != nullptr); in TEST()
36 ASSERT_TRUE(CreateCommandInstance("mock1") == nullptr); in TEST()
Dcmd_help.cpp47 std::unique_ptr<Command> cmd = CreateCommandInstance(args[0]); in Run()
75 std::unique_ptr<Command> cmd = CreateCommandInstance(cmd_name); in PrintShortHelp()
Dcmd_dumprecord_test.cpp23 return CreateCommandInstance("dump"); in DumpCmd()
Dcmd_list_test.cpp24 list_cmd = CreateCommandInstance("list"); in SetUp()
Dcmd_report_sample_test.cpp26 return CreateCommandInstance("report-sample"); in ReportSampleCmd()
Dcommand.h66 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name);
Dmain.cpp61 std::unique_ptr<Command> command = CreateCommandInstance(args[0]); in main()
Dcommand.cpp59 std::unique_ptr<Command> CreateCommandInstance(const std::string& cmd_name) { in CreateCommandInstance() function
Dcmd_kmem_test.cpp32 return CreateCommandInstance("kmem"); in KmemCmd()
Dcmd_stat_test.cpp31 return CreateCommandInstance("stat"); in StatCmd()
Dcmd_report_test.cpp33 return CreateCommandInstance("report"); in ReportCmd()
471 return CreateCommandInstance("record"); in RecordCmd()
Dcmd_record_test.cpp38 return CreateCommandInstance("record"); in RecordCmd()
Dcmd_kmem.cpp468 std::unique_ptr<Command> record_cmd = CreateCommandInstance("record"); in RecordKmemInfo()