Searched refs:timeLeft (Results 1 – 5 of 5) sorted by relevance
91 long timeLeft = OPERATION_TIMEOUT_MILLIS - (System.currentTimeMillis() - startTime); in waitWithTimeout() local92 if (timeLeft < 0) { in waitWithTimeout()96 waiter.accept(timeLeft); in waitWithTimeout()
1423 struct timespec timeLeft; in main() local1424 timeLeft.tv_sec = g_traceDurationSeconds; in main()1425 timeLeft.tv_nsec = 0; in main()1430 } while (nanosleep(&timeLeft, &timeLeft) == -1 && errno == EINTR); in main()
1194 long timeLeft = getScaledDuration() - currentPlayTime; in reverse() local1195 mStartTime = currentTime - timeLeft; in reverse()
562 long timeLeft = (mLastAppIdleParoledTime + mAppIdleParoleIntervalMillis) - now; in postNextParoleTimeout() local566 timeLeft += mAppIdleParoleWindowMillis; in postNextParoleTimeout()568 if (timeLeft < 0) { in postNextParoleTimeout()569 timeLeft = 0; in postNextParoleTimeout()571 mHandler.sendEmptyMessageDelayed(MSG_CHECK_PAROLE_TIMEOUT, timeLeft); in postNextParoleTimeout()
1853 int timeLeft = timeoutMs; in expectCallbackLike() local1854 while (timeLeft > 0) { in expectCallbackLike()1856 CallbackInfo info = nextCallback(timeLeft); in expectCallbackLike()1860 timeLeft -= (SystemClock.elapsedRealtime() - start); in expectCallbackLike()