/external/dagger2/core/src/test/java/dagger/internal/ |
H A D | DoubleCheckLazyTest.java | 45 final CountDownLatch latch = new CountDownLatch(numThreads); 46 LatchedProvider provider = new LatchedProvider(latch); 53 latch.countDown(); 84 final CountDownLatch latch; field in class:DoubleCheckLazyTest.LatchedProvider 86 LatchedProvider(CountDownLatch latch) { argument 87 this.latch = latch; 93 if (latch != null) { 94 Uninterruptibles.awaitUninterruptibly(latch);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | ListenableFutureTester.java | 43 private final CountDownLatch latch; field in class:ListenableFutureTester 48 this.latch = new CountDownLatch(1); 54 latch.countDown(); 58 assertEquals(1, latch.getCount()); 72 assertTrue(latch.await(5, TimeUnit.SECONDS)); 84 assertTrue(latch.await(5, TimeUnit.SECONDS)); 99 assertTrue(latch.await(5, TimeUnit.SECONDS));
|
H A D | ListenerCallQueueTest.java | 81 final CountDownLatch latch = new CountDownLatch(1); 87 queue.add(countDownCallback(latch)); 90 latch.await(); 103 final CountDownLatch latch = new CountDownLatch(1); 113 queue.add(countDownCallback(latch)); 116 latch.await(); 131 private Callback<Object> countDownCallback(final CountDownLatch latch) { argument 134 latch.countDown();
|
H A D | ServiceManagerTest.java | 533 final CountDownLatch latch = new CountDownLatch(1); field in class:ServiceManagerTest.SnappyShutdownService 540 latch.await(); 544 latch.countDown();
|
H A D | AbstractServiceTest.java | 733 final CountDownLatch latch = new CountDownLatch(1); field in class:AbstractServiceTest.NoOpThreadedService 735 latch.await(); 738 latch.countDown();
|
H A D | JSR166TestCase.java | 912 public Callable<String> latchAwaitingStringTask(final CountDownLatch latch) { argument 916 latch.await(); 922 public Runnable awaiter(final CountDownLatch latch) { argument 925 await(latch); 929 public void await(CountDownLatch latch) { argument 931 assertTrue(latch.await(LONG_DELAY_MS, MILLISECONDS));
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
H A D | Ping.java | 25 private final CountDownLatch latch = new CountDownLatch(1); field in class:Ping 40 latch.countDown(); 46 latch.countDown(); 55 latch.await(); 65 if (latch.await(timeout, unit)) {
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
H A D | GcFinalization.java | 55 * final CountDownLatch latch = new CountDownLatch(1); 58 * protected void finalize() { latch.countDown(); ... } 61 * GcFinalization.await(latch);}</pre> 160 * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero, 165 public static void await(CountDownLatch latch) { argument 166 if (latch.getCount() == 0) { 173 if (latch.getCount() == 0) { 178 if (latch.await(1L, SECONDS)) { 182 throw new RuntimeException("Unexpected interrupt while waiting for latch", ie); 190 * Creates a garbage object that counts down the latch i 193 createUnreachableLatchFinalizer(final CountDownLatch latch) argument [all...] |
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
H A D | AbstractListenableFutureTest.java | 43 protected CountDownLatch latch; field in class:AbstractListenableFutureTest 49 // Create a latch and a future that waits on the latch. 50 latch = new CountDownLatch(1); 51 future = createListenableFuture(Boolean.TRUE, null, latch); 58 latch.countDown(); 62 * Constructs a listenable future with a value available after the latch 94 latch.countDown(); 113 // The task thread waits for the latch, so we expect a timeout here. 120 latch [all...] |
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
H A D | ThreadUtils.java | 123 public static void awaitUninterruptibly(final CountDownLatch latch) { argument 127 latch.await();
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
H A D | Uninterruptibles.java | 49 * Invokes {@code latch.}{@link CountDownLatch#await() await()} 52 public static void awaitUninterruptibly(CountDownLatch latch) { argument 57 latch.await(); 72 * {@code latch.}{@link CountDownLatch#await(long, TimeUnit) 75 public static boolean awaitUninterruptibly(CountDownLatch latch, argument 85 return latch.await(remainingNanos, NANOSECONDS);
|
/external/webrtc/talk/app/webrtc/java/testcommon/src/org/webrtc/ |
H A D | PeerConnectionTest.java | 408 private CountDownLatch latch = new CountDownLatch(1); field in class:PeerConnectionTest.SdpObserverLatch 421 latch.countDown(); 432 latch.countDown(); 437 assertTrue(latch.await(1000, TimeUnit.MILLISECONDS));
|
/external/deqp/modules/egl/ |
H A D | teglGetFrameTimestampsTests.cpp | 116 , latch (-1) 139 EGLnsecsANDROID latch; member in struct:deqp::egl::__anon4235::FrameTimes 185 frameTimes->latch = getTimestamp(EGL_COMPOSITION_LATCH_TIME_ANDROID, map, supportedValues); 207 result.check(frameTimes.swapBufferBeginNs < frameTimes.latch, "Buffer latched before it was swapped."); 208 result.check(frameTimes.latch < frameTimes.firstCompositionStart, "Buffer composited before it was latched."); 229 result.check(frameTimes.renderingComplete < frameTimes.latch, "Buffer latched before rendering completed."); 241 result.check(frame1.latch < frame2.latch, "Latch times not monotonic."); 242 result.check(frame1.lastCompositionStart < frame2.latch, "Old buffer composited after new buffer latched."); 690 m_result.check((lastFrame.latch > [all...] |
/external/guice/lib/build/ |
H A D | guava-testlib-16.0.1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/zxing/core/ |
H A D | core.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ... |
/external/owasp/sanitizer/tools/findbugs/lib/ |
H A D | findbugs.jar | META-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ... |
/external/owasp/sanitizer/distrib/lib/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/owasp/sanitizer/lib/guava-libraries/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ... |
/external/robolectric/v3/runtime/ |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
/external/guice/lib/ |
H A D | guava-16.0.1.jar | META-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ... |