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.cc102 EXPECT_FALSE(data_source_instances_.count(cfg.name())); in WaitForDataSourceSetup()
106 data_source_instances_.emplace( in WaitForDataSourceSetup()
123 if (data_source_instances_.count(cfg.name()) == 0) { in WaitForDataSourceStart()
127 data_source_instances_.emplace( in WaitForDataSourceStart()
139 ASSERT_EQ(1u, data_source_instances_.count(name)); in WaitForDataSourceStop()
140 DataSourceInstanceID ds_id = data_source_instances_[name].id; in WaitForDataSourceStop()
144 data_source_instances_.erase(name); in WaitForDataSourceStop()
149 PERFETTO_DCHECK(data_source_instances_.count(data_source_name)); in CreateTraceWriter()
150 BufferID buf_id = data_source_instances_[data_source_name].target_buffer; in CreateTraceWriter()
176 auto it = data_source_instances_.find(name); in GetDataSourceInstanceId()
[all …]
Dmock_producer.h95 std::map<std::string, EnabledDataSource> data_source_instances_; variable