Searched refs:DeleteDeviceIfExists (Results 1 – 9 of 9) sorted by relevance
92 bool DeleteDeviceIfExists(const std::string& name);96 bool DeleteDeviceIfExists(const std::string& name, const std::chrono::milliseconds& timeout_ms);
86 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::dm::DeviceMapper94 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function in android::dm::DeviceMapper95 return DeleteDeviceIfExists(name, 0ms); in DeleteDeviceIfExists()
72 if (!dm.DeleteDeviceIfExists(getId())) { in doCreate()
62 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
212 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Create()228 if (!dm_.DeleteDeviceIfExists(kSnapshotName)) { in Cleanup()
176 PCHECK(dm.DeleteDeviceIfExists(dev_name)) << dev_name; in CheckDeleteDeviceMapperTree()207 PCHECK(dm.DeleteDeviceIfExists(dev_name)) << dev_name; in CheckDeleteDeviceMapperTree()
505 if (!dm.DeleteDeviceIfExists(name)) { in UnmapSnapshot()511 if (!dm.DeleteDeviceIfExists(snapshot_extra_device)) { in UnmapSnapshot()1185 if (dm_name != name && !dm.DeleteDeviceIfExists(dm_name)) { in CollapseSnapshotDevice()1194 if (!dm.DeleteDeviceIfExists(base_name)) { in CollapseSnapshotDevice()1740 if (!dm.DeleteDeviceIfExists(base_name)) { in UnmapPartitionWithSnapshot()1828 if (!dm.DeleteDeviceIfExists(cow_name)) { in UnmapCowDevices()2111 if (!dm.DeleteDeviceIfExists(existing_cow_partition->name())) { in UnmapAndDeleteCowPartition()
254 if (!dm_.DeleteDeviceIfExists(device)) { in DeleteDevice()886 if (!dm_.DeleteDeviceIfExists(name + "_a"s)) { in UnmapAll()
598 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()