Lines Matching defs:HandleDescription
95 struct HandleDescription { struct
96 Handle handle_;
97 StateKind kind_{StateKind::kUncreated}; // Our state. required for correctness.
98 OnStateChangedCb callback_{nullptr}; // Required for Destroy callbacks.
99 void* callback_arg_{nullptr};
102 State state_{State::kSessionNotFound}; // perfetto state
103 std::optional<uint64_t> started_tracing_ns_; // when StartedTracing last called.
104 std::optional<uint64_t> read_trace_ns_; // When ReadTrace last called.
105 std::uint64_t last_transition_ns_{0};
106 std::optional<uint64_t> trace_cookie_; // atrace beginning at StartTracing.
107 bool trace_ended_{false}; // atrace ending at ReadTrace or Destroy.
109 HandleDescription(Handle handle): handle_(handle) {} in HandleDescription() function