Home
last modified time | relevance | path

Searched refs:FileWaitMode (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/libfs_avb/
Dutil.h55 enum class FileWaitMode { Exists, DoesNotExist }; enum
57 FileWaitMode wait_mode = FileWaitMode::Exists);
Dutil.cpp87 FileWaitMode file_wait_mode) { in WaitForFile()
92 if (file_wait_mode == FileWaitMode::Exists) { in WaitForFile()
94 } else if (file_wait_mode == FileWaitMode::DoesNotExist) { in WaitForFile()
Dfs_avb.cpp472 if (!path.empty() && !WaitForFile(path, 1000ms, FileWaitMode::DoesNotExist)) { in TearDownAvbHashtree()
/system/core/fs_mgr/
Dfs_mgr_priv.h91 enum class FileWaitMode { Exists, DoesNotExist }; enum
95 FileWaitMode wait_mode = FileWaitMode::Exists);
Dfs_mgr_dm_linear.cpp131 if (!fs_mgr_wait_for_file(*path, timeout_ms, FileWaitMode::Exists)) { in CreateLogicalPartition()
205 if (!path.empty() && !fs_mgr_wait_for_file(path, timeout_ms, FileWaitMode::DoesNotExist)) { in UnmapDevice()
Dfs_mgr.cpp122 FileWaitMode file_wait_mode) { in fs_mgr_wait_for_file()
127 if (file_wait_mode == FileWaitMode::Exists) { in fs_mgr_wait_for_file()
129 } else if (file_wait_mode == FileWaitMode::DoesNotExist) { in fs_mgr_wait_for_file()
/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp30 using android::fs_mgr::FileWaitMode;
179 auto wait_file = std::async(WaitForFile, wait_path.value(), 500ms, FileWaitMode::Exists); in TEST()
200 auto wait_file = std::async(WaitForFile, wait_path.value(), 50ms, FileWaitMode::Exists); in TEST()