Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp64 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis(); in read() local
65 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() local
170 if (remainingTime <= 0) { in readProcessedDataInStream()
177 int count = TEMP_FAILURE_RETRY(poll(pfds, 3, remainingTime)); in readProcessedDataInStream()
/frameworks/base/core/java/com/android/internal/view/
DInputConnectionWrapper.java231 long remainingTime = endTime - SystemClock.uptimeMillis(); in waitForResultLocked() local
232 if (remainingTime <= 0) { in waitForResultLocked()
237 wait(remainingTime); in waitForResultLocked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3954 long remainingTime = 20 * 1000; in dumpStackTraces() local
3962 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()