Home
last modified time | relevance | path

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

/cts/tests/tests/assist/src/android/assist/cts/
DTextViewTest.java65 final AutoResetLatch latch2 = startSession(); in testTextView() local
66 waitForContext(latch2); in testTextView()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DBackNavigationTests.java115 CountDownLatch latch2 = registerBackCallback(newScenario, true); in registerCallback_relaunch() local
117 invokeBackAndAssertCallbackIsCalled(latch2); in registerCallback_relaunch()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DTrustedPresentationCallbackTest.java335 CountDownLatch latch2 = new CountDownLatch(1); in testTrustedPresentationListener_multipleSetCallbacks() local
338 latch2.countDown(); in testTrustedPresentationListener_multipleSetCallbacks()
347 assertTrue(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testTrustedPresentationListener_multipleSetCallbacks()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTest.java681 final CountDownLatch latch2 = new CountDownLatch(1);
682 runCanceledAnimation(anim, latch2, true, false);
683 assertTrue(latch2.await(CANCELATION_TIMEOUT, TimeUnit.MILLISECONDS));
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBufferRendererTests.kt181 val latch2 = CountDownLatch(1) in <lambda>() constant
190 latch2.countDown() in <lambda>()
193 assertTrue(latch2.await(3000, TimeUnit.MILLISECONDS)) in <lambda>()
/cts/tests/tests/os/src/android/os/cts/
DMessageQueueTest.java158 final CountDownLatch latch2 = new CountDownLatch(1); in testIsIdle() local
173 latch2.countDown(); in testIsIdle()
184 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSession2Test.java327 final CountDownLatch latch2 = new CountDownLatch(1); in testBroadcastSessionCommand() local
334 latch2.countDown(); in testBroadcastSessionCommand()
352 assertThat(latch2.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)).isTrue(); in testBroadcastSessionCommand()
DMediaRoute2ProviderServiceTest.java657 CountDownLatch latch2 = new CountDownLatch(1); in testOnDiscoveryPreferenceChanged() local
675 latch2.countDown(); in testOnDiscoveryPreferenceChanged()
687 assertThat(latch2.await(TIMEOUT_MS, TimeUnit.MILLISECONDS)).isTrue(); in testOnDiscoveryPreferenceChanged()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java1264 final CountDownLatch latch2 = new CountDownLatch(1); in testStartForegroundService() local
1268 latch2.countDown(); in testStartForegroundService()
1271 latch2.await(5, TimeUnit.SECONDS); in testStartForegroundService()
/cts/tests/tests/accounts/src/android/accounts/cts/
DAccountManagerTest.java1132 final CountDownLatch latch2 = new CountDownLatch(1); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler() local
1148 latch2.countDown(); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()
1166 latch2.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); in testGetAccountsByTypeAndFeaturesWithCallbackAndHandler()