Searched refs:remainingTime (Results 1 – 6 of 6) sorted by relevance
129 var remainingTime = timeout in waitForMotionEventFromTestJournal() variable130 while (remainingTime > 0.milliseconds) { in waitForMotionEventFromTestJournal()140 remainingTime -= TIME_SLICE in waitForMotionEventFromTestJournal()
148 val remainingTime = timeoutMillis - (SystemClock.elapsedRealtime() - startTime) in <lambda>() constant149 if (remainingTime <= 0) { in <lambda>()152 automatorMethod(remainingTime) in <lambda>()
646 var remainingTime = totalTimeout in <lambda>() variable648 while (remainingTime > 0) { in <lambda>()651 Thread.sleep(loopTime.coerceAtMost(remainingTime).toLong()) in <lambda>()652 remainingTime -= loopTime in <lambda>()
2711 long remainingTime = timeoutMs; in getAllSessions() local2716 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() local2739 boolean ret = mNewStateCond.await(remainingTime, TimeUnit.MILLISECONDS); in waitForSessionClose()2740 remainingTime -= (SystemClock.elapsedRealtime() - startTime); in waitForSessionClose()2741 ret &= remainingTime > 0; in waitForSessionClose()
239 long remainingTime = timeout; in expectCalledOnce() local241 if (remainingTime < 0) { in expectCalledOnce()245 remainingTime -= TIME_SLICE; in expectCalledOnce()275 long remainingTime = timeout; in expectNotCalled() local280 if (remainingTime < 0) { in expectNotCalled()284 remainingTime -= TIME_SLICE; in expectNotCalled()
2330 int remainingTime; in testVariableRatePlayback() local2344 remainingTime = (int)((double)(frameCount - position) * 1000 in testVariableRatePlayback()2346 } while (remainingTime >= lastCheckMs + deltaMs); in testVariableRatePlayback()