class Inspector
Defined at line 430 of file ../../src/media/audio/services/device_registry/inspector.h
This singleton manages (and owns, from a lifetime mgmt standpoint) Inspect for the entire ADR.
Inspect for core/audio_device_registry contains two sections: Devices and FIDL Servers.
The Devices section contains info on devices that have been detected and presented to clients.
The FIDL Servers section contains info on client instances of the six ADR FIDL protocols.
Public Methods
void Initialize (async_dispatcher_t * dispatcher)
static
Defined at line 26 of file ../../src/media/audio/services/device_registry/inspector.cc
std::unique_ptr<Inspector> & Singleton ()
Defined at line 433 of file ../../src/media/audio/services/device_registry/inspector.h
std::unique_ptr<inspect::ComponentInspector> & component_inspector ()
Defined at line 434 of file ../../src/media/audio/services/device_registry/inspector.h
void Inspector (async_dispatcher_t * dispatcher)
////////////////////////////////////
Inspector methods
Defined at line 802 of file ../../src/media/audio/services/device_registry/inspector.cc
void ~Inspector ()
Defined at line 827 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordHealthOk ()
Defined at line 829 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordUnhealthy (const std::string & health_message)
Defined at line 834 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureToConnect ()
Defined at line 839 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureOther ()
Defined at line 844 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureUnsupported ()
Defined at line 849 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<DeviceInspectInstance> RecordDeviceInitializing (const std::string &device_name,fuchsia_audio_device::DeviceTypedevice_type,const zx::time &added_at,const std::string &added_by)
Defined at line 854 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordRegistryInstance (const zx::time & created_at)
Create an Inspect node for the instance (e.g. a child of control_servers_root_ if this is a
Control instance), wrap it in a FidlServerInspectInstance object, and return a shared_ptr to
it. This class (via control_server_instances_ etc.) owns the instance node; the child
FidlServerInspectInstance creates nodes or properties attached to the instance node.
Defined at line 865 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordObserverInstance (const zx::time & created_at)
Defined at line 876 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordControlCreatorInstance (const zx::time & created_at)
Defined at line 887 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordControlInstance (const zx::time & created_at)
Defined at line 898 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordRingBufferInstance (const zx::time & created_at)
Defined at line 909 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordPacketStreamInstance (const zx::time & created_at)
Defined at line 920 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<ProviderInspectInstance> RecordProviderInspectInstance (const zx::time & created_at)
Defined at line 931 of file ../../src/media/audio/services/device_registry/inspector.cc