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()
85 service_endpoint_->Flush(timeout_ms, [result, on_flush](bool success) { in Flush()
117 service_endpoint_->ReadBuffers(); in ReadBuffers()
[all …]
Dmock_producer.cc36 if (!service_endpoint_) in ~MockProducer()
42 service_endpoint_.reset(); in ~MockProducer()
51 service_endpoint_ = in Connect()
69 service_endpoint_->RegisterDataSource(ds_desc); in RegisterDataSource()
73 service_endpoint_->UnregisterDataSource(name); in UnregisterDataSource()
78 service_endpoint_->RegisterTraceWriter(writer_id, target_buffer); in RegisterTraceWriter()
82 service_endpoint_->UnregisterTraceWriter(writer_id); in UnregisterTraceWriter()
151 return service_endpoint_->CreateTraceWriter(buf_id); in CreateTraceWriter()
170 service_endpoint_->NotifyFlushComplete(flush_req_id); in WaitForFlush()
Dmock_consumer.h64 return service_endpoint_.get(); in endpoint()
86 std::unique_ptr<TracingService::ConsumerEndpoint> service_endpoint_; variable
Dmock_producer.h74 return service_endpoint_.get(); in endpoint()
94 std::unique_ptr<TracingService::ProducerEndpoint> service_endpoint_; variable