class FixedDevicePartitioner

Defined at line 183 of file ../../src/firmware/paver/device-partitioner.h

DevicePartitioner implementation for devices which have fixed partition maps (e.g. ARM

devices). It will not attempt to write a partition map of any kind to the device.

Assumes legacy partition layout structure (e.g. ZIRCON-A, ZIRCON-B,

ZIRCON-R).

Public Methods

const BlockDevices & Devices ()

Defined at line 188 of file ../../src/firmware/paver/device-partitioner.h

fidl::UnownedClientEnd<fuchsia_io::Directory> SvcRoot ()

Defined at line 190 of file ../../src/firmware/paver/device-partitioner.h

bool IsFvmWithinFtl ()

Defined at line 194 of file ../../src/firmware/paver/device-partitioner.h

zx::result<std::unique_ptr<DevicePartitioner>> Initialize (const BlockDevices & devices, fidl::ClientEnd<fuchsia_io::Directory> svc_root)

Defined at line 202 of file ../../src/firmware/paver/device-partitioner.cc

zx::result<> Flush ()

Defined at line 208 of file ../../src/firmware/paver/device-partitioner.h

zx::result<> OnStop ()

Defined at line 209 of file ../../src/firmware/paver/device-partitioner.h

bool SupportsPartition (const PartitionSpec & spec)

Defined at line 211 of file ../../src/firmware/paver/device-partitioner.cc

zx::result<std::unique_ptr<PartitionClient>> FindPartition (const PartitionSpec & spec)

Defined at line 225 of file ../../src/firmware/paver/device-partitioner.cc

zx::result<> WipeFvm ()

Defined at line 244 of file ../../src/firmware/paver/device-partitioner.cc

zx::result<> ResetPartitionTables ()

Defined at line 255 of file ../../src/firmware/paver/device-partitioner.cc

zx::result<> ValidatePayload (const PartitionSpec & spec, std::span<const uint8_t> data)

Defined at line 259 of file ../../src/firmware/paver/device-partitioner.cc

Protected Methods

zx::result<std::unique_ptr<abr::Client>> CreateAbrClient ()

Defined at line 212 of file ../../src/firmware/paver/device-partitioner.h