class SyncDevice
Defined at line 45 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.h
Public Methods
zx_status_t Create (void * ctx, zx_device_t * parent)
static
Defined at line 43 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
void SyncDevice (zx_device_t * parent, bool can_read_multiple_commands, acpi::Client client, async_dispatcher_t * dispatcher)
Defined at line 61 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
void ~SyncDevice ()
Defined at line 69 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
async_dispatcher_t * dispatcher ()
Shared async dispatcher across all created Sync timelines. All incoming FIDL
calls and event waits will be posted on this dispatcher.
Defined at line 70 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.h
zx_status_t Bind ()
Defined at line 78 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
void DdkRelease ()
Device protocol implementation.
Defined at line 185 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
zx_status_t CreateTimeline (fidl::ServerEnd<fuchsia_hardware_goldfish::SyncTimeline> request)
Defined at line 187 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
void CreateTimeline (CreateTimelineRequestView request, CreateTimelineCompleter::Sync & completer)
|fidl::WireServer
<fuchsia
_hardware_goldfish::Sync>|
Defined at line 195 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
void SendGuestCommand (GuestCommand command)
Send guest->host command to sync device and notify the device.
Used only by |SyncTimeline|.
Defined at line 287 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc
Protected Methods
void RunHostCommand (HostCommand command)
Executes given "host->guest" command. Used only by |HandleStagedCommands()|
and test device classes.
Defined at line 221 of file ../../src/graphics/drivers/misc/goldfish_sync/sync_device.cc