class Inspector
Defined at line 326 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 24 of file ../../src/media/audio/services/device_registry/inspector.cc
std::unique_ptr<Inspector> & Singleton ()
Defined at line 329 of file ../../src/media/audio/services/device_registry/inspector.h
std::unique_ptr<inspect::ComponentInspector> & component_inspector ()
Defined at line 330 of file ../../src/media/audio/services/device_registry/inspector.h
void Inspector (async_dispatcher_t * dispatcher)
////////////////////////////////////
Inspector methods
Defined at line 530 of file ../../src/media/audio/services/device_registry/inspector.cc
void ~Inspector ()
Defined at line 553 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordHealthOk ()
Defined at line 555 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordUnhealthy (const std::string & health_message)
Defined at line 560 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureToConnect ()
Defined at line 565 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureOther ()
Defined at line 570 of file ../../src/media/audio/services/device_registry/inspector.cc
void RecordDetectionFailureUnsupported ()
Defined at line 575 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<DeviceInspectInstance> RecordDeviceInitializing (const std::string & device_name, fuchsia_audio_device::DeviceType device_type, const zx::time & added_at, const std::string & added_by)
Defined at line 580 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 591 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordObserverInstance (const zx::time & created_at)
Defined at line 602 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordControlCreatorInstance (const zx::time & created_at)
Defined at line 613 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordControlInstance (const zx::time & created_at)
Defined at line 624 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<FidlServerInspectInstance> RecordRingBufferInstance (const zx::time & created_at)
Defined at line 635 of file ../../src/media/audio/services/device_registry/inspector.cc
std::shared_ptr<ProviderInspectInstance> RecordProviderInspectInstance (const zx::time & created_at)
Defined at line 646 of file ../../src/media/audio/services/device_registry/inspector.cc