Home
last modified time | relevance | path

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

/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java2080 long remainingTime = timeoutMs; in getAllSessions() local
2085 boolean ret = mNewStateCond.await(remainingTime, TimeUnit.MILLISECONDS); in getAllSessions()
2086 remainingTime -= (SystemClock.elapsedRealtime() - startTime); in getAllSessions()
2087 ret &= remainingTime > 0; in getAllSessions()
2103 long remainingTime = timeoutMs; in waitForSessionClose() local
2108 boolean ret = mNewStateCond.await(remainingTime, TimeUnit.MILLISECONDS); in waitForSessionClose()
2109 remainingTime -= (SystemClock.elapsedRealtime() - startTime); in waitForSessionClose()
2110 ret &= remainingTime > 0; in waitForSessionClose()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java2163 int remainingTime; in testVariableRatePlayback() local
2177 remainingTime = (int)((double)(frameCount - position) * 1000 in testVariableRatePlayback()
2179 } while (remainingTime >= lastCheckMs + deltaMs); in testVariableRatePlayback()