Searched refs:remainingTime (Results 1 – 3 of 3) sorted by relevance
64 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); in read() local65 if (remainingTime <= 0) { in read()71 int count = TEMP_FAILURE_RETRY(poll(&pfds, 1, remainingTime)); in read()169 int64_t remainingTime = (mStartTime + timeoutMs) - uptimeMillis(); in readProcessedDataInStream() local170 if (remainingTime <= 0) { in readProcessedDataInStream()177 int count = TEMP_FAILURE_RETRY(poll(pfds, 3, remainingTime)); in readProcessedDataInStream()
231 long remainingTime = endTime - SystemClock.uptimeMillis(); in waitForResultLocked() local232 if (remainingTime <= 0) { in waitForResultLocked()237 wait(remainingTime); in waitForResultLocked()
3954 long remainingTime = 20 * 1000; in dumpStackTraces() local3962 remainingTime); in dumpStackTraces()3964 remainingTime -= timeTaken; in dumpStackTraces()3965 if (remainingTime <= 0) { in dumpStackTraces()3981 final long nativeDumpTimeoutMs = Math.min(NATIVE_DUMP_TIMEOUT_MS, remainingTime); in dumpStackTraces()3988 remainingTime -= timeTaken; in dumpStackTraces()3989 if (remainingTime <= 0) { in dumpStackTraces()4006 final long timeTaken = dumpJavaTracesTombstoned(pid, tracesFile, remainingTime); in dumpStackTraces()4008 remainingTime -= timeTaken; in dumpStackTraces()4009 if (remainingTime <= 0) { in dumpStackTraces()