Home
last modified time | relevance | path

Searched refs:service_endpoint_ (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/tracing/test/
Dmock_consumer.cc32 if (!service_endpoint_) in ~MockConsumer()
38 service_endpoint_.reset(); in ~MockConsumer()
43 service_endpoint_ = svc->ConnectConsumer(this, uid); in Connect()
53 service_endpoint_->EnableTracing(trace_config, std::move(write_into_file)); in EnableTracing()
57 service_endpoint_->StartTracing(); in StartTracing()
61 service_endpoint_->ChangeTraceConfig(trace_config); in ChangeTraceConfig()
65 service_endpoint_->DisableTracing(); in DisableTracing()
69 service_endpoint_->FreeBuffers(); in FreeBuffers()
86 service_endpoint_->Flush(timeout_ms, [result, on_flush](bool success) { in Flush()
119 service_endpoint_->ReadBuffers(); in ReadBuffers()
[all …]
Dmock_producer.cc37 if (!service_endpoint_) in ~MockProducer()
43 service_endpoint_.reset(); in ~MockProducer()
54 service_endpoint_ = svc->ConnectProducer( in Connect()
73 service_endpoint_->RegisterDataSource(ds_desc); in RegisterDataSource()
77 service_endpoint_->UnregisterDataSource(name); in UnregisterDataSource()
82 service_endpoint_->RegisterTraceWriter(writer_id, target_buffer); in RegisterTraceWriter()
86 service_endpoint_->UnregisterTraceWriter(writer_id); in UnregisterTraceWriter()
155 return service_endpoint_->CreateTraceWriter(buf_id); in CreateTraceWriter()
174 service_endpoint_->NotifyFlushComplete(flush_req_id); in WaitForFlush()
Dmock_consumer.h66 return service_endpoint_.get(); in endpoint()
88 std::unique_ptr<TracingService::ConsumerEndpoint> service_endpoint_; variable
Dmock_producer.h77 return service_endpoint_.get(); in endpoint()
97 std::unique_ptr<TracingService::ProducerEndpoint> service_endpoint_; variable