Searched refs:DeleteDeviceIfExists (Results 1 – 10 of 10) sorted by relevance
92 bool DeleteDeviceIfExists(const std::string& name);96 bool DeleteDeviceIfExists(const std::string& name, const std::chrono::milliseconds& timeout_ms);
90 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::dm::DeviceMapper98 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function in android::dm::DeviceMapper99 return DeleteDeviceIfExists(name, 0ms); in DeleteDeviceIfExists()
63 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()
586 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::SnapshotManager3735 if (dm.DeleteDeviceIfExists(name)) { in DeleteDeviceIfExists()
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()967 if (!dm_.DeleteDeviceIfExists(name + "_a"s)) { in UnmapAll()
79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
614 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()
772 bool DeleteDeviceIfExists(const std::string& name,