Home
last modified time | relevance | path

Searched refs:timeLeft (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java91 long timeLeft = OPERATION_TIMEOUT_MILLIS - (System.currentTimeMillis() - startTime); in waitWithTimeout() local
92 if (timeLeft < 0) { in waitWithTimeout()
96 waiter.accept(timeLeft); in waitWithTimeout()
/frameworks/native/cmds/atrace/
Datrace.cpp1423 struct timespec timeLeft; in main() local
1424 timeLeft.tv_sec = g_traceDurationSeconds; in main()
1425 timeLeft.tv_nsec = 0; in main()
1430 } while (nanosleep(&timeLeft, &timeLeft) == -1 && errno == EINTR); in main()
/frameworks/base/core/java/android/animation/
DValueAnimator.java1194 long timeLeft = getScaledDuration() - currentPlayTime; in reverse() local
1195 mStartTime = currentTime - timeLeft; in reverse()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java562 long timeLeft = (mLastAppIdleParoledTime + mAppIdleParoleIntervalMillis) - now; in postNextParoleTimeout() local
566 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()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1853 int timeLeft = timeoutMs; in expectCallbackLike() local
1854 while (timeLeft > 0) { in expectCallbackLike()
1856 CallbackInfo info = nextCallback(timeLeft); in expectCallbackLike()
1860 timeLeft -= (SystemClock.elapsedRealtime() - start); in expectCallbackLike()