/system/core/fs_mgr/liblp/ |
D | builder_test.cpp | 48 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() 63 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() 124 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST_F() 144 unique_ptr<MetadataBuilder> builder = in TEST_F() 145 MetadataBuilder::New(kDiskSize, kMetadataSize, kMetadataSlots); in TEST_F() 151 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1000, 2); in TEST_F() 161 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() 171 builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() 181 builder = MetadataBuilder::New(device_info, 1024, 2); in TEST_F() 187 builder = MetadataBuilder::New(device_info, 16 * 1024, 2); in TEST_F() [all …]
|
D | builder.cpp | 174 std::unique_ptr<MetadataBuilder> MetadataBuilder::New(const IPartitionOpener& opener, in New() 184 std::unique_ptr<MetadataBuilder> MetadataBuilder::New(const std::string& super_partition, in New() 189 std::unique_ptr<MetadataBuilder> MetadataBuilder::New( in New() 192 std::unique_ptr<MetadataBuilder> builder(new MetadataBuilder()); in New() 199 std::unique_ptr<MetadataBuilder> MetadataBuilder::New(const LpMetadata& metadata, in New() 201 std::unique_ptr<MetadataBuilder> builder(new MetadataBuilder()); in New() 217 std::unique_ptr<MetadataBuilder> MetadataBuilder::NewForUpdate(const IPartitionOpener& opener, in NewForUpdate() 261 bool MetadataBuilder::UpdateMetadataForOtherSuper(LpMetadata* metadata, uint32_t source_slot_number, in UpdateMetadataForOtherSuper() 300 MetadataBuilder::MetadataBuilder() : auto_slot_suffixing_(false) { in MetadataBuilder() function in android::fs_mgr::MetadataBuilder 316 bool MetadataBuilder::Init(const LpMetadata& metadata) { in Init() [all …]
|
D | io_test.cpp | 82 static unique_ptr<MetadataBuilder> CreateDefaultBuilder() { in CreateDefaultBuilder() 83 unique_ptr<MetadataBuilder> builder = in CreateDefaultBuilder() 84 MetadataBuilder::New(kDiskSize, kMetadataSize, kMetadataSlots); in CreateDefaultBuilder() 94 static bool AddDefaultPartitions(MetadataBuilder* builder) { in AddDefaultPartitions() 104 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in CreateFlashedDisk() 143 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(kDiskSize + 4096, 512, 2); in TEST_F() 160 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() 369 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() 423 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() 439 unique_ptr<MetadataBuilder> builder = CreateDefaultBuilder(); in TEST_F() [all …]
|
D | utility_test.cpp | 119 unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(1024 * 1024, 1024, 2); in TEST() 149 auto new_builder = MetadataBuilder::New(*metadata); in TEST()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | builder.h | 110 friend class MetadataBuilder; variable 127 friend class MetadataBuilder; variable 195 class MetadataBuilder { 206 static std::unique_ptr<MetadataBuilder> New(const std::vector<BlockDeviceInfo>& block_devices, 214 static std::unique_ptr<MetadataBuilder> New(const IPartitionOpener& opener, 219 static std::unique_ptr<MetadataBuilder> New(const std::string& super_partition, 232 static std::unique_ptr<MetadataBuilder> NewForUpdate(const IPartitionOpener& opener, 243 static std::unique_ptr<MetadataBuilder> New(const LpMetadata& metadata, 247 static std::unique_ptr<MetadataBuilder> New(const BlockDeviceInfo& device_info, in New() 256 static std::unique_ptr<MetadataBuilder> New(uint64_t blockdev_size, uint32_t metadata_max_size, in New() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator.h | 36 using MetadataBuilder = android::fs_mgr::MetadataBuilder; member 43 MetadataBuilder* target_metadata = nullptr; 50 MetadataBuilder* current_metadata = nullptr;
|
D | partition_cow_creator_test.cpp | 52 auto builder_a = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 58 auto builder_b = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 84 auto source = MetadataBuilder::New(devices, "super", 1_KiB, 2); in TEST_F() 97 auto target = MetadataBuilder::NewForUpdate(opener, "super", 0, 1); in TEST_F() 124 auto builder_a = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 130 auto builder_b = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 140 auto cow_device_size = [](const std::vector<InstallOperation>& iopv, MetadataBuilder* builder_a, in TEST_F() 141 MetadataBuilder* builder_b, Partition* system_b) { in TEST_F() 202 auto builder_a = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 205 auto builder_b = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F()
|
D | snapshot_metadata_updater.h | 43 SnapshotMetadataUpdater(android::fs_mgr::MetadataBuilder* builder, uint32_t target_slot, 78 android::fs_mgr::MetadataBuilder* const builder_;
|
D | utility.cpp | 34 using android::fs_mgr::MetadataBuilder; 74 std::vector<Partition*> ListPartitionsWithSuffix(MetadataBuilder* builder, in ListPartitionsWithSuffix()
|
D | snapshot_metadata_updater.cpp | 32 using android::fs_mgr::MetadataBuilder; 39 SnapshotMetadataUpdater::SnapshotMetadataUpdater(MetadataBuilder* builder, uint32_t target_slot, in SnapshotMetadataUpdater()
|
D | snapshot_metadata_updater_test.cpp | 32 using android::fs_mgr::MetadataBuilder; 54 builder_ = MetadataBuilder::New(4_GiB + 1_MiB, 4_KiB, 2); in SetUp() 131 std::unique_ptr<MetadataBuilder> builder_;
|
D | snapshot_test.cpp | 67 using android::fs_mgr::MetadataBuilder; 170 auto builder = MetadataBuilder::New(devices, "super", 65536, 2); in FormatFakeSuper() 183 auto builder = MetadataBuilder::New(opener, "super", 0); in CreatePartition() 213 auto builder = MetadataBuilder::NewForUpdate(opener, "super", 0, 1); in MapUpdatePartitions() 804 src_ = MetadataBuilder::New(*opener_, "super", 0); in SetUp() 967 std::unique_ptr<MetadataBuilder> src_; 999 auto tgt = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() 1071 auto tgt = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() 1218 auto src = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() 1220 auto tgt = MetadataBuilder::New(*opener_, "super", 0); in TEST_F() [all …]
|
D | utility.h | 112 android::fs_mgr::MetadataBuilder* builder, const std::string& suffix);
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 62 std::unique_ptr<MetadataBuilder> OpenOrCreateMetadata(const std::string& metadata_dir, in OpenOrCreateMetadata() 67 std::unique_ptr<MetadataBuilder> builder; in OpenOrCreateMetadata() 84 builder = MetadataBuilder::New(block_devices, super_name, kMaxMetadataSize, 1); in OpenOrCreateMetadata() 90 builder = MetadataBuilder::New(*metadata.get(), &opener); in OpenOrCreateMetadata() 100 bool SaveMetadata(MetadataBuilder* builder, const std::string& metadata_dir) { in SaveMetadata() 129 bool FillPartitionExtents(MetadataBuilder* builder, Partition* partition, SplitFiemap* file, in FillPartitionExtents() 174 auto builder = MetadataBuilder::New(*metadata.get(), &opener); in RemoveImageMetadata() 212 auto builder = MetadataBuilder::New(*metadata.get()); in AddAttributes()
|
/system/update_engine/ |
D | dynamic_partition_utils.cc | 24 using android::fs_mgr::MetadataBuilder; 28 void DeleteGroupsWithSuffix(MetadataBuilder* builder, in DeleteGroupsWithSuffix()
|
D | dynamic_partition_test_utils.h | 40 using android::fs_mgr::MetadataBuilder; 177 inline std::unique_ptr<MetadataBuilder> NewFakeMetadata( 180 MetadataBuilder::New(kDefaultSuperSize, kFakeMetadataSize, kMaxNumSlots); 197 class MetadataMatcher : public MatcherInterface<MetadataBuilder*> { 204 bool MatchAndExplain(MetadataBuilder* metadata, in MatchAndExplain() 260 inline Matcher<MetadataBuilder*> MetadataMatches( in MetadataMatches() 265 inline Matcher<MetadataBuilder*> MetadataMatches( in MetadataMatches()
|
D | dynamic_partition_control_android.h | 94 virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder( 101 virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder( 108 android::fs_mgr::MetadataBuilder* builder, 208 bool UpdatePartitionMetadata(android::fs_mgr::MetadataBuilder* builder, 244 bool DeleteSourcePartitions(android::fs_mgr::MetadataBuilder* builder,
|
D | mock_dynamic_partition_control.h | 53 MOCK_METHOD(std::unique_ptr<::android::fs_mgr::MetadataBuilder>, 57 MOCK_METHOD(std::unique_ptr<::android::fs_mgr::MetadataBuilder>, 63 (const std::string&, android::fs_mgr::MetadataBuilder*, uint32_t),
|
D | dynamic_partition_utils.h | 28 void DeleteGroupsWithSuffix(android::fs_mgr::MetadataBuilder* builder,
|
D | dynamic_partition_control_android.cc | 57 using android::fs_mgr::MetadataBuilder; 294 std::unique_ptr<MetadataBuilder> 297 auto builder = MetadataBuilder::New(PartitionOpener(), super_device, slot); in LoadMetadataBuilder() 308 std::unique_ptr<MetadataBuilder> 314 auto builder = MetadataBuilder::NewForUpdate(PartitionOpener(), in LoadMetadataBuilder() 333 MetadataBuilder* builder, in StoreMetadata() 792 MetadataBuilder* builder, in UpdatePartitionMetadata() 1026 MetadataBuilder* builder, in DeleteSourcePartitions() 1135 return MetadataBuilder::VerifyExtentsAgainstSourceMetadata( in VerifyExtentsForUntouchedPartitions()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 37 using android::fs_mgr::MetadataBuilder; 151 AssertionResult FillFakeMetadata(MetadataBuilder* builder, const DeltaArchiveManifest& manifest,
|
/system/core/fastboot/device/ |
D | flashing.cpp | 221 std::unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(*new_metadata.get()); in UpdateSuper()
|
D | commands.cpp | 46 using android::fs_mgr::MetadataBuilder; 380 MetadataBuilder* operator->() const { return builder_.get(); } in operator ->() 386 std::unique_ptr<MetadataBuilder> builder_; 398 builder_ = MetadataBuilder::New(super_device_, slot_number_); in PartitionBuilder()
|
/system/extras/partition_tools/ |
D | lpadd.cc | 31 using android::fs_mgr::MetadataBuilder; 134 std::unique_ptr<MetadataBuilder> builder_; 152 builder_ = MetadataBuilder::New(*metadata_.get()); in Open()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 254 using MetadataBuilder = android::fs_mgr::MetadataBuilder; variable 548 LockedFile* lock, MetadataBuilder* target_metadata,
|