Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/transition/src/android/transition/cts/
DBaseTransitionTest.java66 long waitTime = endTime - now; in waitForStart() local
67 if (waitTime <= 0) { in waitForStart()
70 listener.wait(waitTime); in waitForStart()
85 long waitTime = endTime - now; in waitForEnd() local
86 if (waitTime <= 0) { in waitForEnd()
89 listener.wait(waitTime); in waitForEnd()
146 long waitTime = endTime - SystemClock.uptimeMillis(); in waitForAnimationFrame() local
147 if (waitTime <= 0) { in waitForAnimationFrame()
150 tripped.wait(waitTime); in waitForAnimationFrame()
/cts/hostsidetests/theme/
Drun_theme_capture_device.py128 waitTime = 0
131 waitTime = waitTime + 1
132 if waitTime > 180:
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java100 long waitTime = endTime - SystemClock.uptimeMillis(); in testOnSharedElementsArrived() local
101 if (waitTime <= 0) { in testOnSharedElementsArrived()
104 mActivity.wait(waitTime); in testOnSharedElementsArrived()
/cts/tests/tests/telephony/src/android/telephony/cts/
DMmsTest.java141 long waitTime = timeout; in waitForSuccess() local
142 while (waitTime > 0) { in waitForSuccess()
144 mLock.wait(waitTime); in waitForSuccess()
151 waitTime = timeout - (SystemClock.elapsedRealtime() - startTime); in waitForSuccess()
DSmsManagerTest.java423 long waitTime = timeout - (SystemClock.elapsedRealtime() - startTime); in waitForCalls() local
424 if (waitTime > 0) { in waitForCalls()
425 mLock.wait(waitTime); in waitForCalls()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java383 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local
384 if (waitTime > 150 * 1000000L) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
445 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local
446 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
/cts/tests/tests/net/src/android/net/wifi/cts/
DScanResultTest.java124 long waitTime = System.currentTimeMillis() + timeout; in waitForBroadcast() local
125 while (System.currentTimeMillis() < waitTime in waitForBroadcast()
/cts/tests/tests/media/src/android/media/cts/
DSoundPoolTest.java286 final long waitTime = in testAutoPauseResume() local
288 assertTrue(waitTime > 0); in testAutoPauseResume()
289 done.wait(waitTime); in testAutoPauseResume()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java208 long waitTime = 0; in waitForCompletion() local
210 while (!isDone() && waitTime < MAX_WAIT_TIME) { in waitForCompletion()
213 waitTime += WAIT_TIME_INCR; in waitForCompletion()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java267 long waitTime = timeOutMs; in getAvailableSurfaceTexture() local
269 while (!view.isAvailable() && waitTime > 0) { in getAvailableSurfaceTexture()
272 waitTime -= (SystemClock.elapsedRealtime() - startTimeMs); in getAvailableSurfaceTexture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java308 protected void delay(long waitTime) { in delay() argument
310 mHandler.postDelayed(mRunner, waitTime); in delay()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverTest.java443 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local
444 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()