Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp58 std::unique_ptr<ImageManager> ImageManager::Open(const std::string& dir_prefix, in Open()
70 std::unique_ptr<ImageManager> ImageManager::Open(const std::string& metadata_dir, in Open()
73 return std::unique_ptr<ImageManager>(new ImageManager(metadata_dir, data_dir, device_info)); in Open()
76 ImageManager::ImageManager(const std::string& metadata_dir, const std::string& data_dir, in ImageManager() function in android::fiemap::ImageManager
91 std::string ImageManager::GetImageHeaderPath(const std::string& name) { in GetImageHeaderPath()
101 std::string ImageManager::GetStatusFilePath(const std::string& image_name) { in GetStatusFilePath()
113 void ImageManager::set_partition_opener(std::unique_ptr<IPartitionOpener>&& opener) { in set_partition_opener()
117 bool ImageManager::IsImageMapped(const std::string& image_name) { in IsImageMapped()
128 std::vector<std::string> ImageManager::GetAllBackingImages() { in GetAllBackingImages()
142 bool ImageManager::BackingImageExists(const std::string& name) { in BackingImageExists()
[all …]
Dpassthrough.cpp26 return ImageManager::Open(dir_prefix, device_info); in Open()
Dimage_test.cpp42 using android::fiemap::ImageManager;
79 manager_ = ImageManager::Open(kMetadataPath, gDataPath); in SetUp()
95 std::unique_ptr<ImageManager> manager_;
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dimage_manager.h136 class ImageManager final : public IImageManager {
140 static std::unique_ptr<ImageManager> Open(const std::string& metadata_dir,
146 static std::unique_ptr<ImageManager> Open(const std::string& dir_prefix,
178 ImageManager(const std::string& metadata_dir, const std::string& data_dir,
192 ImageManager(const ImageManager&) = delete;
193 ImageManager& operator=(const ImageManager&) = delete;
194 ImageManager& operator=(ImageManager&&) = delete;
195 ImageManager(ImageManager&&) = delete;
/system/gsid/
Dpartition_installer.h36 using ImageManager = android::fiemap::ImageManager; variable
83 std::unique_ptr<ImageManager> images_;
Dpartition_installer.cpp51 images_ = ImageManager::Open(MetadataDir(active_dsu), install_dir_); in PartitionInstaller()
175 int flags = ImageManager::CREATE_IMAGE_DEFAULT; in CreateImage()
177 flags |= ImageManager::CREATE_IMAGE_READONLY; in CreateImage()
326 auto image = ImageManager::Open(MetadataDir(active_dsu), install_dir); in WipeWritable()
Dgsi_service.cpp565 ImageService(GsiService* service, std::unique_ptr<ImageManager>&& impl, uid_t uid);
586 std::unique_ptr<ImageManager> impl_;
590 ImageService::ImageService(GsiService* service, std::unique_ptr<ImageManager>&& impl, uid_t uid) in ImageService()
802 auto impl = ImageManager::Open(metadata_dir, data_dir); in openImageService()
957 if (auto manager = ImageManager::Open(MetadataDir(active_dsu), install_dir)) { in RemoveGsiFiles()
/system/core/fs_mgr/libsnapshot/
Ddevice_info.cpp132 android::fiemap::ImageManager::DeviceInfo device_info = { in OpenImageManager()
135 return android::fiemap::ImageManager::Open(gsid_dir, device_info); in OpenImageManager()
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.h150 auto impl = android::fiemap::ImageManager::Open(metadata_dir, data_dir); in Open()
Dsnapshot_fuzz_utils.cpp59 using android::fiemap::ImageManager;