Home
last modified time | relevance | path

Searched refs:latch2 (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/assist/src/android/assist/cts/
DTextViewTest.java58 final AutoResetLatch latch2 = startSession(); in testTextView() local
59 waitForContext(latch2); in testTextView()
/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java135 final CountDownLatch latch2 = new CountDownLatch(1); in testIsIdle() local
150 latch2.countDown(); in testIsIdle()
161 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTest.java671 final CountDownLatch latch2 = new CountDownLatch(1);
672 runCanceledAnimation(anim, latch2, true, false);
673 assertTrue(latch2.await(CANCELATION_TIMEOUT, TimeUnit.MILLISECONDS));
/cts/tests/tests/media/src/android/media/cts/
DMediaSession2Test.java342 final CountDownLatch latch2 = new CountDownLatch(1); in testBroadcastSessionCommand() local
349 latch2.countDown(); in testBroadcastSessionCommand()
367 assertTrue(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testBroadcastSessionCommand()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1211 final CountDownLatch latch2 = new CountDownLatch(1); in testStartForegroundService() local
1215 latch2.countDown(); in testStartForegroundService()
1218 latch2.await(5, TimeUnit.SECONDS); in testStartForegroundService()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java1118 final CountDownLatch latch2 = new CountDownLatch(1); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler() local
1134 latch2.countDown(); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()
1152 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()