Searched refs:AutoDevice (Results 1 – 14 of 14) sorted by relevance
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | auto_device.h | 26 struct AutoDevice { struct 27 virtual ~AutoDevice(){}; in ~AutoDevice() argument 33 AutoDevice(const std::string& name) : name_(name) {} in AutoDevice() argument 37 DISALLOW_COPY_AND_ASSIGN(AutoDevice); argument 38 AutoDevice(AutoDevice&& other) = delete;
|
D | snapshot_stub.h | 47 const std::unique_ptr<AutoDevice>& metadata_device) override; 49 std::unique_ptr<AutoDevice> EnsureMetadataMounted() override;
|
D | mock_snapshot.h | 49 (const std::unique_ptr<AutoDevice>& metadata_device), (override)); 51 MOCK_METHOD(std::unique_ptr<AutoDevice>, EnsureMetadataMounted, (), (override));
|
D | snapshot.h | 225 const std::unique_ptr<AutoDevice>& metadata_device) = 0; 244 virtual std::unique_ptr<AutoDevice> EnsureMetadataMounted() = 0; 300 const std::unique_ptr<AutoDevice>& metadata_device) override; 302 std::unique_ptr<AutoDevice> EnsureMetadataMounted() override;
|
/system/core/fs_mgr/libsnapshot/ |
D | utility.h | 54 std::vector<std::unique_ptr<AutoDevice>> devices_; 58 struct AutoUnmapDevice : AutoDevice { 61 : AutoDevice(name), dm_(dm) {} in AutoUnmapDevice() 71 struct AutoUnmapImage : AutoDevice { 74 : AutoDevice(name), images_(images) {} in AutoUnmapImage() 85 struct AutoDeleteSnapshot : AutoDevice { 88 : AutoDevice(name), manager_(manager), lock_(lock) {} in AutoDeleteSnapshot() 98 struct AutoUnmountDevice : AutoDevice { 100 AutoUnmountDevice() : AutoDevice("") {} in AutoUnmountDevice() 106 : AutoDevice(path), fstab_(std::move(fstab)) {} in AutoUnmountDevice()
|
D | snapshot_fuzz_utils.h | 38 class NoOpAutoDevice : public AutoDevice { 40 NoOpAutoDevice(bool mounted) : AutoDevice(mounted ? "no_op" : "") {} in NoOpAutoDevice() 75 std::unique_ptr<AutoDevice> auto_delete_data_mount_point_; 76 std::unique_ptr<AutoDevice> mapped_super_; 78 std::unique_ptr<AutoDevice> mapped_data_; 80 std::unique_ptr<AutoDevice> mounted_data_; 84 static std::unique_ptr<AutoDevice> CheckMapImage(const std::string& fake_persist_path, 88 static std::unique_ptr<AutoDevice> CheckMountFormatData(const std::string& blk_device,
|
D | snapshot_fuzz_utils.cpp | 248 class AutoDeleteDir : public AutoDevice { 262 AutoDeleteDir(const std::string& path) : AutoDevice(path) {} in AutoDeleteDir() 265 class AutoUnmount : public AutoDevice { 271 AutoUnmount(const std::string& path) : AutoDevice(path) {} in AutoUnmount() 289 class AutoMemBasedDir : public AutoDevice { 328 AutoMemBasedDir(const std::string& name) : AutoDevice(name) {} in AutoMemBasedDir() 401 class AutoDetachLoopDevice : public AutoDevice { 404 : AutoDevice(device), control_(control) {} in AutoDetachLoopDevice() 411 std::unique_ptr<AutoDevice> SnapshotFuzzEnv::CheckMapImage(const std::string& img_path, in CheckMapImage() 486 std::unique_ptr<AutoDevice> SnapshotFuzzEnv::CheckMountFormatData(const std::string& blk_device, in CheckMountFormatData()
|
D | snapshot_stub.cpp | 103 const std::unique_ptr<AutoDevice>&) { in RecoveryCreateSnapshotDevices() argument 113 std::unique_ptr<AutoDevice> SnapshotManagerStub::EnsureMetadataMounted() { in EnsureMetadataMounted()
|
D | utility.cpp | 42 void AutoDevice::Release() { in Release()
|
D | snapshot_fuzz.cpp | 142 std::unique_ptr<AutoDevice> device; in SNAPSHOT_FUZZ_FUNCTION()
|
D | snapshot.cpp | 2516 std::unique_ptr<AutoDevice> SnapshotManager::EnsureMetadataMounted() { in EnsureMetadataMounted() 2716 const std::unique_ptr<AutoDevice>& metadata_device) { in RecoveryCreateSnapshotDevices()
|
/system/update_engine/ |
D | cleanup_previous_update_action.h | 72 std::unique_ptr<android::snapshot::AutoDevice> metadata_device_;
|
D | dynamic_partition_control_android.h | 274 std::unique_ptr<android::snapshot::AutoDevice> metadata_device_;
|
D | dynamic_partition_control_android_unittest.cc | 916 class FakeAutoDevice : public android::snapshot::AutoDevice { 918 FakeAutoDevice() : AutoDevice("") {} in FakeAutoDevice()
|