class VPartitionAdapter
Defined at line 171 of file ../../src/storage/fvm/test_support.h
Wrapper over a VPartitionAdapter, that provides common methods using in fvm-tests.
Public Methods
void VPartitionAdapter (const fbl::unique_fd & devfs_root, const std::string & path, const std::string & name, const Guid & guid, const Guid & type)
Defined at line 178 of file ../../src/storage/fvm/test_support.h
void VPartitionAdapter (const VPartitionAdapter & )
Defined at line 183 of file ../../src/storage/fvm/test_support.h
void VPartitionAdapter (VPartitionAdapter && )
Defined at line 184 of file ../../src/storage/fvm/test_support.h
VPartitionAdapter & operator= (const VPartitionAdapter & )
Defined at line 185 of file ../../src/storage/fvm/test_support.h
VPartitionAdapter & operator= (VPartitionAdapter && )
Defined at line 186 of file ../../src/storage/fvm/test_support.h
Guid & guid ()
Defined at line 193 of file ../../src/storage/fvm/test_support.h
std::unique_ptr<VPartitionAdapter> Create (const fbl::unique_fd & devfs_root, const std::string & name, const Guid & guid, const Guid & type)
Attaches itself to an existing VPartitionAdapter.
Defined at line 201 of file ../../src/storage/fvm/test_support.cc
zx_status_t Extend (uint64_t offset, uint64_t length)
Adds |length| slices at |offset| to the partition.
Defined at line 258 of file ../../src/storage/fvm/test_support.cc
zx::result<fidl::ClientEnd<fuchsia_device::Controller>> GetController ()
Defined at line 197 of file ../../src/storage/fvm/test_support.cc
zx::result<> Destroy ()
Destroys the partition.
Defined at line 249 of file ../../src/storage/fvm/test_support.cc