Searched refs:dsid (Results 1 – 2 of 2) sorted by relevance
136 const DataSourceInstanceID dsid = req.new_instance_id(); in OnServiceRequest() local139 data_sources_setup_.insert(dsid); in OnServiceRequest()140 producer_->SetupDataSource(dsid, cfg); in OnServiceRequest()146 const DataSourceInstanceID dsid = req.new_instance_id(); in OnServiceRequest() local149 if (!data_sources_setup_.count(dsid)) { in OnServiceRequest()152 producer_->SetupDataSource(dsid, cfg); in OnServiceRequest()154 producer_->StartDataSource(dsid, cfg); in OnServiceRequest()159 const DataSourceInstanceID dsid = cmd.stop_data_source().instance_id(); in OnServiceRequest() local160 producer_->StopDataSource(dsid); in OnServiceRequest()161 data_sources_setup_.erase(dsid); in OnServiceRequest()
331 DataSourceInstanceID dsid, in SetupDataSource() argument341 cmd->mutable_setup_data_source()->set_new_instance_id(dsid); in SetupDataSource()349 DataSourceInstanceID dsid, in StartDataSource() argument359 cmd->mutable_start_data_source()->set_new_instance_id(dsid); in StartDataSource()365 DataSourceInstanceID dsid) { in StopDataSource() argument374 cmd->mutable_stop_data_source()->set_instance_id(dsid); in StopDataSource()