Lines Matching refs:MockDataSource
210 class MockDataSource;
219 MockDataSource* instance;
227 class MockDataSource : public perfetto::DataSource<MockDataSource> { class
385 RegisterDataSource<MockDataSource>("my_data_source"); in SetUp()
688 void MockDataSource::OnSetup(const SetupArgs& args) { in OnSetup()
700 void MockDataSource::OnStart(const StartArgs&) { in OnStart()
707 void MockDataSource::OnStop(const StopArgs& args) { in OnStop()
2580 MockDataSource::Trace([](MockDataSource::TraceContext) { in TEST_P()
2583 MockDataSource::CallIfEnabled([](uint32_t) { in TEST_P()
2594 MockDataSource::Trace( in TEST_P()
2595 [&trace_lambda_calls](MockDataSource::TraceContext ctx) { in TEST_P()
2609 MockDataSource::CallIfEnabled([&active_instances](uint32_t instances) { in TEST_P()
2618 MockDataSource::Trace([](MockDataSource::TraceContext) { in TEST_P()
2621 MockDataSource::CallIfEnabled([](uint32_t) { in TEST_P()
2659 MockDataSource::Trace([&trace_lambda_calls](MockDataSource::TraceContext) { in TEST_P()
2661 MockDataSource::Trace([&trace_lambda_calls](MockDataSource::TraceContext) { in TEST_P()
2686 MockDataSource::Trace([&](MockDataSource::TraceContext ctx) { in TEST_P()
2744 MockDataSource::Trace( in TEST_P()
2745 [&first_large_message_str](MockDataSource::TraceContext ctx) { in TEST_P()
2766 MockDataSource::Trace( in TEST_P()
2767 [&second_large_message_str](MockDataSource::TraceContext ctx) { in TEST_P()
2878 MockDataSource::Trace([&lambda_called](MockDataSource::TraceContext ctx) { in TEST_P()
2895 MockDataSource::Trace([](MockDataSource::TraceContext) { in TEST_P()
2962 EXPECT_TRUE(MockDataSource::Register(dsd)); in TEST_P()
2978 MockDataSource::Trace([&trace_lambda_calls](MockDataSource::TraceContext) { in TEST_P()
3055 MockDataSource::Trace([](MockDataSource::TraceContext ctx) { in TEST_P()
3064 MockDataSource::Trace([](MockDataSource::TraceContext ctx) { in TEST_P()
4022 PERFETTO_DECLARE_DATA_SOURCE_STATIC_MEMBERS(MockDataSource);
4027 PERFETTO_DEFINE_DATA_SOURCE_STATIC_MEMBERS(MockDataSource);