Searched refs:TEST_IN_ROOT (Results 1 – 5 of 5) sorted by relevance
/system/extras/simpleperf/ |
D | cmd_kmem_test.cpp | 89 TEST_IN_ROOT(ASSERT_TRUE(RunKmemRecordCmd({"--slab"}))); in TEST() 93 TEST_IN_ROOT(ASSERT_TRUE(RunKmemRecordCmd({"--slab", "-g"}))); in TEST() 94 TEST_IN_ROOT(ASSERT_TRUE(RunKmemRecordCmd({"--slab", "--call-graph", "fp"}))); in TEST() 99 TEST_IN_ROOT({ in TEST() 109 TEST_IN_ROOT({ in TEST()
|
D | cmd_trace_sched_test.cpp | 47 TEST_IN_ROOT({ ASSERT_TRUE(TraceSchedCmd()->Run({"--duration", "1"})); }); in TEST()
|
D | cmd_stat_test.cpp | 47 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "sleep", "1"}))); in TEST() 55 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "-e", "sched:sched_switch", "sleep", "1"}))); in TEST() 90 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "-e", event_string, "sleep", "1"}))); in TEST() 186 TEST_IN_ROOT(ASSERT_TRUE(StatCmd()->Run({"-a", "--interval", "100", "--duration", "0.3"}))); in TEST() 191 TEST_IN_ROOT(ASSERT_TRUE( in TEST() 331 TEST_IN_ROOT(StatCmd()->Run({"--use-devfreq-counters", "sleep", "0.1"})); in TEST() 339 TEST_IN_ROOT(StatCmd()->Run({"--per-thread", "-a", "--duration", "0.1"})); in TEST() 344 TEST_IN_ROOT(StatCmd()->Run({"--per-core", "-a", "--duration", "0.1"})); in TEST()
|
D | test_util.h | 40 #define TEST_IN_ROOT(TestStatement) \ macro
|
D | cmd_record_test.cpp | 92 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-a"}))); in TEST() 180 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-a", "-e", "sched:sched_switch"}))); in TEST() 245 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-a", "--call-graph", "fp"}))); in TEST() 263 TEST_IN_ROOT(RunRecordCmd({"-a", "--call-graph", "dwarf"})); in TEST() 1029 TEST_IN_ROOT(ASSERT_TRUE(RunRecordCmd({"-e", event_string}))); in TEST()
|