class Inspector
Defined at line 686 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)
Defined at line 166 of file ../../src/media/audio/services/device_registry/inspector.cc
std::unique_ptr<Inspector> & Singleton ()
Defined at line 689 of file ../../src/media/audio/services/device_registry/inspector.h
std::unique_ptr<inspect::ComponentInspector> & component_inspector ()
Defined at line 690 of file ../../src/media/audio/services/device_registry/inspector.h
void Inspector (async_dispatcher_t * dispatcher)
////////////////////////////////////
Inspector methods
Defined at line 1680 of file ../../src/media/audio/services/device_registry/inspector.cc
void ~Inspector ()
Defined at line 1705 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordHealthOk ()
Defined at line 1707 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordUnhealthy (const std::string & health_message)
Defined at line 1712 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureToConnect ()
Defined at line 1717 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureOther ()
Defined at line 1722 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureUnsupported ()
Defined at line 1727 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 1732 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 1743 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordObserverInstance (const zx::time & created_at)
Defined at line 1754 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordControlCreatorInstance (const zx::time & created_at)
Defined at line 1765 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordControlInstance (const zx::time & created_at)
Defined at line 1776 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordRingBufferInstance (const zx::time & created_at)
Defined at line 1787 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordPacketStreamInstance (const zx::time & created_at)
Defined at line 1798 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<ProviderInspectInstance> RecordProviderInspectInstance (const zx::time & created_at)
Defined at line 1809 of file ../../src/media/audio/services/device_registry/inspector.cc