OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:countDownLatch
(Results
1 - 9
of
9
) sorted by null
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/
MockFutureListener.java
26
import java.util.concurrent.
CountDownLatch
;
39
private final
CountDownLatch
countDownLatch
;
43
this.
countDownLatch
= new
CountDownLatch
(1);
51
countDownLatch
.countDown();
62
Assert.assertTrue(
countDownLatch
.await(1L, TimeUnit.SECONDS));
78
Assert.assertTrue(
countDownLatch
.await(1L, TimeUnit.SECONDS));
91
Assert.assertFalse(
countDownLatch
.await(1L, TimeUnit.SECONDS));
/external/guava/guava-tests/test/com/google/common/util/concurrent/
ExecutionListTest.java
25
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));
69
final
CountDownLatch
okayToRun = new CountDownLatch(1)
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
HttpOverSpdyTest.java
42
import java.util.concurrent.
CountDownLatch
;
201
CountDownLatch
countDownLatch
= new
CountDownLatch
(2);
202
executor.execute(new SpdyRequest("/r1",
countDownLatch
));
203
executor.execute(new SpdyRequest("/r2",
countDownLatch
));
204
countDownLatch
.await();
444
CountDownLatch
countDownLatch
;
445
public SpdyRequest(String path,
CountDownLatch
countDownLatch)
[
all
...]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
VideoRendererGui.java
31
import java.util.concurrent.
CountDownLatch
;
498
final
CountDownLatch
countDownLatch
= new
CountDownLatch
(1);
505
countDownLatch
.countDown();
510
countDownLatch
.await();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableBinaryDictionary.java
42
import java.util.concurrent.
CountDownLatch
;
666
final
CountDownLatch
countDownLatch
= new
CountDownLatch
(1);
670
countDownLatch
.countDown();
674
countDownLatch
.await();
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java
45
import java.util.concurrent.
CountDownLatch
;
107
final
CountDownLatch
countDownLatch
= new
CountDownLatch
(1);
111
countDownLatch
));
121
boolean calllogProviderChanged =
countDownLatch
.await(1, TimeUnit.MINUTES);
159
final
CountDownLatch
countDownLatch
= new
CountDownLatch
(1);
163
countDownLatch
));
[
all
...]
/cts/tests/tests/media/src/android/media/cts/
Vp8CodecTestBase.java
43
import java.util.concurrent.
CountDownLatch
;
[
all
...]
/external/littlemock/tests/com/google/testing/littlemock/
LittleMockTest.java
66
import java.util.concurrent.
CountDownLatch
;
[
all
...]
/external/guice/lib/build/
guava-testlib-16.0.1.jar
Completed in 888 milliseconds