Searched refs:GetDefaultEvent (Results 1 – 1 of 1) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_record_test.cpp | 57 static const char* GetDefaultEvent() { in GetDefaultEvent() function 71 v.insert(v.end(), {"-e", GetDefaultEvent()}); in RunRecordCmd() 119 CheckEventType(tmpfile.path, GetDefaultEvent(), 100000u, 0); in TEST() 129 CheckEventType(tmpfile.path, GetDefaultEvent(), 0, 99u); in TEST() 145 ASSERT_TRUE(RecordCmd()->Run({"-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", SLEEP_SEC})); in TEST() 229 ASSERT_TRUE(RunRecordCmd({"-e", GetDefaultEvent() + std::string(":u")})); in TEST() 511 ASSERT_TRUE(RecordCmd()->Run({"-a", "-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", "1"})); in TEST() 537 tmpfile.path, "--in-app", "-e", GetDefaultEvent()})); in TEST() 539 {"--duration", "1", "-o", tmpfile.path, "-e", GetDefaultEvent(), "sleep", "2"})); in TEST() 564 GetDefaultEvent(), "sleep", "1000000"})); in TEST() [all …]
|