/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/services/ |
H A D | TestJobListener.java | 33 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 D | TextToSpeechTests.java | 187 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 D | AnimatedVectorDrawableTest.java | 193 CountDownLatch latch = new CountDownLatch(numTests); 209 verifyRedOnly(pixelX, pixelY, imageButton, bitmap, c, latch); 211 verifyRedOnly(1, 1, imageButton, bitmap, c, latch); 213 latch.await(1000, TimeUnit.MILLISECONDS); 220 final Bitmap bitmap, final Canvas canvas, final CountDownLatch latch) throws Throwable { 230 latch.countDown(); 219 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 D | AsyncListUtilTest.java | 145 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 D | Mesh.java | 622 private void latch() { method in class:Mesh.TriangleMeshBuilder 662 latch(); 686 latch();
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2On1Adapter.h | 476 void latch() { function in class:android::HWC2On1Adapter::LatchedState
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 414 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)) { 1248 final CountDownLatch latch [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 405 // latch: never unprovision 531 public final AtomicBoolean latch; field in class:BackupManagerService.FullParams 537 latch = new AtomicBoolean(false); 854 params.packages, params.latch); 885 params.observer, params.latch); 3004 CountDownLatch latch = new CountDownLatch(1); 3009 fullBackups, /*updateSchedule*/ false, /*runningJob*/ null, latch, 4002 boolean doSystem, boolean doCompress, String[] packages, AtomicBoolean latch) { 4004 mLatch = latch; 4369 FullBackupJob runningJob, CountDownLatch latch, IBackupObserve 3999 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 4367 PerformFullTransportBackupTask(IFullBackupRestoreObserver observer, String[] whichPackages, boolean updateSchedule, FullBackupJob runningJob, CountDownLatch latch, IBackupObserver backupObserver, boolean userInitiated) argument 6540 PerformAdbRestoreTask(ParcelFileDescriptor fd, String curPassword, String decryptPassword, IFullBackupRestoreObserver observer, AtomicBoolean latch) argument [all...] |
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |