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.java3925 long remainingTime = 20 * 1000; in dumpStackTraces() local
3933 remainingTime); in dumpStackTraces()
3935 remainingTime -= timeTaken; in dumpStackTraces()
3936 if (remainingTime <= 0) { in dumpStackTraces()
3952 final long nativeDumpTimeoutMs = Math.min(NATIVE_DUMP_TIMEOUT_MS, remainingTime); in dumpStackTraces()
3959 remainingTime -= timeTaken; in dumpStackTraces()
3960 if (remainingTime <= 0) { in dumpStackTraces()
3977 final long timeTaken = dumpJavaTracesTombstoned(pid, tracesFile, remainingTime); in dumpStackTraces()
3979 remainingTime -= timeTaken; in dumpStackTraces()
3980 if (remainingTime <= 0) { in dumpStackTraces()