/libcore/luni/src/test/java/libcore/java/lang/ref/ |
FinalizeTest.java | 94 CountDownLatch latch = new CountDownLatch(5); local 95 createSlowFinalizer( 1, latch); 96 createSlowFinalizer(1000, latch); 97 createSlowFinalizer(2000, latch); 98 createSlowFinalizer(4000, latch); 99 createSlowFinalizer(8000, latch); 101 latch.await(); 104 public void createSlowFinalizer(final long millis, final CountDownLatch latch) { 109 latch.countDown();
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
FakeAsyncTaskExecutor.java | 191 final CountDownLatch latch = new CountDownLatch(1); local 196 latch.countDown(); 203 Assert.assertTrue(latch.await(mTimeoutMs, TimeUnit.MILLISECONDS));
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 89 private CountDownLatch setNewLatch(CountDownLatch latch) { 90 getMockSyncAdapter().setLatch(latch); 92 return latch; 98 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); local 104 latch.await(latchTimeoutMs, TimeUnit.MILLISECONDS); 117 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); local 126 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS); 133 CountDownLatch latch = setNewLatch(new CountDownLatch(1)); local 142 latch.await(latchTimeoutMillis, TimeUnit.MILLISECONDS);
|
/libcore/luni/src/main/java/java/net/ |
InetAddress.java | 694 final CountDownLatch latch = new CountDownLatch(sourceAddresses.size()); local 704 while (latch.getCount() > 0) { 705 latch.countDown(); 710 latch.countDown(); 715 latch.await(); [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountManagerTest.java | 300 final CountDownLatch latch = new CountDownLatch(1); local 326 latch.countDown(); 341 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 657 final CountDownLatch latch = new CountDownLatch(1); local 677 latch.countDown(); 696 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 748 final CountDownLatch latch = new CountDownLatch(1); local 768 latch.countDown(); 788 latch.await(LATCH_TIMEOUT_MS, TimeUnit.MILLISECONDS); 900 final CountDownLatch latch = new CountDownLatch(1); local 980 final CountDownLatch latch = new CountDownLatch(1); local 1051 final CountDownLatch latch = new CountDownLatch(1); local 1109 final CountDownLatch latch = new CountDownLatch(1); local 1150 final CountDownLatch latch = new CountDownLatch(1); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
AccountTypeManager.java | 229 /* A latch that ensures that asynchronous initialization completes before data is used */ 341 CountDownLatch latch = mInitializationLatch; local 342 if (latch == null) { 347 latch.await(); [all...] |
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
LocalDataTest.java | 197 OnContentDirtyLatch latch = new OnContentDirtyLatch(); local 198 sub.addContentListener(latch); 202 latch.isOnContentDirtyBeCalled(DEFAULT_TIMEOUT);
|
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodWrapper.java | 210 CountDownLatch latch = new CountDownLatch(1); local 212 fd, fout, args, latch)); 214 if (!latch.await(5, TimeUnit.SECONDS)) {
|
/frameworks/base/graphics/java/android/renderscript/ |
Mesh.java | 570 private void latch() { method in class:Mesh.TriangleMeshBuilder 607 latch(); method 629 latch(); method
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
LoadTestsAutoTest.java | 135 final CountDownLatch latch = new CountDownLatch(1); local 141 latch.countDown(); 148 if (!latch.await(MAX_GC_WAIT_SEC, TimeUnit.SECONDS)) {
|
/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/lib/gcc/arm-linux-androideabi/4.4.3/plugin/include/ |
cfgloop.h | 114 /* Basic block of loop latch. */ 115 struct basic_block_def *latch; local 138 /* The number of times the latch of the loop is executed. 374 /* Assumptions under that the loop ends before reaching the latch,
|
/frameworks/base/core/java/android/view/ |
ViewDebug.java | 1127 final CountDownLatch latch = new CountDownLatch(1); local 1260 final CountDownLatch latch = new CountDownLatch(1); local [all...] |
/frameworks/base/core/java/android/content/ |
SyncManager.java | 1570 CountDownLatch latch = mReadyToRunLatch; local [all...] |
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | 317 public final AtomicBoolean latch; field in class:BackupManagerService.FullParams 323 latch = new AtomicBoolean(false); 518 params.allApps, params.includeSystem, params.packages, params.latch); 543 params.observer, params.latch); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | [all...] |
/development/samples/NFCDemo/libs/ |
guava-10.0.1.jar | |