Home
last modified time | relevance | path

Searched refs:serviceLatch (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMediaProjectionHelper.java236 CountDownLatch serviceLatch = new CountDownLatch(1); in authorizeMediaProjection() local
244 serviceLatch.countDown(); in authorizeMediaProjection()
253 await(serviceLatch, "Failed to connect to MediaProjectionService"); in authorizeMediaProjection()
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveContentMediaProjectionHelper.java236 CountDownLatch serviceLatch = new CountDownLatch(1); in authorizeMediaProjection() local
244 serviceLatch.countDown(); in authorizeMediaProjection()
253 await(serviceLatch, "Failed to connect to MediaProjectionService"); in authorizeMediaProjection()
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/
DSharedConnectivityTest.java234 CountDownLatch serviceLatch = new CountDownLatch(1); in unregisterCallback_unregisterSuccessful() local
235 service.setCountdownLatch(serviceLatch); in unregisterCallback_unregisterSuccessful()
239 assertThat(serviceLatch.await(LATCH_TIMEOUT_SECS, TimeUnit.SECONDS)).isTrue(); in unregisterCallback_unregisterSuccessful()