Home
last modified time | relevance | path

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

/external/perfetto/include/perfetto/tracing/
Dtracing.h50 struct TracingError { struct
63 TracingError(ErrorCode cd, std::string msg) in TracingError() argument
361 virtual void SetOnErrorCallback(std::function<void(TracingError)>) = 0;
/external/perfetto/src/tracing/internal/
Dtracing_muxer_impl.h306 void NotifyError(const TracingError&);
349 std::function<void(TracingError)> error_callback_;
387 void SetOnErrorCallback(std::function<void(TracingError)>) override;
Dtracing_muxer_impl.cc495 NotifyError(TracingError{TracingError::kDisconnected, "Peer disconnected"}); in OnDisconnect()
536 NotifyError(TracingError{TracingError::kTracingFailed, error}); in OnTracingDisabled()
557 void TracingMuxerImpl::ConsumerImpl::NotifyError(const TracingError& error) { in NotifyError()
825 std::function<void(TracingError)> cb) { in SetOnErrorCallback()
833 cb(TracingError{TracingError::kDisconnected, "Peer disconnected"}); in SetOnErrorCallback()
/external/perfetto/src/tracing/test/
Dapi_integrationtest.cc4390 tracing_session->get()->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST_P()
4391 EXPECT_EQ(perfetto::TracingError::kTracingFailed, error.code); in TEST_P()
4416 tracing_session->get()->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST_P()
4417 EXPECT_EQ(perfetto::TracingError::kDisconnected, error.code); in TEST_P()
4439 tracing_session->get()->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST_P()
4440 EXPECT_EQ(perfetto::TracingError::kDisconnected, error.code); in TEST_P()
6423 ts->SetOnErrorCallback([&](perfetto::TracingError error) { in TEST()
6424 EXPECT_EQ(perfetto::TracingError::kDisconnected, error.code); in TEST()