Searched refs:waitTime (Results 1 – 12 of 12) sorted by relevance
66 long waitTime = endTime - now; in waitForStart() local67 if (waitTime <= 0) { in waitForStart()70 listener.wait(waitTime); in waitForStart()85 long waitTime = endTime - now; in waitForEnd() local86 if (waitTime <= 0) { in waitForEnd()89 listener.wait(waitTime); in waitForEnd()146 long waitTime = endTime - SystemClock.uptimeMillis(); in waitForAnimationFrame() local147 if (waitTime <= 0) { in waitForAnimationFrame()150 tripped.wait(waitTime); in waitForAnimationFrame()
128 waitTime = 0131 waitTime = waitTime + 1132 if waitTime > 180:
100 long waitTime = endTime - SystemClock.uptimeMillis(); in testOnSharedElementsArrived() local101 if (waitTime <= 0) { in testOnSharedElementsArrived()104 mActivity.wait(waitTime); in testOnSharedElementsArrived()
141 long waitTime = timeout; in waitForSuccess() local142 while (waitTime > 0) { in waitForSuccess()144 mLock.wait(waitTime); in waitForSuccess()151 waitTime = timeout - (SystemClock.elapsedRealtime() - startTime); in waitForSuccess()
423 long waitTime = timeout - (SystemClock.elapsedRealtime() - startTime); in waitForCalls() local424 if (waitTime > 0) { in waitForCalls()425 mLock.wait(waitTime); in waitForCalls()
383 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local384 if (waitTime > 150 * 1000000L) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()445 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local446 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
124 long waitTime = System.currentTimeMillis() + timeout; in waitForBroadcast() local125 while (System.currentTimeMillis() < waitTime in waitForBroadcast()
286 final long waitTime = in testAutoPauseResume() local288 assertTrue(waitTime > 0); in testAutoPauseResume()289 done.wait(waitTime); in testAutoPauseResume()
208 long waitTime = 0; in waitForCompletion() local210 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion()213 waitTime += WAIT_TIME_INCR; in waitForCompletion()
267 long waitTime = timeOutMs; in getAvailableSurfaceTexture() local269 while (!view.isAvailable() && waitTime > 0) { in getAvailableSurfaceTexture()272 waitTime -= (SystemClock.elapsedRealtime() - startTimeMs); in getAvailableSurfaceTexture()
308 protected void delay(long waitTime) { in delay() argument310 mHandler.postDelayed(mRunner, waitTime); in delay()
443 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local444 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()