HomeSort by relevance Sort by last modified time
    Searched refs:countDownLatch (Results 1 - 8 of 8) sorted by null

  /external/guava/guava-tests/test/com/google/common/util/concurrent/
ExecutionListTest.java 26 import java.util.concurrent.CountDownLatch;
43 CountDownLatch countDownLatch = new CountDownLatch(3);
44 list.add(new MockRunnable(countDownLatch), exec);
45 list.add(new MockRunnable(countDownLatch), exec);
46 list.add(new MockRunnable(countDownLatch), exec);
47 assertEquals(countDownLatch.getCount(), 3L);
52 assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
60 CountDownLatch countDownLatch = new CountDownLatch(1)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
MockFutureListener.java 25 import java.util.concurrent.CountDownLatch;
38 private final CountDownLatch countDownLatch;
42 this.countDownLatch = new CountDownLatch(1);
50 countDownLatch.countDown();
61 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
77 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
90 Assert.assertFalse(countDownLatch.await(1L, TimeUnit.SECONDS));
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
PersonalizationDictionaryTests.java 25 import java.util.concurrent.CountDownLatch;
82 final CountDownLatch countDownLatch = new CountDownLatch(1);
87 countDownLatch.countDown();
93 countDownLatch.await(TIMEOUT_TO_WAIT_DICTIONARY_OPERATIONS_IN_SECONDS,
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
HttpOverSpdyTest.java 43 import java.util.concurrent.CountDownLatch;
218 CountDownLatch countDownLatch = new CountDownLatch(2);
219 executor.execute(new SpdyRequest("/r1", countDownLatch));
220 executor.execute(new SpdyRequest("/r2", countDownLatch));
221 countDownLatch.await();
466 CountDownLatch countDownLatch;
467 public SpdyRequest(String path, CountDownLatch countDownLatch)
    [all...]
  /external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java 66 import java.util.concurrent.CountDownLatch;
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/java/android/org/webrtc/
VideoRendererGui.java 34 import java.util.concurrent.CountDownLatch;
614 final CountDownLatch countDownLatch = new CountDownLatch(1);
621 countDownLatch.countDown();
626 countDownLatch.await();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableBinaryDictionary.java 42 import java.util.concurrent.CountDownLatch;
649 final CountDownLatch countDownLatch = new CountDownLatch(1);
653 countDownLatch.countDown();
657 countDownLatch.await();
  /cts/tests/tests/media/src/android/media/cts/
Vp8CodecTestBase.java 43 import java.util.concurrent.CountDownLatch;
    [all...]

Completed in 526 milliseconds