Home
last modified time | relevance | path

Searched refs:FindPartition (Results 1 – 4 of 4) sorted by relevance

/system/uapp/disk-pave/test/
A Ddevice-partitioner-test.cpp382 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kZirconA, &fd), ZX_OK); in FindPartitionTest()
383 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kZirconB, &fd), ZX_OK); in FindPartitionTest()
384 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kZirconR, &fd), ZX_OK); in FindPartitionTest()
385 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kVbMetaA, &fd), ZX_OK); in FindPartitionTest()
386 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kVbMetaB, &fd), ZX_OK); in FindPartitionTest()
410 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kZirconA, &fd), ZX_OK); in GetBlockSizeTest()
413 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kZirconB, &fd), ZX_OK); in GetBlockSizeTest()
416 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kZirconR, &fd), ZX_OK); in GetBlockSizeTest()
419 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kVbMetaA, &fd), ZX_OK); in GetBlockSizeTest()
422 ASSERT_EQ(partitioner->FindPartition(paver::Partition::kVbMetaB, &fd), ZX_OK); in GetBlockSizeTest()
[all …]
/system/uapp/disk-pave/
A Ddevice-partitioner.h64 virtual zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const = 0;
117 zx_status_t FindPartition(FilterCallback filter, gpt_partition_t** out,
119 zx_status_t FindPartition(FilterCallback filter, fbl::unique_fd* out_fd) const;
155 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
182 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
214 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
247 zx_status_t FindPartition(Partition partition_type, fbl::unique_fd* out_fd) const override;
A Ddevice-partitioner.cpp542 zx_status_t GptDevicePartitioner::FindPartition(FilterCallback filter, in FindPartition() function in paver::GptDevicePartitioner
672 zx_status_t EfiDevicePartitioner::FindPartition(Partition partition_type, in FindPartition() function in paver::EfiDevicePartitioner
676 return gpt_->FindPartition(IsGigabootPartition, out_fd); in FindPartition()
683 return gpt_->FindPartition(filter, out_fd); in FindPartition()
690 return gpt_->FindPartition(filter, out_fd); in FindPartition()
697 return gpt_->FindPartition(filter, out_fd); in FindPartition()
700 return gpt_->FindPartition(FvmFilterCallback, out_fd); in FindPartition()
787 zx_status_t CrosDevicePartitioner::FindPartition(Partition partition_type, in FindPartition() function in paver::CrosDevicePartitioner
795 return gpt_->FindPartition(filter, out_fd); in FindPartition()
798 return gpt_->FindPartition(FvmFilterCallback, out_fd); in FindPartition()
[all …]
A Dpave-lib.cpp862 if ((status = partitioner->FindPartition(partition_type, &partition_fd)) != ZX_OK) { in PartitionPave()

Completed in 11 milliseconds