Searched refs:remainingTime (Results 1 – 3 of 3) sorted by relevance
77 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); in read() local78 if (remainingTime <= 0) { in read()83 int count = poll(&pfds, 1, remainingTime); in read()
207 long remainingTime = endTime - SystemClock.uptimeMillis(); in waitForResultLocked() local208 if (remainingTime <= 0) { in waitForResultLocked()213 wait(remainingTime); in waitForResultLocked()
5547 long remainingTime = 20 * 1000; in dumpStackTraces() local5557 … final long timeTaken = observer.dumpWithTimeout(firstPids.get(i), remainingTime); in dumpStackTraces()5559 remainingTime -= timeTaken; in dumpStackTraces()5560 if (remainingTime <= 0) { in dumpStackTraces()5577 DumpStackFileObserver.NATIVE_DUMP_TIMEOUT_MS, remainingTime); in dumpStackTraces()5584 remainingTime -= timeTaken; in dumpStackTraces()5585 if (remainingTime <= 0) { in dumpStackTraces()5620 final long timeTaken = observer.dumpWithTimeout(stats.pid, remainingTime); in dumpStackTraces()5621 remainingTime -= timeTaken; in dumpStackTraces()5622 if (remainingTime <= 0) { in dumpStackTraces()