class DeviceHost

Defined at line 19 of file ../../src/media/audio/drivers/tests/device_host.h

Public Methods

void DeviceHost ()

Our thread and dispatcher must exist during the entirety of test execution; create it now.

Defined at line 49 of file ../../src/media/audio/drivers/tests/device_host.cc

void ~DeviceHost ()

Defined at line 52 of file ../../src/media/audio/drivers/tests/device_host.cc

void AddDevices (bool no_bluetooth, bool no_virtual_audio)

Post a task to our thread to detect and add all devices, so that driver testing can begin.

Defined at line 55 of file ../../src/media/audio/drivers/tests/device_host.cc

void RegisterTests (bool enable_basic_tests, bool enable_admin_tests, bool enable_position_tests)

Create testcase instances for each device entry, based on the passed-in configuration.

Defined at line 289 of file ../../src/media/audio/drivers/tests/device_host.cc

zx_status_t QuitDeviceLoop ()

Testing is complete. Clean up our virtual audio devices and shut down our loop.

Defined at line 305 of file ../../src/media/audio/drivers/tests/device_host.cc