Home
last modified time | relevance | path

Searched refs:metadata_dir_ (Results 1 – 6 of 6) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp73 : metadata_dir_(metadata_dir), data_dir_(data_dir) { in ImageManager()
88 return JoinPaths(metadata_dir_, image_name) + ".status"; in GetStatusFilePath()
116 if (!MetadataExists(metadata_dir_)) { in GetAllBackingImages()
119 auto metadata = OpenMetadata(metadata_dir_); in GetAllBackingImages()
129 if (!MetadataExists(metadata_dir_)) { in BackingImageExists()
132 auto metadata = OpenMetadata(metadata_dir_); in BackingImageExists()
181 if (android::base::StartsWith(device_path, "/dev/block/dm-") && !IsTestDir(metadata_dir_)) { in CreateBackingImage()
190 if (!UpdateMetadata(metadata_dir_, name, fw.get(), size, readonly)) { in CreateBackingImage()
278 return RemoveImageMetadata(metadata_dir_, name); in DeleteBackingImage()
287 auto metadata = OpenMetadata(metadata_dir_); in MapWithDmLinear()
[all …]
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz_utils.h103 metadata_dir_(metadata_dir) {} in SnapshotFuzzDeviceInfo()
107 std::string GetMetadataDir() const override { return metadata_dir_; } in GetMetadataDir()
133 std::string metadata_dir_; variable
Dsnapshot_test.cpp1371 metadata_dir_ = test_device->GetMetadataDir(); in SetUp()
1378 EXPECT_TRUE(android::fs_mgr::EnsurePathMounted(&fstab_, metadata_dir_)); in TearDown()
1387 auto entry = GetEntryForPath(&fstab_, metadata_dir_); in IsMetadataMounted()
1389 return AssertionFailure() << "No mount point found in fstab for path " << metadata_dir_; in IsMetadataMounted()
1394 return AssertionFailure() << metadata_dir_ << " is not mounted"; in IsMetadataMounted()
1396 return AssertionSuccess() << metadata_dir_ << " is mounted"; in IsMetadataMounted()
1398 std::string metadata_dir_; member in android::snapshot::MetadataMountedTest
1417 metadata_dir_ = test_device->GetMetadataDir(); in TEST_F()
1419 EXPECT_TRUE(android::fs_mgr::EnsurePathUnmounted(&fstab_, metadata_dir_)); in TEST_F()
Dsnapshot.cpp103 metadata_dir_ = device_->GetMetadataDir(); in SnapshotManager()
1017 return metadata_dir_ + "/" + android::base::Basename(kBootIndicatorPath); in GetSnapshotBootIndicatorPath()
1021 return metadata_dir_ + "/" + android::base::Basename(kRollbackIndicatorPath); in GetRollbackIndicatorPath()
1025 return metadata_dir_ + "/allow-forward-merge"; in GetForwardMergeIndicatorPath()
1472 auto dir_path = metadata_dir_ + "/snapshots"s; in ListSnapshots()
1865 return metadata_dir_ + "/state"s; in GetStateFilePath()
1869 return metadata_dir_ + "/merge_state"s; in GetMergeStateFilePath()
1873 return metadata_dir_; in GetLockPath()
2027 auto file = metadata_dir_ + "/snapshots/"s + name; in GetSnapshotStatusFilePath()
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dimage_manager.h185 std::string metadata_dir_; variable
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h587 std::string metadata_dir_; variable