class FakeInputReportsReader
Defined at line 25 of file ../../src/ui/input/testing/fake_input_report_device/reports_reader.h
Creates a fake class that vends the InputReportsReader API. This should be
created and managed by FakeInputDevice.
If this class is bound on a seperate thread, that thread must be joined before
this class is destructed.
Public Methods
void ReadInputReports (ReadInputReportsCallback callback)
Defined at line 15 of file ../../src/ui/input/testing/fake_input_report_device/reports_reader.cc
void QueueCallback ()
Queues up the ReadInputReports callback if one exists. The callback will be run on the
async_dispatcher.
Defined at line 27 of file ../../src/ui/input/testing/fake_input_report_device/reports_reader.cc
void FakeInputReportsReader (fidl::InterfaceRequest<fuchsia::input::report::InputReportsReader> request, async_dispatcher_t * dispatcher, FakeInputDevice * device)
Create a FakeInputReportsReader. The pointer to FakeInputDevice is unmanaged and
the FakeInputDevice must outlive FakeInputReportsReader.
Defined at line 29 of file ../../src/ui/input/testing/fake_input_report_device/reports_reader.h