Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/tracing/
Dtracing.h47 struct TracingError { struct
60 TracingError(ErrorCode cd, std::string msg) in TracingError() argument
217 virtual void SetOnErrorCallback(std::function<void(TracingError)>) = 0;
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.h255 void NotifyError(const TracingError&);
299 std::function<void(TracingError)> error_callback_;
337 void SetOnErrorCallback(std::function<void(TracingError)>) override;
Dtracing_muxer_impl.cc313 NotifyError(TracingError{TracingError::kDisconnected, "Peer disconnected"}); in OnDisconnect()
354 NotifyError(TracingError{TracingError::kTracingFailed, error}); in OnTracingDisabled()
375 void TracingMuxerImpl::ConsumerImpl::NotifyError(const TracingError& error) { in NotifyError()
637 std::function<void(TracingError)> cb) { in SetOnErrorCallback()
645 cb(TracingError{TracingError::kDisconnected, "Peer disconnected"}); in SetOnErrorCallback()
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc3121 tracing_session->get()->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST_P()
3122 EXPECT_EQ(perfetto::TracingError::kTracingFailed, error.code); in TEST_P()
3147 tracing_session->get()->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST_P()
3148 EXPECT_EQ(perfetto::TracingError::kDisconnected, error.code); in TEST_P()
3170 tracing_session->get()->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST_P()
3171 EXPECT_EQ(perfetto::TracingError::kDisconnected, error.code); in TEST_P()