Home
last modified time | relevance | path

Searched refs:ImageManager (Results 1 – 11 of 11) sorted by relevance

/system/core/fs_mgr/libfiemap/include/libfiemap/
Dimage_manager.h129 class ImageManager final : public IImageManager {
133 static std::unique_ptr<ImageManager> Open(const std::string& metadata_dir,
138 static std::unique_ptr<ImageManager> Open(const std::string& dir_prefix);
169 ImageManager(const std::string& metadata_dir, const std::string& data_dir);
180 ImageManager(const ImageManager&) = delete;
181 ImageManager& operator=(const ImageManager&) = delete;
182 ImageManager& operator=(ImageManager&&) = delete;
183 ImageManager(ImageManager&&) = delete;
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp56 std::unique_ptr<ImageManager> ImageManager::Open(const std::string& dir_prefix) { in Open()
67 std::unique_ptr<ImageManager> ImageManager::Open(const std::string& metadata_dir, in Open()
69 return std::unique_ptr<ImageManager>(new ImageManager(metadata_dir, data_dir)); in Open()
72 ImageManager::ImageManager(const std::string& metadata_dir, const std::string& data_dir) in ImageManager() function in android::fiemap::ImageManager
77 std::string ImageManager::GetImageHeaderPath(const std::string& name) { in GetImageHeaderPath()
87 std::string ImageManager::GetStatusFilePath(const std::string& image_name) { in GetStatusFilePath()
99 void ImageManager::set_partition_opener(std::unique_ptr<IPartitionOpener>&& opener) { in set_partition_opener()
103 bool ImageManager::IsImageMapped(const std::string& image_name) { in IsImageMapped()
114 std::vector<std::string> ImageManager::GetAllBackingImages() { in GetAllBackingImages()
128 bool ImageManager::BackingImageExists(const std::string& name) { in BackingImageExists()
[all …]
Dimage_test.cpp40 using android::fiemap::ImageManager;
76 manager_ = ImageManager::Open(kMetadataPath, gDataPath); in SetUp()
92 std::unique_ptr<ImageManager> manager_;
Dpassthrough.cpp25 return ImageManager::Open(dir_prefix); in Open()
/system/gsid/
Dpartition_installer.h36 using ImageManager = android::fiemap::ImageManager; variable
58 void PostInstallCleanup(ImageManager* manager);
80 std::unique_ptr<ImageManager> images_;
Dpartition_installer.cpp55 images_ = ImageManager::Open(MetadataDir(active_dsu), install_dir_); in PartitionInstaller()
71 auto manager = ImageManager::Open(MetadataDir(active_dsu_), install_dir_); in PostInstallCleanup()
79 void PartitionInstaller::PostInstallCleanup(ImageManager* manager) { in PostInstallCleanup()
181 int flags = ImageManager::CREATE_IMAGE_DEFAULT; in CreateImage()
183 flags |= ImageManager::CREATE_IMAGE_READONLY; in CreateImage()
336 auto image = ImageManager::Open(MetadataDir(active_dsu), install_dir); in WipeWritable()
Dgsi_service.cpp500 ImageService(GsiService* service, std::unique_ptr<ImageManager>&& impl, uid_t uid);
521 std::unique_ptr<ImageManager> impl_;
525 ImageService::ImageService(GsiService* service, std::unique_ptr<ImageManager>&& impl, uid_t uid) in ImageService()
733 auto impl = ImageManager::Open(metadata_dir, data_dir); in openImageService()
876 if (auto manager = ImageManager::Open(MetadataDir(active_dsu), install_dir)) { in RemoveGsiFiles()
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp48 using android::fiemap::ImageManager;
101 std::unique_ptr<ImageManager> images_;
144 images_ = ImageManager::Open("/metadata/gsi/test", "/data/gsi/test"); in OpenImageManager()
Dsnapshot_fuzz_utils.h145 auto impl = android::fiemap::ImageManager::Open(metadata_dir, data_dir); in Open()
Dsnapshot_fuzz_utils.cpp59 using android::fiemap::ImageManager;
Dsnapshot.cpp2098 images_ = android::fiemap::ImageManager::Open(gsid_dir_); in ForceLocalImageManager()