Home
last modified time | relevance | path

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

/aosp14/system/core/fs_mgr/tests/
H A Dfile_wait_test.cpp27 using android::fs_mgr::WaitForFileDeleted;
47 ASSERT_FALSE(WaitForFileDeleted(test_file_, 500ms)); in TEST_F()
52 ASSERT_TRUE(WaitForFileDeleted(test_file_, 500ms)); in TEST_F()
84 EXPECT_TRUE(WaitForFileDeleted(test_file_, 3s)); in TEST_F()
/aosp14/system/core/fs_mgr/include/fs_mgr/
H A Dfile_wait.h34 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds relative_timeout);
/aosp14/system/core/fs_mgr/libdm/
H A Dutility.h26 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds& timeout_ms);
H A Dutility.cpp61 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds& timeout_ms) { in WaitForFileDeleted() function
H A Ddm_test.cpp669 ASSERT_TRUE(WaitForFileDeleted(path, 5s)); in TEST_F()
704 ASSERT_TRUE(WaitForFileDeleted(path, 5s)); in TEST_F()
H A Ddm.cpp130 if (!WaitForFileDeleted(unique_path, timeout_ms)) { in DeleteDevice()
/aosp14/system/core/fs_mgr/
H A Dfile_wait.cpp228 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFileDeleted() function
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/
H A Dsnapuserd_client.cpp323 if (!android::fs_mgr::WaitForFileDeleted(filePath, 5s)) { in RemoveTransitionedDaemonIndicator()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
H A Dsnapuserd_test.cpp184 ASSERT_TRUE(android::fs_mgr::WaitForFileDeleted(misc_device, 10s)); in Shutdown()
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_test.cpp2445 ASSERT_TRUE(android::fs_mgr::WaitForFileDeleted("/dev/dm-user/sys_b-init", 10s)); in TEST_F()
2453 ASSERT_TRUE(android::fs_mgr::WaitForFileDeleted("/dev/dm-user/sys_b-user-cow-init", 10s)); in TEST_F()
H A Dsnapshot.cpp2675 if (!android::fs_mgr::WaitForFileDeleted(control_device, 10s)) { in UnmapDmUserDevice()
2715 if (!android::fs_mgr::WaitForFileDeleted(control_device, 10s)) { in UnmapUserspaceSnapshotDevice()
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/
H A Dcow_snapuserd_test.cpp199 ASSERT_TRUE(android::fs_mgr::WaitForFileDeleted(misc_device, 10s)); in Shutdown()