Home
last modified time | relevance | path

Searched refs:dm_ (Results 1 – 7 of 7) sorted by relevance

/aosp12/system/core/fs_mgr/libdm/
H A Dtest_util.h40 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
41 valid_ = dm_.CreateDevice(name, table, &path_, std::chrono::seconds(5)); in TempDevice()
44 : dm_(other.dm_), name_(other.name_), path_(other.path_), valid_(other.valid_) { in TempDevice()
49 dm_.DeleteDevice(name_); in ~TempDevice()
57 return dm_.DeleteDevice(name_); in Destroy()
74 DeviceMapper& dm_;
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dpower_test.cpp100 DeviceMapper& dm_; member in android::snapshot::PowerTest
107 PowerTest::PowerTest() : dm_(DeviceMapper::Instance()) {} in PowerTest()
212 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Create()
228 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Cleanup()
354 if (!dm_.CreateDevice(kSnapshotName, table, &snapshot_path_, 10s)) { in MapSnapshot()
363 if (!dm_.GetTableStatus(kSnapshotName, &targets)) { in GetMergeStatus()
408 if (dm_.GetState(kSnapshotName) == DmDeviceState::INVALID) { in Merge()
466 if (!dm_.GetDmDevicePathByName(kSnapshotName, &md_path)) {
H A Dutility.h61 : AutoDevice(name), dm_(dm) {} in AutoUnmapDevice()
67 android::dm::DeviceMapper* dm_ = nullptr; member
H A Dcow_snapuserd_test.cpp56 : dm_(DeviceMapper::Instance()), name_(name), valid_(false) { in TempDevice()
57 valid_ = dm_.CreateDevice(name, table, &path_, std::chrono::seconds(5)); in TempDevice()
60 : dm_(other.dm_), name_(other.name_), path_(other.path_), valid_(other.valid_) { in TempDevice()
65 dm_.DeleteDevice(name_); in ~TempDevice()
73 return dm_.DeleteDevice(name_); in Destroy()
90 DeviceMapper& dm_; member in android::snapshot::TempDevice
H A Dutility.cpp63 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
H A Dsnapshot_test.cpp90 SnapshotTest() : dm_(DeviceMapper::Instance()) {} in SnapshotTest()
288 if (!dm_.DeleteDeviceIfExists(device)) { in DeleteDevice()
390 if (!dm_.DeleteDeviceIfExists("test_partition_b")) { in SimulateReboot()
393 if (!dm_.DeleteDeviceIfExists("test_partition_b-base")) { in SimulateReboot()
418 DeviceMapper& dm_; member in android::snapshot::SnapshotTest
935 if (!dm_.GetDmDevicePathByName(name, &path)) { in IsPartitionUnchanged()
967 if (!dm_.DeleteDeviceIfExists(name + "_a"s)) { in UnmapAll()
/aosp12/packages/apps/TV/tuner/tests/assets/
H A Dcapture_kqed.ts Error!