Rename producer methods to Start/StopDataSource
This is a pure rename with no functional changes.
This is in preparation for the fast-triggering
APIs described in the linked bug.
Bug: 116547201
Change-Id: Ie9d5d4793350c5e92acec5c805637db05e54e634
diff --git a/test/end_to_end_shared_memory_fuzzer.cc b/test/end_to_end_shared_memory_fuzzer.cc
index 6d29512..7bd70b3 100644
--- a/test/end_to_end_shared_memory_fuzzer.cc
+++ b/test/end_to_end_shared_memory_fuzzer.cc
@@ -76,9 +76,8 @@
void OnDisconnect() override {}
- void CreateDataSourceInstance(
- DataSourceInstanceID,
- const DataSourceConfig& source_config) override {
+ void StartDataSource(DataSourceInstanceID,
+ const DataSourceConfig& source_config) override {
auto trace_writer = endpoint_->CreateTraceWriter(
static_cast<BufferID>(source_config.target_buffer()));
{
@@ -94,7 +93,7 @@
trace_writer->Flush(on_produced_and_committed_);
}
- void TearDownDataSourceInstance(DataSourceInstanceID) override {}
+ void StopDataSource(DataSourceInstanceID) override {}
void OnTracingSetup() override {}
void Flush(FlushRequestID, const DataSourceInstanceID*, size_t) override {}