Searched refs:metadata_dir_ (Results 1 – 6 of 6) sorted by relevance
/system/core/fs_mgr/libfiemap/ |
D | image_manager.cpp | 78 : metadata_dir_(metadata_dir), data_dir_(data_dir), device_info_(device_info) { in ImageManager() 102 return JoinPaths(metadata_dir_, image_name) + ".status"; in GetStatusFilePath() 130 if (!MetadataExists(metadata_dir_)) { in GetAllBackingImages() 133 auto metadata = OpenMetadata(metadata_dir_); in GetAllBackingImages() 143 if (!MetadataExists(metadata_dir_)) { in BackingImageExists() 146 auto metadata = OpenMetadata(metadata_dir_); in BackingImageExists() 154 return IsSubdir(metadata_dir_, kTestImageMetadataDir) || in MetadataDirIsTest() 155 IsSubdir(metadata_dir_, kOtaTestImageMetadataDir); in MetadataDirIsTest() 204 if (!UpdateMetadata(metadata_dir_, name, fw.get(), size, readonly)) { in CreateBackingImage() 293 return RemoveImageMetadata(metadata_dir_, name); in DeleteBackingImage() [all …]
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.h | 104 metadata_dir_(metadata_dir) {} in SnapshotFuzzDeviceInfo() 107 std::string GetMetadataDir() const override { return metadata_dir_; } in GetMetadataDir() 138 std::string metadata_dir_; variable
|
D | snapshot_test.cpp | 1640 metadata_dir_ = test_device->GetMetadataDir(); in SetUp() 1648 EXPECT_TRUE(android::fs_mgr::EnsurePathMounted(&fstab_, metadata_dir_)); in TearDown() 1657 auto entry = GetEntryForPath(&fstab_, metadata_dir_); in IsMetadataMounted() 1659 return AssertionFailure() << "No mount point found in fstab for path " << metadata_dir_; in IsMetadataMounted() 1664 return AssertionFailure() << metadata_dir_ << " is not mounted"; in IsMetadataMounted() 1666 return AssertionSuccess() << metadata_dir_ << " is mounted"; in IsMetadataMounted() 1668 std::string metadata_dir_; member in android::snapshot::MetadataMountedTest 1687 metadata_dir_ = test_device->GetMetadataDir(); in TEST_F() 1689 EXPECT_TRUE(android::fs_mgr::EnsurePathUnmounted(&fstab_, metadata_dir_)); in TEST_F()
|
D | snapshot.cpp | 118 metadata_dir_ = device_->GetMetadataDir(); in SnapshotManager() 1273 return metadata_dir_ + "/" + android::base::Basename(kBootIndicatorPath); in GetSnapshotBootIndicatorPath() 1277 return metadata_dir_ + "/" + android::base::Basename(kRollbackIndicatorPath); in GetRollbackIndicatorPath() 1281 return metadata_dir_ + "/allow-forward-merge"; in GetForwardMergeIndicatorPath() 1285 return metadata_dir_ + "/old-partition-metadata"; in GetOldPartitionMetadataPath() 1827 auto dir_path = metadata_dir_ + "/snapshots"s; in ListSnapshots() 2414 return metadata_dir_ + "/state"s; in GetStateFilePath() 2418 return metadata_dir_ + "/merge_state"s; in GetMergeStateFilePath() 2422 return metadata_dir_; in GetLockPath() 2598 auto file = metadata_dir_ + "/snapshots/"s + name; in GetSnapshotStatusFilePath()
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | image_manager.h | 197 std::string metadata_dir_; variable
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 776 std::string metadata_dir_; variable
|