Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/java/src/org/webrtc/
DThreadUtils.java84 long timeRemainingMs = timeoutMs; in joinUninterruptibly() local
86 while (timeRemainingMs > 0) { in joinUninterruptibly()
88 thread.join(timeRemainingMs); in joinUninterruptibly()
95 timeRemainingMs = timeoutMs - elapsedTimeMs; in joinUninterruptibly()
125 long timeRemainingMs = timeoutMs; in awaitUninterruptibly() local
130 result = barrier.await(timeRemainingMs, TimeUnit.MILLISECONDS); in awaitUninterruptibly()
137 timeRemainingMs = timeoutMs - elapsedTimeMs; in awaitUninterruptibly()
139 } while (timeRemainingMs > 0); in awaitUninterruptibly()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DSurfaceTextureHelperTest.java77 long timeRemainingMs = waitPeriodMs; in assertNoFrameIsDelivered() local
79 while (textureBuffer == null && timeRemainingMs > 0) { in assertNoFrameIsDelivered()
80 lock.wait(timeRemainingMs); in assertNoFrameIsDelivered()
82 timeRemainingMs = waitPeriodMs - elapsedTimeMs; in assertNoFrameIsDelivered()