class Dfv2DriverWithDispatcher

Defined at line 29 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.h

A DFv2 test driver with a background display::Dispatcher that tests can

dispatch async tasks or interrupt handlers.

Public Methods

void Dfv2DriverWithDispatcher ()

Defined at line 23 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.cc

void ~Dfv2DriverWithDispatcher ()

Defined at line 26 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.cc

zx::result<> Start (fdf::DriverContext context)

Implements `fdf::DriverBase2`.

Defined at line 28 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.cc

zx::result<> PostTask (fit::closure task)

Posts a task on its background dispatcher.

Defined at line 38 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.cc

zx::result<> StartIrqHandler (zx::interrupt irq, async::Irq::Handler handler)

Starts an IRQ handler on its background dispatcher.

Defined at line 42 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.cc

void ShutdownDispatcher ()

Shutdown the background dispatcher.

Defined at line 58 of file ../../src/graphics/display/lib/driver-framework-migration-utils/dispatcher/testing/dfv2-driver-with-dispatcher.cc