Home
last modified time | relevance | path

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

/external/perfetto/src/tracing/test/
Dmock_consumer.cc28 MockConsumer::MockConsumer(base::TestTaskRunner* task_runner) in MockConsumer() function in perfetto::MockConsumer
31 MockConsumer::~MockConsumer() { in ~MockConsumer()
42 void MockConsumer::Connect(TracingService* svc, uid_t uid) { in Connect()
51 void MockConsumer::EnableTracing(const TraceConfig& trace_config, in EnableTracing()
56 void MockConsumer::StartTracing() { in StartTracing()
60 void MockConsumer::ChangeTraceConfig(const TraceConfig& trace_config) { in ChangeTraceConfig()
64 void MockConsumer::DisableTracing() { in DisableTracing()
68 void MockConsumer::FreeBuffers() { in FreeBuffers()
72 void MockConsumer::WaitForTracingDisabled(uint32_t timeout_ms) { in WaitForTracingDisabled()
81 MockConsumer::FlushRequest MockConsumer::Flush(uint32_t timeout_ms) { in Flush()
[all …]
Dmock_consumer.h36 class MockConsumer : public Consumer {
47 explicit MockConsumer(base::TestTaskRunner*);
48 ~MockConsumer() override;
Dtracing_integration_test.cc75 class MockConsumer : public Consumer { class
77 ~MockConsumer() override {} in ~MockConsumer()
219 MockConsumer consumer_;
/external/perfetto/src/tracing/core/
Dtracing_service_impl_unittest.cc118 std::unique_ptr<MockConsumer> CreateMockConsumer() { in CreateMockConsumer()
119 return std::unique_ptr<MockConsumer>( in CreateMockConsumer()
120 new StrictMock<MockConsumer>(&task_runner)); in CreateMockConsumer()
211 std::unique_ptr<MockConsumer> consumer_a = CreateMockConsumer(); in TEST_F()
212 std::unique_ptr<MockConsumer> consumer_b = CreateMockConsumer(); in TEST_F()
241 std::unique_ptr<MockConsumer> consumer_a = CreateMockConsumer(); in TEST_F()
257 std::unique_ptr<MockConsumer> consumer_b = CreateMockConsumer(); in TEST_F()
302 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
333 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
388 std::unique_ptr<MockConsumer> consumer = CreateMockConsumer(); in TEST_F()
[all …]
/external/openscreen/cast/streaming/
Dreceiver_unittest.cc258 class MockConsumer : public Receiver::Consumer { class
298 MockConsumer* consumer() { return &consumer_; } in consumer()
361 testing::NiceMock<MockConsumer> consumer_;