Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/test/
Dmock_consumer.cc27 MockConsumer::MockConsumer(base::TestTaskRunner* task_runner) in MockConsumer() function in perfetto::MockConsumer
30 MockConsumer::~MockConsumer() { in ~MockConsumer()
41 void MockConsumer::Connect(Service* svc) { in Connect()
50 void MockConsumer::EnableTracing(const TraceConfig& trace_config, in EnableTracing()
55 void MockConsumer::DisableTracing() { in DisableTracing()
59 void MockConsumer::FreeBuffers() { in FreeBuffers()
63 void MockConsumer::WaitForTracingDisabled() { in WaitForTracingDisabled()
71 MockConsumer::FlushRequest MockConsumer::Flush(uint32_t timeout_ms) { in Flush()
91 std::vector<protos::TracePacket> MockConsumer::ReadBuffers() { in ReadBuffers()
Dmock_consumer.h35 class MockConsumer : public Consumer {
46 explicit MockConsumer(base::TestTaskRunner*);
47 ~MockConsumer() override;
Dtracing_integration_test.cc68 class MockConsumer : public Consumer { class
70 ~MockConsumer() override {} in ~MockConsumer()
171 MockConsumer consumer_;
/external/perfetto/src/tracing/core/
Dservice_impl_unittest.cc76 std::unique_ptr<MockConsumer> CreateMockConsumer() { in CreateMockConsumer()
77 return std::unique_ptr<MockConsumer>( in CreateMockConsumer()
78 new StrictMock<MockConsumer>(&task_runner)); in CreateMockConsumer()
128 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
150 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
194 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
217 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
271 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
340 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
396 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
[all …]