/system/core/fs_mgr/liblp/include/liblp/ |
D | partition_opener.h | 28 struct BlockDeviceInfo { struct 29 BlockDeviceInfo() : size(0), alignment(0), alignment_offset(0), logical_block_size(0) {} in BlockDeviceInfo() argument 30 BlockDeviceInfo(const std::string& partition_name, uint64_t size, uint32_t alignment, in BlockDeviceInfo() argument 64 virtual bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const = 0; argument 78 virtual bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const override;
|
D | builder.h | 206 static std::unique_ptr<MetadataBuilder> New(const std::vector<BlockDeviceInfo>& block_devices, 247 static std::unique_ptr<MetadataBuilder> New(const BlockDeviceInfo& device_info, in New() 258 BlockDeviceInfo device_info(LP_METADATA_DEFAULT_PARTITION_NAME, blockdev_size, 0, 0, in New() 350 bool GetBlockDeviceInfo(const std::string& partition_name, BlockDeviceInfo* info) const; 351 bool UpdateBlockDeviceInfo(const std::string& partition_name, const BlockDeviceInfo& info); 379 bool Init(const std::vector<BlockDeviceInfo>& block_devices, const std::string& super_partition, 387 bool UpdateBlockDeviceInfo(size_t index, const BlockDeviceInfo& info); 429 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info);
|
/system/core/fs_mgr/liblp/ |
D | test_partition_opener.h | 31 const std::map<std::string, BlockDeviceInfo>& partition_info = {}); 34 bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const override; 38 std::map<std::string, BlockDeviceInfo> partition_info_;
|
D | test_partition_opener.cpp | 28 const std::map<std::string, BlockDeviceInfo>& partition_info) in TestPartitionOpener() 40 bool TestPartitionOpener::GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const { in GetInfo()
|
D | device_test.cpp | 45 TEST_F(DeviceTest, BlockDeviceInfo) { in TEST_F() argument 47 BlockDeviceInfo device_info; in TEST_F()
|
D | builder_test.cpp | 160 BlockDeviceInfo device_info("super", 1024 * 1024, 768 * 1024, 0, 4096); in TEST_F() 207 BlockDeviceInfo device_info("super", 512 * 1024 * 1024, 768 * 1024, 753664, 4096); in TEST_F() 429 BlockDeviceInfo device_info("super", kDiskSize, 0, 0, 4096); in TEST_F() 450 BlockDeviceInfo device_info("super", 1024 * 1024, 4096, 1024, 4096); in TEST_F() 454 BlockDeviceInfo new_info; in TEST_F() 493 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 513); in TEST_F() 499 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F() 511 BlockDeviceInfo device_info("super", 10240, 0, 0, 4096); in TEST_F() 517 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F() 525 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F() [all …]
|
D | partition_opener.cpp | 65 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info) { in GetBlockDeviceInfo() 116 bool PartitionOpener::GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const { in GetInfo()
|
D | builder.cpp | 190 const std::vector<BlockDeviceInfo>& block_devices, const std::string& super_partition, in New() 208 BlockDeviceInfo device_info; in New() 360 static bool VerifyDeviceProperties(const BlockDeviceInfo& device_info) { in VerifyDeviceProperties() 389 bool MetadataBuilder::Init(const std::vector<BlockDeviceInfo>& block_devices, in Init() 1018 BlockDeviceInfo* info) const { in GetBlockDeviceInfo() 1033 const BlockDeviceInfo& device_info) { in UpdateBlockDeviceInfo() 1042 bool MetadataBuilder::UpdateBlockDeviceInfo(size_t index, const BlockDeviceInfo& device_info) { in UpdateBlockDeviceInfo()
|
D | io_test.cpp | 46 static const BlockDeviceInfo kSuperInfo{"super", kDiskSize, 0, 0, 4096}; 596 BlockDeviceInfo device_info("super", kDiskSize, 0, 0, 512); in TEST_F()
|
D | writer.cpp | 136 BlockDeviceInfo info; in ValidateAndSerializeMetadata()
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 76 BlockDeviceInfo device_info; in OpenOrCreateMetadata() 82 std::vector<BlockDeviceInfo> block_devices = {device_info}; in OpenOrCreateMetadata()
|
D | image_test.cpp | 44 using android::fs_mgr::BlockDeviceInfo; 59 bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const override { in GetInfo()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 201 std::vector<BlockDeviceInfo> block_devices; in main() 300 BlockDeviceInfo info; in main()
|
D | lpdump.cc | 165 BlockDeviceInfo info; in MergeMetadata()
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.cpp | 60 using android::fs_mgr::BlockDeviceInfo; 451 BlockDeviceInfo super_device("super", SUPER_IMAGE_SIZE, 0, 0, 4096); in CheckWriteSuperMetadata() 452 std::vector<BlockDeviceInfo> devices = {super_device}; in CheckWriteSuperMetadata()
|
D | partition_cow_creator_test.cpp | 88 BlockDeviceInfo super_device("super", kSuperSize, 0, 0, 4_KiB); in TEST_F() 89 std::vector<BlockDeviceInfo> devices = {super_device}; in TEST_F()
|
D | test_helpers.cpp | 56 android::fs_mgr::BlockDeviceInfo* info) const { in GetInfo()
|
D | snapshot_test.cpp | 61 using android::fs_mgr::BlockDeviceInfo; 172 BlockDeviceInfo super_device("super", kSuperSize, 0, 0, 4096); in FormatFakeSuper() 173 std::vector<BlockDeviceInfo> devices = {super_device}; in FormatFakeSuper()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 65 android::fs_mgr::BlockDeviceInfo* info) const override;
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 1049 BlockDeviceInfo info; in CreateDynamicScratch() 1120 BlockDeviceInfo info; in CreateScratchOnData()
|