Searched refs:timeLeft (Results 1 – 6 of 6) sorted by relevance
125 int timeLeft = WAIT_TIMEOUT_MS; in waitAndCheckCallCount() local128 timeLeft -= 20; in waitAndCheckCallCount()129 assertTrue(timeLeft > 0); in waitAndCheckCallCount()
90 long timeLeft = OPERATION_TIMEOUT_MILLIS - (System.currentTimeMillis() - startTime); in waitWithTimeout() local91 if (timeLeft < 0) { in waitWithTimeout()95 waiter.accept(timeLeft); in waitWithTimeout()
1293 struct timespec timeLeft; in main() local1294 timeLeft.tv_sec = g_traceDurationSeconds; in main()1295 timeLeft.tv_nsec = 0; in main()1300 } while (nanosleep(&timeLeft, &timeLeft) == -1 && errno == EINTR); in main()
1184 long timeLeft = getScaledDuration() - currentPlayTime; in reverse() local1185 mStartTime = currentTime - timeLeft; in reverse()
519 long timeLeft = (mLastAppIdleParoledTime + mAppIdleParoleIntervalMillis) - now; in postNextParoleTimeout() local523 timeLeft += mAppIdleParoleWindowMillis; in postNextParoleTimeout()525 if (timeLeft < 0) { in postNextParoleTimeout()526 timeLeft = 0; in postNextParoleTimeout()528 mHandler.sendEmptyMessageDelayed(MSG_CHECK_PAROLE_TIMEOUT, timeLeft); in postNextParoleTimeout()
1552 int timeLeft = timeoutMs; in expectCallbackLike() local1553 while (timeLeft > 0) { in expectCallbackLike()1555 CallbackInfo info = nextCallback(timeLeft); in expectCallbackLike()1559 timeLeft -= (SystemClock.elapsedRealtime() - start); in expectCallbackLike()