Home
last modified time | relevance | path

Searched refs:time_left (Results 1 – 3 of 3) sorted by relevance

/system/core/adb/fdevent/
Dfdevent.cpp131 auto time_left = duration_cast<std::chrono::milliseconds>(deadline - now); in CalculatePollDuration() local
132 if (time_left < 0ms) { in CalculatePollDuration()
133 time_left = 0ms; in CalculatePollDuration()
137 result = time_left; in CalculatePollDuration()
139 result = std::min(*result, time_left); in CalculatePollDuration()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp131 auto time_left = [&end]() { return end - std::chrono::steady_clock::now(); }; in debuggerd_trigger_dump() local
132 auto set_timeout = [timeout_ms, &time_left](int sockfd) { in debuggerd_trigger_dump()
137 auto remaining = time_left(); in debuggerd_trigger_dump()
257 auto remaining_ms = std::chrono::duration_cast<std::chrono::milliseconds>(time_left()).count(); in debuggerd_trigger_dump()
/system/extras/boottime_tools/bootanalyze/
Dbootanalyze.py653 time_left = start_time + max_wait_time - time.time()
654 if time_left <= 0:
655 print "timeout waiting for event, continue", time_left
657 read_r = read_poll.poll(time_left * 1000.0)
661 print "poll timeout waiting for event, continue", time_left