class DataSinkImpl
Defined at line 84 of file ../../src/firmware/paver/paver.h
Common shared implementation for DataSink and DynamicDataSink. Necessary to work around lack of
"is-a" relationship in llcpp bindings.
Public Methods
void DataSinkImpl (BlockDevices devices, std::unique_ptr<DevicePartitioner> partitioner)
Defined at line 86 of file ../../src/firmware/paver/paver.h
DevicePartitioner * partitioner ()
Defined at line 113 of file ../../src/firmware/paver/paver.h
zx::result<fuchsia_mem::wire::Buffer> ReadAsset (fuchsia_paver::wire::Configuration configuration, fuchsia_paver::wire::Asset asset)
Defined at line 520 of file ../../src/firmware/paver/paver.cc
zx::result<> WriteAsset (fuchsia_paver::wire::Configurationconfiguration,fuchsia_paver::wire::Assetasset,fuchsia_mem::wire::Bufferpayload)
Defined at line 558 of file ../../src/firmware/paver/paver.cc
zx::result<> WriteOpaqueVolume (fuchsia_mem::wire::Buffer payload)
Defined at line 540 of file ../../src/firmware/paver/paver.cc
zx::result<> WriteSparseVolume (fuchsia_mem::wire::Buffer payload)
Defined at line 549 of file ../../src/firmware/paver/paver.cc
std::variant<zx_status_t, bool> WriteFirmware (fuchsia_paver::wire::Configurationconfiguration,fidl::StringViewtype,fuchsia_mem::wire::Bufferpayload)
FIDL llcpp unions don't currently support memory ownership so we need to
return something that does own the underlying memory.
Once unions do support owned memory we can just return
WriteBootloaderResult directly here.
Defined at line 604 of file ../../src/firmware/paver/paver.cc
zx::result<fuchsia_mem::wire::Buffer> ReadFirmware (fuchsia_paver::wire::Configuration configuration, fidl::StringView type)
Defined at line 617 of file ../../src/firmware/paver/paver.cc
zx::result<> WriteVolumes (fidl::ClientEnd<fuchsia_paver::PayloadStream> payload_stream)
Defined at line 630 of file ../../src/firmware/paver/paver.cc