class UIStateProvider
Defined at line 29 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.h
Caches the UI activity state and dynamically computes the duration since the last state change
Public Methods
void UIStateProvider (async_dispatcher_t * dispatcher, std::shared_ptr<sys::ServiceDirectory> services, std::unique_ptr<timekeeper::Clock> clock, std::unique_ptr<backoff::Backoff> backoff)
Defined at line 32 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.cc
std::set<std::string> GetAnnotationKeys ()
Defined at line 80 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.cc
std::set<std::string> GetKeys ()
Defined at line 87 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.cc
Annotations Get ()
Returns the duration since the last state change
Defined at line 102 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.cc
void GetOnUpdate (::fit::function<void (Annotations)> callback)
Sets the most recent UI activity state with |callback|
Defined at line 122 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.cc
void OnStateChanged (fuchsia::ui::activity::State state, int64_t transition_time, OnStateChangedCallback callback)
Defined at line 91 of file ../../src/developer/forensics/feedback/annotations/ui_state_provider.cc