class MoonflowerPartitioner
Defined at line 33 of file ../../src/firmware/paver/moonflower.h
Public Members
static Uuid kInactiveTypeGuid
Public Methods
zx::result<std::unique_ptr<DevicePartitioner>> Initialize (const PaverConfig & config, const BlockDevices & devices, fidl::UnownedClientEnd<fuchsia_io::Directory> svc_root, fidl::ClientEnd<fuchsia_device::Controller> block_device)
Defined at line 37 of file ../../src/firmware/paver/moonflower.cc
bool IsFvmWithinFtl ()
Defined at line 51 of file ../../src/firmware/paver/moonflower.h
zx::result<> Flush ()
Defined at line 65 of file ../../src/firmware/paver/moonflower.h
zx::result<std::unique_ptr<abr::Client>> CreateAbrClient ()
Defined at line 650 of file ../../src/firmware/paver/moonflower.cc
const paver::BlockDevices & Devices ()
Defined at line 67 of file ../../src/firmware/paver/moonflower.cc
zx::result<> OnStop ()
Defined at line 67 of file ../../src/firmware/paver/moonflower.h
fidl::UnownedClientEnd<fuchsia_io::Directory> SvcRoot ()
Defined at line 69 of file ../../src/firmware/paver/moonflower.cc
bool SupportsPartition (const PartitionSpec & spec)
Defined at line 73 of file ../../src/firmware/paver/moonflower.cc
zx::result<std::unique_ptr<GptDevice>> ConnectToGpt ()
TODO(https://fxbug.dev/339491886): Remove when storage-host is enabled.
Defined at line 82 of file ../../src/firmware/paver/moonflower.h
zx::result<std::unique_ptr<PartitionClient>> FindPartition (const PartitionSpec & spec)
Defined at line 155 of file ../../src/firmware/paver/moonflower.cc
zx::result<> WipeFvm ()
Defined at line 197 of file ../../src/firmware/paver/moonflower.cc
zx::result<> ResetPartitionTables ()
Defined at line 199 of file ../../src/firmware/paver/moonflower.cc
zx::result<> ValidatePayload (const PartitionSpec & spec, std::span<const uint8_t> data)
Defined at line 204 of file ../../src/firmware/paver/moonflower.cc
zx::result<std::vector<std::unique_ptr<BlockPartitionClient>>> FindAllPartitions (FilterCallback filter)
Like FindPartition() above, but returns all matching entries.
Defined at line 176 of file ../../src/firmware/paver/moonflower.cc
zx::result<std::unique_ptr<BlockPartitionClient>> FindGptPartition (const PartitionSpec & spec)
Like FindPartition() above, but returns a BlockPartitionClient instead, which has additional
GPT-related methods.
Defined at line 160 of file ../../src/firmware/paver/moonflower.cc
zx::result<FindPartitionDetailsResult> FindPartitionDetails (const PartitionSpec & spec)
Like FindPartition() above, but also returns the GPT partition entry.
Defined at line 181 of file ../../src/firmware/paver/moonflower.cc