Home
last modified time | relevance | path

Searched refs:timeoutMs (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DThreadUtils.java91 public static boolean joinUninterruptibly(final Thread thread, long timeoutMs) { in joinUninterruptibly() argument
93 long timeRemainingMs = timeoutMs; in joinUninterruptibly()
104 timeRemainingMs = timeoutMs - elapsedTimeMs; in joinUninterruptibly()
132 public static boolean awaitUninterruptibly(CountDownLatch barrier, long timeoutMs) { in awaitUninterruptibly() argument
134 long timeRemainingMs = timeoutMs; in awaitUninterruptibly()
146 timeRemainingMs = timeoutMs - elapsedTimeMs; in awaitUninterruptibly()
/external/volley/src/main/java/com/android/volley/toolbox/
DRequestFuture.java100 private synchronized T doGet(Long timeoutMs) in doGet() argument
110 if (timeoutMs == null) { in doGet()
112 } else if (timeoutMs > 0) { in doGet()
113 wait(timeoutMs); in doGet()
DHurlStack.java188 int timeoutMs = request.getTimeoutMs(); in openConnection() local
189 connection.setConnectTimeout(timeoutMs); in openConnection()
190 connection.setReadTimeout(timeoutMs); in openConnection()
DHttpClientStack.java82 int timeoutMs = request.getTimeoutMs(); in performRequest() local
86 HttpConnectionParams.setSoTimeout(httpParams, timeoutMs); in performRequest()
/external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java109 public boolean waitForFramesRendered(int timeoutMs) in waitForFramesRendered() argument
111 doneRendering.await(timeoutMs, TimeUnit.MILLISECONDS); in waitForFramesRendered()
182 private boolean waitForLocalSDP(int timeoutMs) in waitForLocalSDP() argument
186 localSdpEvent.wait(timeoutMs); in waitForLocalSDP()
192 private boolean waitForIceCandidates(int timeoutMs) in waitForIceCandidates() argument
196 iceCandidateEvent.wait(timeoutMs); in waitForIceCandidates()
202 private boolean waitForIceConnected(int timeoutMs) in waitForIceConnected() argument
206 iceConnectedEvent.wait(timeoutMs); in waitForIceConnected()
216 private boolean waitForPeerConnectionClosed(int timeoutMs) in waitForPeerConnectionClosed() argument
220 closeEvent.wait(timeoutMs); in waitForPeerConnectionClosed()
/external/skia/tools/
DThermalManager.cpp35 ThermalManager::ThermalManager(int32_t threshold, uint32_t sleepIntervalMs, uint32_t timeoutMs) in ThermalManager() argument
37 , fTimeoutMs(timeoutMs) { in ThermalManager()
DThermalManager.h26 ThermalManager(int32_t threshold, uint32_t sleepIntervalMs, uint32_t timeoutMs);
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DSurfaceTextureHelperTest.java86 public synchronized boolean waitForNewFrame(final long timeoutMs) throws InterruptedException { in waitForNewFrame() argument
88 long timeRemainingMs = timeoutMs; in waitForNewFrame()
92 timeRemainingMs = timeoutMs - elapsedTimeMs; in waitForNewFrame()
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoDecoder.java485 public DecodedTextureBuffer dequeueTextureBuffer(int timeoutMs) { in dequeueTextureBuffer() argument
487 if (renderedBuffer == null && timeoutMs > 0 && isWaitingForTexture()) { in dequeueTextureBuffer()
489 newFrameLock.wait(timeoutMs); in dequeueTextureBuffer()