Searched refs:relative_timeout (Results 1 – 8 of 8) sorted by relevance
/system/core/base/ |
D | properties.cpp | 135 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/ |
D | properties.h | 62 std::chrono::milliseconds relative_timeout = std::chrono::milliseconds::max()); 69 bool WaitForPropertyCreation(const std::string& key, std::chrono::milliseconds relative_timeout =
|
/system/core/init/ |
D | uevent_listener.cpp | 183 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()
|
D | uevent_listener.h | 50 const std::optional<std::chrono::milliseconds> relative_timeout = {}) const;
|
/system/core/fs_mgr/libfs_avb/ |
D | util.cpp | 86 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()
|
D | util.h | 56 bool WaitForFile(const std::string& filename, const std::chrono::milliseconds relative_timeout,
|
/system/core/fs_mgr/ |
D | fs_mgr_priv.h | 94 const std::chrono::milliseconds relative_timeout,
|
D | fs_mgr.cpp | 121 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()
|