Searched refs:DeleteDeviceIfExists (Results 1 – 10 of 10) sorted by relevance
83 virtual bool DeleteDeviceIfExists(const std::string& name) = 0;126 bool DeleteDeviceIfExists(const std::string& name) override;130 bool DeleteDeviceIfExists(const std::string& name, const std::chrono::milliseconds& timeout_ms);
164 virtual bool DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function165 return impl_.DeleteDeviceIfExists(name); in DeleteDeviceIfExists()
91 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::dm::DeviceMapper99 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function in android::dm::DeviceMapper100 return DeleteDeviceIfExists(name, 0ms); in DeleteDeviceIfExists()
63 ASSERT_TRUE(dm.DeleteDeviceIfExists(test_name_)); in TearDown()714 android::base::make_scope_guard([&]() { dm.DeleteDeviceIfExists("empty-device", 5s); }); in TEST_F()
689 if (!DeleteDeviceIfExists(name)) { in UnmapSnapshot()1650 if (!DeleteDeviceIfExists(base_name)) { in CollapseSnapshotDevice()1654 if (!DeleteDeviceIfExists(GetSourceDeviceName(name), 4000ms)) { in CollapseSnapshotDevice()2546 if (!DeleteDeviceIfExists(base_name)) { in UnmapPartitionWithSnapshot()2552 if (!DeleteDeviceIfExists(source_name)) { in UnmapPartitionWithSnapshot()2643 if (!DeleteDeviceIfExists(GetCowName(name), 4000ms)) { in UnmapCowDevices()2661 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapDmUserDevice()2700 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapUserspaceSnapshotDevice()3115 if (!DeleteDeviceIfExists(existing_cow_partition->name())) { in UnmapAndDeleteCowPartition()4311 bool SnapshotManager::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::snapshot::SnapshotManager[all …]
68 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
395 if (!sm->DeleteDeviceIfExists(device, 1s)) { in DeleteDevice()500 if (!dm_.DeleteDeviceIfExists("test_partition_b")) { in SimulateReboot()503 if (!dm_.DeleteDeviceIfExists("test_partition_b-base")) { in SimulateReboot()1114 if (!dm_.DeleteDeviceIfExists(name + "_a"s)) { in UnmapAll()
254 ASSERT_TRUE(dm.DeleteDeviceIfExists(dm_name_)); in TearDown()
614 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()
828 bool DeleteDeviceIfExists(const std::string& name,