Home
last modified time | relevance | path

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

/aosp12/system/core/fs_mgr/libdm/include/libdm/
H A Ddm.h96 bool DeleteDeviceIfExists(const std::string& name);
100 bool DeleteDeviceIfExists(const std::string& name, const std::chrono::milliseconds& timeout_ms);
/aosp12/system/core/fs_mgr/libdm/
H A Ddm.cpp90 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::dm::DeviceMapper
98 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function in android::dm::DeviceMapper
99 return DeleteDeviceIfExists(name, 0ms); in DeleteDeviceIfExists()
H A Ddm_test.cpp688 android::base::make_scope_guard([&]() { dm.DeleteDeviceIfExists("empty-device", 5s); }); in TEST()
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dpower_test.cpp212 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Create()
228 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Cleanup()
H A Dutility.cpp63 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
H A Dsnapshot_fuzz_utils.cpp176 PCHECK(dm.DeleteDeviceIfExists(dev_name)) << dev_name; in CheckDeleteDeviceMapperTree()
207 PCHECK(dm.DeleteDeviceIfExists(dev_name)) << dev_name; in CheckDeleteDeviceMapperTree()
H A Dsnapshot.cpp596 if (!DeleteDeviceIfExists(name)) { in UnmapSnapshot()
1429 if (!DeleteDeviceIfExists(base_name)) { in CollapseSnapshotDevice()
1433 if (!DeleteDeviceIfExists(GetSourceDeviceName(name), 4000ms)) { in CollapseSnapshotDevice()
2195 if (!DeleteDeviceIfExists(base_name)) { in UnmapPartitionWithSnapshot()
2201 if (!DeleteDeviceIfExists(source_name)) { in UnmapPartitionWithSnapshot()
2291 if (!DeleteDeviceIfExists(GetCowName(name), 4000ms)) { in UnmapCowDevices()
2312 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapDmUserDevice()
2711 if (!DeleteDeviceIfExists(existing_cow_partition->name())) { in UnmapAndDeleteCowPartition()
3762 bool SnapshotManager::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::snapshot::SnapshotManager
3767 if (dm.DeleteDeviceIfExists(name)) { in DeleteDeviceIfExists()
H A Dsnapshot_test.cpp288 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()
967 if (!dm_.DeleteDeviceIfExists(name + "_a"s)) { in UnmapAll()
/aosp12/system/vold/model/
H A DPrivateVolume.cpp79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
/aosp12/system/core/fs_mgr/libfiemap/
H A Dimage_manager.cpp614 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()
/aosp12/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dsnapshot.h785 bool DeleteDeviceIfExists(const std::string& name,