/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() function 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() 455 BlockDeviceInfo device_info("super", 1024 * 1024, 4096, 1024, 4096); in TEST_F() 459 BlockDeviceInfo new_info; in TEST_F() 498 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 513); in TEST_F() 504 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F() 516 BlockDeviceInfo device_info("super", 10240, 0, 0, 4096); in TEST_F() 522 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F() 530 BlockDeviceInfo device_info("super", 1024 * 1024, 0, 0, 4096); in TEST_F() [all …]
|
D | partition_opener.cpp | 61 bool GetBlockDeviceInfo(const std::string& block_device, BlockDeviceInfo* device_info) { in GetBlockDeviceInfo() 112 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() 394 bool MetadataBuilder::Init(const std::vector<BlockDeviceInfo>& block_devices, in Init() 1023 BlockDeviceInfo* info) const { in GetBlockDeviceInfo() 1038 const BlockDeviceInfo& device_info) { in UpdateBlockDeviceInfo() 1047 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 | image_test.cpp | 41 using android::fs_mgr::BlockDeviceInfo; 56 bool GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const override { in GetInfo()
|
D | metadata.cpp | 76 BlockDeviceInfo device_info; in OpenOrCreateMetadata() 82 std::vector<BlockDeviceInfo> block_devices = {device_info}; in OpenOrCreateMetadata()
|
/system/extras/partition_tools/ |
D | lpmake.cc | 143 std::vector<BlockDeviceInfo> block_devices; in main() 233 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; 454 BlockDeviceInfo super_device("super", SUPER_IMAGE_SIZE, 0, 0, 4096); in CheckWriteSuperMetadata() 455 std::vector<BlockDeviceInfo> devices = {super_device}; in CheckWriteSuperMetadata()
|
D | partition_cow_creator_test.cpp | 82 BlockDeviceInfo super_device("super", kSuperSize, 0, 0, 4_KiB); in TEST_F() 83 std::vector<BlockDeviceInfo> devices = {super_device}; in TEST_F()
|
D | test_helpers.cpp | 54 android::fs_mgr::BlockDeviceInfo* info) const { in GetInfo()
|
D | snapshot_test.cpp | 57 using android::fs_mgr::BlockDeviceInfo; 167 BlockDeviceInfo super_device("super", kSuperSize, 0, 0, 4096); in FormatFakeSuper() 168 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 | 990 BlockDeviceInfo info; in CreateDynamicScratch() 1061 BlockDeviceInfo info; in CreateScratchOnData()
|