Searched refs:TracingError (Results 1 – 4 of 4) sorted by relevance
50 struct TracingError { struct63 TracingError(ErrorCode cd, std::string msg) in TracingError() argument361 virtual void SetOnErrorCallback(std::function<void(TracingError)>) = 0;
306 void NotifyError(const TracingError&);349 std::function<void(TracingError)> error_callback_;387 void SetOnErrorCallback(std::function<void(TracingError)>) override;
495 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()
4390 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()