Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/include/libdm/
Ddm.h83 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);
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h164 virtual bool DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function
165 return impl_.DeleteDeviceIfExists(name); in DeleteDeviceIfExists()
/system/vold/model/
DPrivateVolume.cpp79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
/system/core/fs_mgr/libdm/
Ddm.cpp91 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name, in DeleteDeviceIfExists() function in android::dm::DeviceMapper
99 bool DeviceMapper::DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function in android::dm::DeviceMapper
100 return DeleteDeviceIfExists(name, 0ms); in DeleteDeviceIfExists()
Ddm_test.cpp63 ASSERT_TRUE(dm.DeleteDeviceIfExists(test_name_)); in TearDown()
714 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.cpp689 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 …]
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()
1114 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.h828 bool DeleteDeviceIfExists(const std::string& name,
/system/apex/apexd/
Dapexd_test.cpp4636 dm.DeleteDeviceIfExists("com.android.apex.test_package", 1s); in TEST_F()
4637 dm.DeleteDeviceIfExists("com.android.apex.compressed", 1s); in TEST_F()