Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/include/libdm/
Ddm.h92 bool DeleteDeviceIfExists(const std::string& name);
96 bool DeleteDeviceIfExists(const std::string& name, const std::chrono::milliseconds& timeout_ms);
/system/core/fs_mgr/libdm/
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()
/system/core/fs_mgr/libsnapshot/
Dutility.cpp63 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
Dpower_test.cpp212 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Create()
228 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Cleanup()
Dsnapshot_fuzz_utils.cpp176 PCHECK(dm.DeleteDeviceIfExists(dev_name)) << dev_name; in CheckDeleteDeviceMapperTree()
207 PCHECK(dm.DeleteDeviceIfExists(dev_name)) << dev_name; in CheckDeleteDeviceMapperTree()
Dsnapshot.cpp586 if (!DeleteDeviceIfExists(name)) { in UnmapSnapshot()
1409 if (!DeleteDeviceIfExists(base_name)) { in CollapseSnapshotDevice()
1413 if (!DeleteDeviceIfExists(GetSourceDeviceName(name), 4000ms)) { in CollapseSnapshotDevice()
2164 if (!DeleteDeviceIfExists(base_name)) { in UnmapPartitionWithSnapshot()
2170 if (!DeleteDeviceIfExists(source_name)) { in UnmapPartitionWithSnapshot()
2260 if (!DeleteDeviceIfExists(GetCowName(name), 4000ms)) { in UnmapCowDevices()
2281 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapDmUserDevice()
2679 if (!DeleteDeviceIfExists(existing_cow_partition->name())) { in UnmapAndDeleteCowPartition()
3730 bool SnapshotManager::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::snapshot::SnapshotManager
3735 if (dm.DeleteDeviceIfExists(name)) { in DeleteDeviceIfExists()
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()
/system/vold/model/
DPrivateVolume.cpp79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
/system/core/fs_mgr/libfiemap/
Dimage_manager.cpp614 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h772 bool DeleteDeviceIfExists(const std::string& name,