Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWallpaperWindowInputTests.kt129 var remainingTime = timeout in waitForMotionEventFromTestJournal() variable
130 while (remainingTime > 0.milliseconds) { in waitForMotionEventFromTestJournal()
140 remainingTime -= TIME_SLICE in waitForMotionEventFromTestJournal()
/cts/tests/tests/security/src/android/security/cts/
DBasePermissionUiTest.kt148 val remainingTime = timeoutMillis - (SystemClock.elapsedRealtime() - startTime) in <lambda>() constant
149 if (remainingTime <= 0) { in <lambda>()
152 automatorMethod(remainingTime) in <lambda>()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSystemPaletteTest.kt646 var remainingTime = totalTimeout in <lambda>() variable
648 while (remainingTime > 0) { in <lambda>()
651 Thread.sleep(loopTime.coerceAtMost(remainingTime).toLong()) in <lambda>()
652 remainingTime -= loopTime in <lambda>()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java2711 long remainingTime = timeoutMs; in getAllSessions() local
2716 boolean ret = mNewStateCond.await(remainingTime, TimeUnit.MILLISECONDS); in getAllSessions()
2717 remainingTime -= (SystemClock.elapsedRealtime() - startTime); in getAllSessions()
2718 ret &= remainingTime > 0; in getAllSessions()
2734 long remainingTime = timeoutMs; in waitForSessionClose() local
2739 boolean ret = mNewStateCond.await(remainingTime, TimeUnit.MILLISECONDS); in waitForSessionClose()
2740 remainingTime -= (SystemClock.elapsedRealtime() - startTime); in waitForSessionClose()
2741 ret &= remainingTime > 0; in waitForSessionClose()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionEndToEndTest.java239 long remainingTime = timeout; in expectCalledOnce() local
241 if (remainingTime < 0) { in expectCalledOnce()
245 remainingTime -= TIME_SLICE; in expectCalledOnce()
275 long remainingTime = timeout; in expectNotCalled() local
280 if (remainingTime < 0) { in expectNotCalled()
284 remainingTime -= TIME_SLICE; in expectNotCalled()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackTest.java2330 int remainingTime; in testVariableRatePlayback() local
2344 remainingTime = (int)((double)(frameCount - position) * 1000 in testVariableRatePlayback()
2346 } while (remainingTime >= lastCheckMs + deltaMs); in testVariableRatePlayback()