Home | History | Annotate | Download | only in blocking

Lines Matching defs:timeoutMs

134      * @param timeoutMs how many milliseconds to wait for
137 * @throws TimeoutRuntimeException if waiting for more than {@long timeoutMs}
139 public CameraCaptureSession waitAndGetSession(long timeoutMs) {
141 return mSessionFuture.get(timeoutMs, TimeUnit.MILLISECONDS);
144 String.format("Failed to get session after %s milliseconds", timeoutMs), e);
228 * @param timeoutMs how many milliseconds to wait for
230 * @throws TimeoutRuntimeException if waiting for more than {@long timeoutMs}
233 CameraCaptureSession session, Surface surface, long timeoutMs) {
240 long waitTimeRemaining = timeoutMs;
243 mPreparedSurfaces.wait(timeoutMs);
253 "Unable to get Surface prepared in " + timeoutMs + "ms");
292 long timeoutMs = unit.convert(timeout, TimeUnit.MILLISECONDS);
293 if (!mCondVar.block(timeoutMs)) {