Home
last modified time | relevance | path

Searched refs:TempDevice (Results 1 – 3 of 3) sorted by relevance

/aosp14/system/core/fs_mgr/libdm/
H A Dtest_util.h37 class TempDevice {
39 TempDevice(const std::string& name, const DmTable& table) in TempDevice() function
43 TempDevice(TempDevice&& other) noexcept in TempDevice() function
47 ~TempDevice() { in ~TempDevice()
63 TempDevice(const TempDevice&) = delete;
64 TempDevice& operator=(const TempDevice&) = delete;
66 TempDevice& operator=(TempDevice&& other) noexcept {
H A Ddm_test.cpp104 TempDevice dev("libdm-test-dm-linear", table); in TEST_F()
167 TempDevice dev("libdm-test-dm-suspend-resume", table); in TEST_F()
256 unique_ptr<TempDevice> origin_dev_;
257 unique_ptr<TempDevice> snapshot_dev_;
296 snapshot_dev_ = std::make_unique<TempDevice>("libdm-test-dm-snapshot", snap_table); in SetupImpl()
574 TempDevice dev("libdm-test-dm-linear", table); in TEST_F()
600 TempDevice dev("libdm-test-dm-linear", table); in TEST_F()
619 TempDevice dev("libdm-test-dm-linear", table); in TEST_F()
640 TempDevice dev("libdm-test-dm-linear", table); in TEST_F()
658 TempDevice dev("libdm-test-dm-linear", table); in TEST_F()
[all …]
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
H A Dcow_snapuserd_test.cpp54 class TempDevice { class
56 TempDevice(const std::string& name, const DmTable& table) in TempDevice() function in android::snapshot::TempDevice
60 TempDevice(TempDevice&& other) noexcept in TempDevice() function in android::snapshot::TempDevice
64 ~TempDevice() { in ~TempDevice()
80 TempDevice(const TempDevice&) = delete;
81 TempDevice& operator=(const TempDevice&) = delete;
83 TempDevice& operator=(TempDevice&& other) noexcept { in operator =()
140 unique_ptr<TempDevice> dmuser_dev_;
141 unique_ptr<TempDevice> snapshot_dev_;
716 dmuser_dev_ = std::make_unique<TempDevice>(system_device_name_, dmuser_table); in CreateDmUserDevice()
[all …]