/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 44 MetadataBuilder* target_metadata = nullptr; 51 MetadataBuilder* current_metadata = nullptr;
|
D | partition_cow_creator_test.cpp | 58 auto builder_a = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 64 auto builder_b = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 90 auto source = MetadataBuilder::New(devices, "super", 1_KiB, 2); in TEST_F() 103 auto target = MetadataBuilder::NewForUpdate(opener, "super", 0, 1); in TEST_F() 130 auto builder_a = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 136 auto builder_b = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 146 auto cow_device_size = [](const std::vector<InstallOperation>& iopv, MetadataBuilder* builder_a, in TEST_F() 147 MetadataBuilder* builder_b, Partition* system_b) { in TEST_F() 210 auto builder_a = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() 213 auto builder_b = MetadataBuilder::New(super_size, 1_KiB, 2); in TEST_F() [all …]
|
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 | 35 using android::fs_mgr::MetadataBuilder; 75 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() 134 std::unique_ptr<MetadataBuilder> builder_;
|
D | snapshot_test.cpp | 71 using android::fs_mgr::MetadataBuilder; 175 auto builder = MetadataBuilder::New(devices, "super", 65536, 2); in FormatFakeSuper() 189 auto builder = MetadataBuilder::New(opener, "super", 0); 199 bool CreatePartition(MetadataBuilder* builder, const std::string& name, uint64_t size, in CreatePartition() 350 auto builder = MetadataBuilder::New(opener, "super", 0); in PrepareOneSnapshot() 885 src_ = MetadataBuilder::New(*opener_, "super", 0); in SetUp() 1086 std::unique_ptr<MetadataBuilder> src_; 1124 auto tgt = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() 1328 auto tgt = MetadataBuilder::New(*opener_, "super", 1); in TEST_F() 1480 auto src = MetadataBuilder::New(*opener_, "super", 1); 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/aosp/ |
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( 182 MetadataBuilder::New(super_size, kFakeMetadataSize, kMaxNumSlots); 199 class MetadataMatcher : public MatcherInterface<MetadataBuilder*> { 206 bool MatchAndExplain(MetadataBuilder* metadata, in MatchAndExplain() 262 inline Matcher<MetadataBuilder*> MetadataMatches( in MetadataMatches() 267 inline Matcher<MetadataBuilder*> MetadataMatches( in MetadataMatches()
|
D | dynamic_partition_control_android.h | 127 virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder( 134 virtual std::unique_ptr<android::fs_mgr::MetadataBuilder> LoadMetadataBuilder( 141 android::fs_mgr::MetadataBuilder* builder, 250 bool UpdatePartitionMetadata(android::fs_mgr::MetadataBuilder* builder, 276 android::fs_mgr::MetadataBuilder* builder, 305 bool DeleteSourcePartitions(android::fs_mgr::MetadataBuilder* builder,
|
D | mock_dynamic_partition_control_android.h | 59 MOCK_METHOD(std::unique_ptr<::android::fs_mgr::MetadataBuilder>, 63 MOCK_METHOD(std::unique_ptr<::android::fs_mgr::MetadataBuilder>, 69 (const std::string&, android::fs_mgr::MetadataBuilder*, uint32_t),
|
D | dynamic_partition_utils.h | 28 void DeleteGroupsWithSuffix(android::fs_mgr::MetadataBuilder* builder,
|
D | metrics_reporter_android.cc | 39 using android::fs_mgr::MetadataBuilder; 114 auto metadata_builder = MetadataBuilder::New(*metadata); in ReportUpdateAttemptMetrics()
|
D | dynamic_partition_control_android.cc | 65 using android::fs_mgr::MetadataBuilder; 322 std::unique_ptr<MetadataBuilder> 325 auto builder = MetadataBuilder::New(PartitionOpener(), super_device, slot); in LoadMetadataBuilder() 336 std::unique_ptr<MetadataBuilder> 342 auto builder = MetadataBuilder::NewForUpdate(PartitionOpener(), in LoadMetadataBuilder() 361 MetadataBuilder* builder, in StoreMetadata() 881 android::fs_mgr::MetadataBuilder* builder, in CheckSuperPartitionAllocatableSpace() 968 MetadataBuilder* builder, in UpdatePartitionMetadata() 1243 MetadataBuilder* builder, in DeleteSourcePartitions() 1370 return MetadataBuilder::VerifyExtentsAgainstSourceMetadata( in VerifyExtentsForUntouchedPartitions()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 37 using android::fs_mgr::MetadataBuilder; 159 AssertionResult FillFakeMetadata(MetadataBuilder* builder, const DeltaArchiveManifest& manifest,
|
/system/core/fastboot/device/ |
D | flashing.cpp | 224 std::unique_ptr<MetadataBuilder> builder = MetadataBuilder::New(*new_metadata.get()); in UpdateSuper()
|
/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 | 305 using MetadataBuilder = android::fs_mgr::MetadataBuilder; variable 513 void UnmapAndDeleteCowPartition(MetadataBuilder* current_metadata); 700 LockedFile* lock, MetadataBuilder* target_metadata,
|