Searched refs:TracingError (Results 1 – 4 of 4) sorted by relevance
47 struct TracingError { struct60 TracingError(ErrorCode cd, std::string msg) in TracingError() argument217 virtual void SetOnErrorCallback(std::function<void(TracingError)>) = 0;
255 void NotifyError(const TracingError&);299 std::function<void(TracingError)> error_callback_;337 void SetOnErrorCallback(std::function<void(TracingError)>) override;
313 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()
3121 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()