Home
last modified time | relevance | path

Searched refs:relative_timeout (Results 1 – 6 of 6) sorted by relevance

/aosp14/system/core/fs_mgr/
H A Dfile_wait.cpp41 bool PollForFile(const std::string& path, const std::chrono::milliseconds relative_timeout) { in PollForFile() argument
51 if (time_elapsed > relative_timeout) return false; in PollForFile()
65 if (time_elapsed > relative_timeout) return false; in PollForFileDeleted()
73 const std::chrono::milliseconds relative_timeout);
94 const std::chrono::milliseconds relative_timeout) in OneShotInotify() argument
98 relative_timeout_(relative_timeout), in OneShotInotify()
218 bool WaitForFile(const std::string& path, const std::chrono::milliseconds relative_timeout) { in WaitForFile() argument
220 OneShotInotify inotify(path, IN_CREATE, relative_timeout); in WaitForFile()
223 return PollForFile(path, relative_timeout); in WaitForFile()
230 OneShotInotify inotify(path, IN_DELETE_SELF, relative_timeout); in WaitForFileDeleted()
[all …]
/aosp14/system/core/fs_mgr/include/fs_mgr/
H A Dfile_wait.h29 bool WaitForFile(const std::string& path, const std::chrono::milliseconds relative_timeout);
34 bool WaitForFileDeleted(const std::string& path, const std::chrono::milliseconds relative_timeout);
/aosp14/system/core/init/
H A Duevent_listener.cpp184 const std::optional<std::chrono::milliseconds> relative_timeout) const { in Poll()
198 if (relative_timeout) { in Poll()
201 if (time_elapsed > *relative_timeout) return; in Poll()
203 auto remaining_timeout = *relative_timeout - time_elapsed; in Poll()
H A Duevent_listener.h56 const std::optional<std::chrono::milliseconds> relative_timeout = {}) const;
/aosp14/system/core/fs_mgr/libfs_avb/
H A Dutil.cpp89 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout, in WaitForFile() argument
105 if (time_elapsed > relative_timeout) return false; in WaitForFile()
H A Dutil.h62 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout,