Home
last modified time | relevance | path

Searched refs:IImageManager (Results 1 – 18 of 18) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dpassthrough.cpp22 std::unique_ptr<IImageManager> IImageManager::Open(const std::string& dir_prefix, in Open()
Dbinder.cpp50 class ImageManagerBinder final : public IImageManager {
227 std::unique_ptr<IImageManager> IImageManager::Open(const std::string& dir, in Open()
DAndroid.bp60 // Open up a passthrough IImageManager interface. Use libfiemap_binder whenever
Dimage_manager.cpp742 std::unique_ptr<MappedDevice> MappedDevice::Open(IImageManager* manager, in Open()
757 MappedDevice::MappedDevice(IImageManager* manager, const std::string& name, const std::string& path) in MappedDevice()
768 bool IImageManager::UnmapImageIfExists(const std::string& name) { in UnmapImageIfExists()
/system/core/fs_mgr/libfiemap/include/libfiemap/
Dimage_manager.h35 class IImageManager {
39 virtual ~IImageManager() {} in ~IImageManager()
49 static std::unique_ptr<IImageManager> Open(const std::string& dir_prefix,
136 class ImageManager final : public IImageManager {
206 static std::unique_ptr<MappedDevice> Open(IImageManager* manager,
216 MappedDevice(IImageManager* manager, const std::string& name, const std::string& path);
218 IImageManager* manager_;
/system/core/fs_mgr/libsnapshot/
Ddevice_info.cpp125 std::unique_ptr<android::fiemap::IImageManager> DeviceInfo::OpenImageManager() const { in OpenImageManager()
129 std::unique_ptr<android::fiemap::IImageManager> ISnapshotManager::IDeviceInfo::OpenImageManager( in OpenImageManager()
138 return android::fiemap::IImageManager::Open(gsid_dir, 15000ms); in OpenImageManager()
Dsnapshot_fuzz_utils.h68 std::unique_ptr<android::fiemap::IImageManager> CheckCreateFakeImageManager();
128 std::unique_ptr<IImageManager> OpenImageManager() const { in OpenImageManager()
146 class SnapshotFuzzImageManager : public android::fiemap::IImageManager {
201 std::unique_ptr<android::fiemap::IImageManager> impl_;
204 SnapshotFuzzImageManager(std::unique_ptr<android::fiemap::IImageManager>&& impl) in SnapshotFuzzImageManager()
Dutility.h73 AutoUnmapImage(android::fiemap::IImageManager* images, const std::string& name) in AutoUnmapImage()
80 android::fiemap::IImageManager* images_ = nullptr;
Ddevice_info.h41 std::unique_ptr<IImageManager> OpenImageManager() const override;
Dtest_helpers.cpp34 using android::fiemap::IImageManager;
38 void DeleteBackingImage(IImageManager* manager, const std::string& name) { in DeleteBackingImage()
Dsnapshot_test.cpp60 using android::fiemap::IImageManager;
420 android::fiemap::IImageManager* image_manager_ = nullptr;
1371 IImageManager::CREATE_IMAGE_DEFAULT)); in TEST_F()
2271 IImageManager::CREATE_IMAGE_DEFAULT)) in TEST_P()
2281 IImageManager::CREATE_IMAGE_DEFAULT); in TEST_P()
2314 std::unique_ptr<IImageManager> super_images_;
2320 IImageManager::CREATE_IMAGE_DEFAULT | IImageManager::CREATE_IMAGE_ZERO_FILL; in CreateFakeSuper()
2359 super_images_ = IImageManager::Open("ota/test/super", 10s); in SetUp()
Dsnapshot_fuzz_utils.cpp58 using android::fiemap::IImageManager;
384 std::unique_ptr<IImageManager> SnapshotFuzzEnv::CheckCreateFakeImageManager() { in CheckCreateFakeImageManager()
Dsnapshot.cpp66 using android::fiemap::IImageManager;
396 int cow_flags = IImageManager::CREATE_IMAGE_DEFAULT; in CreateCowImage()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h52 class IImageManager; variable
97 using IImageManager = android::fiemap::IImageManager;
112 virtual std::unique_ptr<IImageManager> OpenImageManager() const = 0;
115 std::unique_ptr<IImageManager> OpenImageManager(const std::string& gsid_dir) const;
421 using IImageManager = android::fiemap::IImageManager; variable
436 IImageManager* image_manager() const { return images_.get(); } in image_manager()
778 std::unique_ptr<IImageManager> images_;
Dmock_device_info.h35 MOCK_METHOD(std::unique_ptr<android::fiemap::IImageManager>, OpenImageManager, (),
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h99 std::unique_ptr<IImageManager> OpenImageManager() const override { in OpenImageManager()
146 void DeleteBackingImage(android::fiemap::IImageManager* manager, const std::string& name);
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp65 using android::fiemap::IImageManager;
513 auto images = IImageManager::Open("remount", 10s); in fs_mgr_overlayfs_teardown_scratch()
1109 auto images = IImageManager::Open("remount", 10s); in CreateScratchOnData()
1140 auto flags = IImageManager::CREATE_IMAGE_DEFAULT; in CreateScratchOnData()
1399 auto images = IImageManager::Open("remount", 10s); in EnsureScratchMapped()
1445 auto images = IImageManager::Open("dsu/" + dsu_slot, 10s); in MapDsuScratchDevice()
1546 if (auto images = IImageManager::Open("remount", 0ms)) { in MapScratchPartitionIfNeeded()
1563 if (auto images = IImageManager::Open("remount", 0ms)) { in CleanupOldScratchFiles()
/system/core/init/
Dfirst_stage_mount.cpp59 using android::fiemap::IImageManager;
656 auto images = IImageManager::Open("dsu/" + active_dsu, 0ms); in UseDsuIfPresent()