Home
last modified time | relevance | path

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

/system/core/base/
Dproperties.cpp135 static void UpdateTimeSpec(timespec& ts, std::chrono::milliseconds relative_timeout, in UpdateTimeSpec() argument
139 if (time_elapsed >= relative_timeout) { in UpdateTimeSpec()
142 auto remaining_timeout = relative_timeout - time_elapsed; in UpdateTimeSpec()
152 const std::chrono::milliseconds& relative_timeout, in WaitForPropertyCreation() argument
161 UpdateTimeSpec(ts, relative_timeout, start_time); in WaitForPropertyCreation()
168 std::chrono::milliseconds relative_timeout) { in WaitForProperty() argument
170 const prop_info* pi = WaitForPropertyCreation(key, relative_timeout, start_time); in WaitForProperty()
183 UpdateTimeSpec(ts, relative_timeout, start_time); in WaitForProperty()
190 std::chrono::milliseconds relative_timeout) { in WaitForPropertyCreation() argument
192 return (WaitForPropertyCreation(key, relative_timeout, start_time) != nullptr); in WaitForPropertyCreation()
/system/core/base/include/android-base/
Dproperties.h62 std::chrono::milliseconds relative_timeout = std::chrono::milliseconds::max());
69 bool WaitForPropertyCreation(const std::string& key, std::chrono::milliseconds relative_timeout =
/system/core/init/
Duevent_listener.cpp183 const std::optional<std::chrono::milliseconds> relative_timeout) const { in Poll()
196 if (relative_timeout) { in Poll()
199 if (time_elapsed > *relative_timeout) return; in Poll()
201 auto remaining_timeout = *relative_timeout - time_elapsed; in Poll()
Duevent_listener.h50 const std::optional<std::chrono::milliseconds> relative_timeout = {}) const;
/system/core/fs_mgr/libfs_avb/
Dutil.cpp86 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout, in WaitForFile() argument
102 if (time_elapsed > relative_timeout) return false; in WaitForFile()
Dutil.h56 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout,
/system/core/fs_mgr/
Dfs_mgr_priv.h94 const std::chrono::milliseconds relative_timeout,
Dfs_mgr.cpp121 const std::chrono::milliseconds relative_timeout, in fs_mgr_wait_for_file() argument
137 if (time_elapsed > relative_timeout) return false; in fs_mgr_wait_for_file()