Home
last modified time | relevance | path

Searched refs:data_source_instances_ (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/tracing/test/
Dmock_producer.cc106 EXPECT_FALSE(data_source_instances_.count(cfg.name())); in WaitForDataSourceSetup()
110 data_source_instances_.emplace( in WaitForDataSourceSetup()
127 if (data_source_instances_.count(cfg.name()) == 0) { in WaitForDataSourceStart()
131 data_source_instances_.emplace( in WaitForDataSourceStart()
143 ASSERT_EQ(1u, data_source_instances_.count(name)); in WaitForDataSourceStop()
144 DataSourceInstanceID ds_id = data_source_instances_[name].id; in WaitForDataSourceStop()
148 data_source_instances_.erase(name); in WaitForDataSourceStop()
153 PERFETTO_DCHECK(data_source_instances_.count(data_source_name)); in CreateTraceWriter()
154 BufferID buf_id = data_source_instances_[data_source_name].target_buffer; in CreateTraceWriter()
180 auto it = data_source_instances_.find(name); in GetDataSourceInstanceId()
[all …]
Dmock_producer.h98 std::map<std::string, EnabledDataSource> data_source_instances_; variable