Searched refs:latch2 (Results 1 – 7 of 7) sorted by relevance
60 final AutoResetLatch latch2 = startSession(); in testTextView() local61 waitForContext(latch2); in testTextView()
135 final CountDownLatch latch2 = new CountDownLatch(1); in testIsIdle() local150 latch2.countDown(); in testIsIdle()161 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle()
539 CountDownLatch latch2 = new CountDownLatch(1); in testOnDiscoveryPreferenceChanged() local557 latch2.countDown(); in testOnDiscoveryPreferenceChanged()569 assertTrue(latch2.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)); in testOnDiscoveryPreferenceChanged()
342 final CountDownLatch latch2 = new CountDownLatch(1); in testBroadcastSessionCommand() local349 latch2.countDown(); in testBroadcastSessionCommand()367 assertTrue(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testBroadcastSessionCommand()
671 final CountDownLatch latch2 = new CountDownLatch(1);672 runCanceledAnimation(anim, latch2, true, false);673 assertTrue(latch2.await(CANCELATION_TIMEOUT, TimeUnit.MILLISECONDS));
1264 final CountDownLatch latch2 = new CountDownLatch(1); in testStartForegroundService() local1268 latch2.countDown(); in testStartForegroundService()1271 latch2.await(5, TimeUnit.SECONDS); in testStartForegroundService()
1118 final CountDownLatch latch2 = new CountDownLatch(1); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler() local1134 latch2.countDown(); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()1152 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()