Searched refs:DeleteDeviceIfExists (Results 1 – 12 of 12) sorted by relevance
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 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);
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 164 virtual bool DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function 165 return impl_.DeleteDeviceIfExists(name); in DeleteDeviceIfExists()
|
/system/vold/model/ |
D | PrivateVolume.cpp | 79 ret = dm.DeleteDeviceIfExists(getId()); in doCreate()
|
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 91 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()
|
D | dm_test.cpp | 63 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/ |
D | utility.cpp | 68 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
|
D | snapshot.cpp | 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 …]
|
D | snapshot_test.cpp | 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()
|
/system/core/fs_mgr/libfiemap/ |
D | image_test.cpp | 254 ASSERT_TRUE(dm.DeleteDeviceIfExists(dm_name_)); in TearDown()
|
D | image_manager.cpp | 614 if (!dm.DeleteDeviceIfExists(name)) { in UnmapImageDevice()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 828 bool DeleteDeviceIfExists(const std::string& name,
|
/system/apex/apexd/ |
D | apexd_test.cpp | 4636 dm.DeleteDeviceIfExists("com.android.apex.test_package", 1s); in TEST_F() 4637 dm.DeleteDeviceIfExists("com.android.apex.compressed", 1s); in TEST_F()
|