Home
last modified time | relevance | path

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

/frameworks/support/compat/src/androidTest/java/androidx/core/view/
DViewPropertyAnimatorCompatTest.java125 int timeLeft = WAIT_TIMEOUT_MS; in waitAndCheckCallCount() local
128 timeLeft -= 20; in waitAndCheckCallCount()
129 assertTrue(timeLeft > 0); in waitAndCheckCallCount()
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/
DWorkflowTest.java90 long timeLeft = OPERATION_TIMEOUT_MILLIS - (System.currentTimeMillis() - startTime); in waitWithTimeout() local
91 if (timeLeft < 0) { in waitWithTimeout()
95 waiter.accept(timeLeft); in waitWithTimeout()
/frameworks/native/cmds/atrace/
Datrace.cpp1293 struct timespec timeLeft; in main() local
1294 timeLeft.tv_sec = g_traceDurationSeconds; in main()
1295 timeLeft.tv_nsec = 0; in main()
1300 } while (nanosleep(&timeLeft, &timeLeft) == -1 && errno == EINTR); in main()
/frameworks/base/core/java/android/animation/
DValueAnimator.java1184 long timeLeft = getScaledDuration() - currentPlayTime; in reverse() local
1185 mStartTime = currentTime - timeLeft; in reverse()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java519 long timeLeft = (mLastAppIdleParoledTime + mAppIdleParoleIntervalMillis) - now; in postNextParoleTimeout() local
523 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()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1552 int timeLeft = timeoutMs; in expectCallbackLike() local
1553 while (timeLeft > 0) { in expectCallbackLike()
1555 CallbackInfo info = nextCallback(timeLeft); in expectCallbackLike()
1559 timeLeft -= (SystemClock.elapsedRealtime() - start); in expectCallbackLike()