Searched refs:mSessionCreatedLatch (Results 1 – 2 of 2) sorted by relevance
67 private CountDownLatch mSessionCreatedLatch; field in CtsTranslationService100 mSessionCreatedLatch = new CountDownLatch(1); in onConnected()112 mSessionCreatedLatch = null; in onDisconnected()116 mSessionCreatedLatch = new CountDownLatch(1); in initSessionCreatedLatch()120 if (mSessionCreatedLatch == null) { in waitForSessionCreated()124 boolean reachZeroResult = mSessionCreatedLatch.await(5_000, TimeUnit.MILLISECONDS); in waitForSessionCreated()129 mSessionCreatedLatch = null; in waitForSessionCreated()140 if (mSessionCreatedLatch != null) { in onCreateTranslationSession()141 mSessionCreatedLatch.countDown(); in onCreateTranslationSession()
55 private final CountDownLatch mSessionCreatedLatch = new CountDownLatch(1); field in CtsContentCaptureService81 mSessionCreatedLatch.countDown(); in onCreateContentCaptureSession()141 mSessionCreatedLatch.await(timeoutMillis, TimeUnit.MILLISECONDS); in awaitSessionCreated()