class DeviceTestBase
Defined at line 36 of file ../../src/media/audio/services/device_registry/device_unittest.h
Test class to verify the driver initialization/configuration sequence.
Protected Members
static basic_string_view kClassName
Protected Methods
void SetUp ()
Defined at line 39 of file ../../src/media/audio/services/device_registry/device_unittest.h
void TearDown ()
Defined at line 46 of file ../../src/media/audio/services/device_registry/device_unittest.h
fuchsia_audio_device::Info GetDeviceInfo (const std::shared_ptr<Device> & device)
Defined at line 49 of file ../../src/media/audio/services/device_registry/device_unittest.h
std::shared_ptr<Clock> device_clock (const std::shared_ptr<Device> & device)
Defined at line 53 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool IsControlled (const std::shared_ptr<Device> & device)
Defined at line 57 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool HasRingBuffer (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 61 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool RingBufferIsCreatingOrStopped (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 65 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool RingBufferIsOperational (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 73 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool RingBufferIsStopped (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 80 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool RingBufferIsStarted (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 86 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool HasPacketStream (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 92 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool PacketStreamIsStopped (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 95 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool PacketStreamIsStarted (const std::shared_ptr<Device> & device, ElementId element_id)
Defined at line 101 of file ../../src/media/audio/services/device_registry/device_unittest.h
void GetDaiFormatSets (const std::shared_ptr<Device> &device,ElementIdelement_id,fit::callback<void (ElementId, const std::vector<fuchsia_hardware_audio::DaiSupportedFormats> &)>dai_format_sets_callback)
Defined at line 107 of file ../../src/media/audio/services/device_registry/device_unittest.h
void RetrieveHealthState (const std::shared_ptr<Device> & device)
Defined at line 114 of file ../../src/media/audio/services/device_registry/device_unittest.h
const std::optional<fuchsia_hardware_audio::DelayInfo> & DeviceDelayInfo (const std::shared_ptr<Device> & device, ElementId element_id)
Accessor for a Device private member.
Defined at line 119 of file ../../src/media/audio/services/device_registry/device_unittest.h
uint8_t ExpectFormatMatch (const std::shared_ptr<Device> &device,ElementIdelement_id,fuchsia_audio::SampleTypesample_type,uint32_tchannel_count,uint32_trate)
Defined at line 332 of file ../../src/media/audio/services/device_registry/device_unittest.h
void ExpectNoFormatMatch (const std::shared_ptr<Device> &device,ElementIdelement_id,fuchsia_audio::SampleTypesample_type,uint32_tchannel_count,uint32_trate)
Defined at line 349 of file ../../src/media/audio/services/device_registry/device_unittest.h
std::shared_ptr<NotifyStub> notify ()
A consolidated notify recipient for tests (ObserverNotify and ControlNotify).
Defined at line 366 of file ../../src/media/audio/services/device_registry/device_unittest.h
std::shared_ptr<FakeDevicePresenceWatcher> device_presence_watcher ()
Defined at line 367 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool AddObserver (const std::shared_ptr<Device> & device)
Defined at line 371 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool SetControl (const std::shared_ptr<Device> & device)
Defined at line 372 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool DropControl (const std::shared_ptr<Device> & device)
Defined at line 373 of file ../../src/media/audio/services/device_registry/device_unittest.h
bool device_plugged_state (const std::shared_ptr<Device> & device)
Defined at line 377 of file ../../src/media/audio/services/device_registry/device_unittest.h
ElementId dai_id ()
Defined at line 381 of file ../../src/media/audio/services/device_registry/device_unittest.h
zx::duration ShortCmdTimeout ()
Defined at line 383 of file ../../src/media/audio/services/device_registry/device_unittest.h
zx::duration LongCmdTimeout ()
Defined at line 384 of file ../../src/media/audio/services/device_registry/device_unittest.h