Searched refs:MockConsumer (Results 1 – 4 of 4) sorted by relevance
27 MockConsumer::MockConsumer(base::TestTaskRunner* task_runner) in MockConsumer() function in perfetto::MockConsumer30 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()
35 class MockConsumer : public Consumer {46 explicit MockConsumer(base::TestTaskRunner*);47 ~MockConsumer() override;
68 class MockConsumer : public Consumer { class70 ~MockConsumer() override {} in ~MockConsumer()171 MockConsumer consumer_;
76 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 …]