Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Dutility.cpp40 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in WaitForCondition() local
41 if (time_elapsed > timeout_ms) return false; in WaitForCondition()
Dloop_control.cpp52 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in Attach() local
53 if (!WaitForFile(*loopdev, timeout_ms - time_elapsed)) { in Attach()
/system/core/fs_mgr/
Dfile_wait.cpp50 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in PollForFile() local
51 if (time_elapsed > relative_timeout) return false; in PollForFile()
64 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in PollForFileDeleted() local
65 if (time_elapsed > relative_timeout) return false; in PollForFileDeleted()
/system/core/init/
Duevent_listener.cpp199 auto time_elapsed = duration_cast<milliseconds>(now - start_time); in Poll() local
200 if (time_elapsed > *relative_timeout) return; in Poll()
202 auto remaining_timeout = *relative_timeout - time_elapsed; in Poll()
Dproperty_service.cpp318 auto time_elapsed = in PollIn() local
320 uint64_t millis = time_elapsed.count(); in PollIn()
/system/core/fs_mgr/libfs_avb/
Dutil.cpp104 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in WaitForFile() local
105 if (time_elapsed > relative_timeout) return false; in WaitForFile()
/system/libbase/
Dproperties.cpp167 auto time_elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(now - start_time); in UpdateTimeSpec() local
168 if (time_elapsed >= relative_timeout) { in UpdateTimeSpec()
171 auto remaining_timeout = relative_timeout - time_elapsed; in UpdateTimeSpec()