Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/snapuserd/testing/
Dtemp_device.h40 dm_.DeleteDeviceIfExists(name_); in ~Tempdevice()
48 return dm_.DeleteDeviceIfExists(name_); in Destroy()
/system/core/fs_mgr/libdm/include/libdm/
Ddm.h84 virtual bool DeleteDeviceIfExists(const std::string& name) = 0;
127 bool DeleteDeviceIfExists(const std::string& name) override;
131 bool DeleteDeviceIfExists(const std::string& name, const std::chrono::milliseconds& timeout_ms);
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h167 virtual bool DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function
168 return impl_.DeleteDeviceIfExists(name); in DeleteDeviceIfExists()
/system/vold/model/
DPrivateVolume.cpp79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
/system/core/fs_mgr/libdm/
Ddm.cpp94 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::dm::DeviceMapper
102 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function in android::dm::DeviceMapper
103 return DeleteDeviceIfExists(name, 0ms); in DeleteDeviceIfExists()
Ddm_test.cpp65 ASSERT_TRUE(dm.DeleteDeviceIfExists(test_name_)); in TearDown()
732 android::base::make_scope_guard([&]() { dm.DeleteDeviceIfExists("empty-device", 5s); }); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dutility.cpp68 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
Dsnapshot.cpp736 if (!DeleteDeviceIfExists(name)) { in UnmapSnapshot()
1626 if (!DeleteDeviceIfExists(base_name)) { in CollapseSnapshotDevice()
1630 if (!DeleteDeviceIfExists(GetSourceDeviceName(name), 4000ms)) { in CollapseSnapshotDevice()
2599 if (!DeleteDeviceIfExists(base_name)) { in UnmapPartitionWithSnapshot()
2605 if (!DeleteDeviceIfExists(source_name)) { in UnmapPartitionWithSnapshot()
2696 if (!DeleteDeviceIfExists(GetCowName(name), 4000ms)) { in UnmapCowDevices()
2714 if (!DeleteDeviceIfExists(dm_user_name)) { in UnmapDmUserDevice()
2753 if (!DeleteDeviceIfExists(dm_user_name, 4000ms)) { in UnmapUserspaceSnapshotDevice()
3170 if (!DeleteDeviceIfExists(existing_cow_partition->name())) { in UnmapAndDeleteCowPartition()
4375 bool SnapshotManager::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::snapshot::SnapshotManager
[all …]
Dsnapshot_test.cpp395 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()
1160 if (!dm_.DeleteDeviceIfExists(name + "_a"s)) { in UnmapAll()
/system/core/fs_mgr/libfiemap/
Dimage_test.cpp254 ASSERT_TRUE(dm.DeleteDeviceIfExists(dm_name_)); in TearDown()
Dimage_manager.cpp614 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h831 bool DeleteDeviceIfExists(const std::string& name,
/system/apex/apexd/
Dapexd_test.cpp4708 dm.DeleteDeviceIfExists("com.android.apex.test_package", 1s); in TEST_F()
4709 dm.DeleteDeviceIfExists("com.android.apex.compressed", 1s); in TEST_F()