Searched defs:latch (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/
H A DTestJobListener.java33 private final CountDownLatch latch = new CountDownLatch(1); field in class:TestJobListener
46 latch.countDown();
112 latch.await(500, TimeUnit.MILLISECONDS);
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java187 final CountDownLatch latch = new CountDownLatch(1);
188 doCountDown(latch).when(mock).onSynthesizeText(LittleMock.<SynthesisRequest>anyObject(),
192 awaitCountDown(latch, 5, TimeUnit.SECONDS);
200 final CountDownLatch latch = new CountDownLatch(1);
201 doCountDown(latch).when(listener).onInit(errorCode);
206 awaitCountDown(latch, 5, TimeUnit.SECONDS);
214 public static CountDownBehaviour doCountDown(final CountDownLatch latch) { argument
221 latch.countDown();
235 latch.countDown();
245 public static void awaitCountDown(CountDownLatch latch, lon argument
[all...]
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/
H A DAnimatedVectorDrawableTest.java198 CountDownLatch latch = new CountDownLatch(numTests);
214 verifyRedOnly(pixelX, pixelY, imageButton, bitmap, c, latch);
216 verifyRedOnly(1, 1, imageButton, bitmap, c, latch);
218 latch.await(1000, TimeUnit.MILLISECONDS);
225 final Bitmap bitmap, final Canvas canvas, final CountDownLatch latch) throws Throwable {
235 latch.countDown();
224 verifyRedOnly(final int pixelX, final int pixelY, final View button, final Bitmap bitmap, final Canvas canvas, final CountDownLatch latch) argument
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DAsyncListUtilTest.java145 private static void waitForLatch(String context, CountDownLatch latch) argument
147 assertTrue("timed out waiting for " + context, latch.await(1, TimeUnit.SECONDS));
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java622 private void latch() { method in class:Mesh.TriangleMeshBuilder
662 latch();
686 latch();
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.h483 void latch() { function in class:android::HWC2On1Adapter::LatchedState
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1129 static bool latch = false; local
1135 latch = atoi(value);
1138 return latch;
1940 // a bit of extra work), we latch the new one and we
1993 // abort this attempt to latch.
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java414 CountDownLatch latch = mDiskScanLatches.get(diskId);
415 if (latch == null) {
416 latch = new CountDownLatch(1);
417 mDiskScanLatches.put(diskId, latch);
419 return latch;
765 private void waitForLatch(CountDownLatch latch, String condition) { argument
767 waitForLatch(latch, condition, -1);
772 private void waitForLatch(CountDownLatch latch, String condition, long timeoutMillis) argument
777 if (latch.await(5000, TimeUnit.MILLISECONDS)) {
1252 final CountDownLatch latch
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java406 // latch: never unprovision
532 public final AtomicBoolean latch; field in class:BackupManagerService.FullParams
538 latch = new AtomicBoolean(false);
855 params.packages, params.latch);
886 params.observer, params.latch);
3021 CountDownLatch latch = new CountDownLatch(1);
3026 fullBackups, /*updateSchedule*/ false, /*runningJob*/ null, latch,
4019 boolean doSystem, boolean doCompress, String[] packages, AtomicBoolean latch) {
4021 mLatch = latch;
4389 FullBackupJob runningJob, CountDownLatch latch, IBackupObserve
4016 PerformAdbBackupTask(ParcelFileDescriptor fd, IFullBackupRestoreObserver observer, boolean includeApks, boolean includeObbs, boolean includeShared, boolean doWidgets, String curPassword, String encryptPassword, boolean doAllApps, boolean doSystem, boolean doCompress, String[] packages, AtomicBoolean latch) argument
4387 PerformFullTransportBackupTask(IFullBackupRestoreObserver observer, String[] whichPackages, boolean updateSchedule, FullBackupJob runningJob, CountDownLatch latch, IBackupObserver backupObserver, boolean userInitiated) argument
6576 PerformAdbRestoreTask(ParcelFileDescriptor fd, String curPassword, String decryptPassword, IFullBackupRestoreObserver observer, AtomicBoolean latch) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 664 milliseconds