Searched refs:FileWaitMode (Results 1 – 7 of 7) sorted by relevance
/system/core/fs_mgr/libfs_avb/ |
D | util.h | 55 enum class FileWaitMode { Exists, DoesNotExist }; enum 57 FileWaitMode wait_mode = FileWaitMode::Exists);
|
D | util.cpp | 87 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()
|
D | fs_avb.cpp | 472 if (!path.empty() && !WaitForFile(path, 1000ms, FileWaitMode::DoesNotExist)) { in TearDownAvbHashtree()
|
/system/core/fs_mgr/ |
D | fs_mgr_priv.h | 91 enum class FileWaitMode { Exists, DoesNotExist }; enum 95 FileWaitMode wait_mode = FileWaitMode::Exists);
|
D | fs_mgr_dm_linear.cpp | 131 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()
|
D | fs_mgr.cpp | 122 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/ |
D | util_test.cpp | 30 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()
|