Searched refs:mConnectionLatch (Results 1 – 5 of 5) sorted by relevance
36 CountDownLatch mConnectionLatch = new CountDownLatch(1); field in CtsSelfManagedConnectionService69 mConnectionLatch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in waitForAndGetConnection()72 mConnectionLatch = new CountDownLatch(1); in waitForAndGetConnection()113 if (mConnectionLatch != null) { in createConnection()114 mConnectionLatch.countDown(); in createConnection()
56 private CountDownLatch mConnectionLatch = new CountDownLatch(1); field in CtsConnectionService89 mConnectionLatch.await(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in waitForAndGetConnection()92 mConnectionLatch = new CountDownLatch(1); in waitForAndGetConnection()158 if (mConnectionLatch != null) { in createManagedConnection()159 mConnectionLatch.countDown(); in createManagedConnection()
122 private final CountDownLatch mConnectionLatch; field in RemoteService.Invoker139 mConnectionLatch = new CountDownLatch(1); in Invoker()144 mConnectionLatch.countDown(); in Invoker()156 mConnectionLatch.await(TIMEOUT_MS, MILLISECONDS)); in Invoker()
432 private final TestCountDownLatch mConnectionLatch; field in MediaBrowserServiceTest.MediaBrowserCallbackImpl436 mConnectionLatch = new TestCountDownLatch(); in MediaBrowserCallbackImpl()441 mConnectionLatch.reset(); in reset()446 assertThat(mConnectionLatch.await(TIME_OUT_MS)).isTrue(); in waitForConnection()455 mConnectionLatch.countDown(); in onConnected()
50 private volatile CountDownLatch mConnectionLatch; field in TestAppInterface57 mConnectionLatch.countDown();77 mConnectionLatch = new CountDownLatch(1); in TestAppInterface()82 mConnectionLatch.await(5, TimeUnit.SECONDS); in TestAppInterface()