Home
last modified time | relevance | path

Searched refs:MockProducer (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/tracing/test/
Dmock_producer.cc32 MockProducer::MockProducer(base::TestTaskRunner* task_runner) in MockProducer() function in perfetto::MockProducer
35 MockProducer::~MockProducer() { in ~MockProducer()
46 void MockProducer::Connect(TracingService* svc, in Connect()
60 void MockProducer::RegisterDataSource(const std::string& name, in RegisterDataSource()
72 void MockProducer::UnregisterDataSource(const std::string& name) { in UnregisterDataSource()
76 void MockProducer::RegisterTraceWriter(uint32_t writer_id, in RegisterTraceWriter()
81 void MockProducer::UnregisterTraceWriter(uint32_t writer_id) { in UnregisterTraceWriter()
85 void MockProducer::WaitForTracingSetup() { in WaitForTracingSetup()
94 void MockProducer::WaitForDataSourceSetup(const std::string& name) { in WaitForDataSourceSetup()
113 void MockProducer::WaitForDataSourceStart(const std::string& name) { in WaitForDataSourceStart()
[all …]
Dmock_producer.h35 class MockProducer : public Producer {
43 explicit MockProducer(base::TestTaskRunner*);
44 ~MockProducer() override;
Dtracing_integration_test.cc55 class MockProducer : public Producer { class
57 ~MockProducer() override {} in ~MockProducer()
217 MockProducer producer_;
/external/perfetto/src/tracing/core/
Dtracing_service_impl_unittest.cc100 std::unique_ptr<MockProducer> CreateMockProducer() { in CreateMockProducer()
101 return std::unique_ptr<MockProducer>( in CreateMockProducer()
102 new StrictMock<MockProducer>(&task_runner)); in CreateMockProducer()
217 std::unique_ptr<MockProducer> mock_producer_1 = CreateMockProducer(); in TEST_F()
218 std::unique_ptr<MockProducer> mock_producer_2 = CreateMockProducer(); in TEST_F()
249 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F()
278 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F()
333 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F()
375 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F()
422 std::unique_ptr<MockProducer> producer = CreateMockProducer(); in TEST_F()
[all …]