Searched defs:countDownLatch (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
H A DCountDownResultReceiver.java27 public CountDownResultReceiver(CountDownLatch countDownLatch) { argument
29 mCountDownLatch = countDownLatch;
/frameworks/base/core/java/com/android/internal/util/
H A DConcurrentUtils.java93 * Waits for {@link CountDownLatch#countDown()} to be called on the {@param countDownLatch}.
99 * @param countDownLatch the CountDownLatch which {@link CountDownLatch#countDown()} is
104 public static void waitForCountDownNoInterrupt(CountDownLatch countDownLatch, long timeoutMs, argument
107 if (!countDownLatch.await(timeoutMs, TimeUnit.MILLISECONDS)) {

Completed in 146 milliseconds