Searched refs:DeleteDeviceIfExists (Results 1 – 13 of 13) sorted by relevance
/system/core/fs_mgr/libsnapshot/snapuserd/testing/ |
D | temp_device.h | 40 dm_.DeleteDeviceIfExists(name_); in ~Tempdevice() 48 return dm_.DeleteDeviceIfExists(name_); in Destroy()
|
/system/core/fs_mgr/libdm/include/libdm/ |
D | dm.h | 84 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/ |
D | test_helpers.h | 167 virtual bool DeleteDeviceIfExists(const std::string& name) { in DeleteDeviceIfExists() function 168 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 | 94 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()
|
D | dm_test.cpp | 65 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/ |
D | utility.cpp | 68 if (!dm_->DeleteDeviceIfExists(name_)) { in ~AutoUnmapDevice()
|
D | snapshot.cpp | 736 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 …]
|
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() 1160 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 | 831 bool DeleteDeviceIfExists(const std::string& name,
|
/system/apex/apexd/ |
D | apexd_test.cpp | 4708 dm.DeleteDeviceIfExists("com.android.apex.test_package", 1s); in TEST_F() 4709 dm.DeleteDeviceIfExists("com.android.apex.compressed", 1s); in TEST_F()
|