Searched refs:latch1 (Results 1 – 6 of 6) sorted by relevance
49 final AutoResetLatch latch1 = startSession(); in testTextView() local50 waitForContext(latch1); in testTextView()
134 final CountDownLatch latch1 = new CountDownLatch(1); in testIsIdle() local142 latch1.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle()160 latch1.countDown(); in testIsIdle()
662 final CountDownLatch latch1 = new CountDownLatch(1);663 runCanceledAnimation(anim, latch1, false, false);664 assertTrue(latch1.await(CANCELATION_TIMEOUT, TimeUnit.MILLISECONDS));
324 final CountDownLatch latch1 = new CountDownLatch(1); in testBroadcastSessionCommand() local331 latch1.countDown(); in testBroadcastSessionCommand()366 assertTrue(latch1.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testBroadcastSessionCommand()
1198 final CountDownLatch latch1 = new CountDownLatch(1); in testStartForegroundService() local1202 latch1.countDown(); in testStartForegroundService()1205 latch1.await(5, TimeUnit.SECONDS); in testStartForegroundService()
1077 final CountDownLatch latch1 = new CountDownLatch(1); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler() local1094 latch1.countDown(); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()1113 latch1.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()