Home
last modified time | relevance | path

Searched refs:CountDownLatch (Results 1 – 9 of 9) sorted by relevance

/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStream.java29 import java.util.concurrent.CountDownLatch;
54 private final CountDownLatch mCountDownLatch;
77 CountDownLatch countDownLatch) { in CaptureChunkStreamObserverOutputStream()
86 return create(captureChunkStreamObserver, new CountDownLatch(1)); in create()
93 CountDownLatch countDownLatch) { in create()
/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/
DBootHelperTest.java38 import java.util.concurrent.CountDownLatch;
88 final CountDownLatch latch = new CountDownLatch(1); in unlockScreenWithPin()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/foldable/
DFoldableDeviceController.kt33 import java.util.concurrent.CountDownLatch in <lambda>()
53 private var deviceStateLatch = CountDownLatch(1) in <lambda>()
141 deviceStateLatch = CountDownLatch(1) in <lambda>()
182 private fun CountDownLatch.await(error: () -> String) { in <lambda>() method
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/
DMultiUserHelper.java38 import java.util.concurrent.CountDownLatch;
123 final CountDownLatch latch = new CountDownLatch(1); in switchToUserId()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DInputDeviceRule.kt29 import java.util.concurrent.CountDownLatch in <lambda>()
55 private val deviceAddedMap = mutableMapOf<UInputDevice, CountDownLatch>() in <lambda>()
109 deviceAddedMap.putIfAbsent(device, CountDownLatch(1)) in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaController.java36 import java.util.concurrent.CountDownLatch;
106 CountDownLatch latch = new CountDownLatch(1); in runToNextState()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DScheduledScenarioRunner.java45 import java.util.concurrent.CountDownLatch;
215 final CountDownLatch countDownLatch = new CountDownLatch(1); in suspensionAwareSleep()
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
DWifiStrengthScannerInstrumentation.java37 import java.util.concurrent.CountDownLatch;
47 private CountDownLatch mLatch;
61 mLatch = new CountDownLatch(1); in onStart()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DCaptureChunkStreamObserverOutputStreamTests.java49 import java.util.concurrent.CountDownLatch;
59 @Mock CountDownLatch mCountDownLatch;
69 /* captureChunkStreamObserver= */ null, new CountDownLatch(0)); in createInternal_throwsNullPointerException_nullStreamObserver()