Lines Matching defs:latch
406 // latch: never unprovision
532 public final AtomicBoolean latch;
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, IBackupObserver backupObserver,
4393 mLatch = latch;
4760 // the latch being thrown, flow will continue as though a result or "normal"
5173 CountDownLatch latch = new CountDownLatch(1);
5176 scheduledJob, latch, null, false /* userInitiated */);
6577 IFullBackupRestoreObserver observer, AtomicBoolean latch) {
6582 mLatchObject = latch;
7139 final AdbRestoreFinishedLatch latch = new AdbRestoreFinishedLatch();
7140 prepareOperationTimeout(token, TIMEOUT_FULL_BACKUP_INTERVAL, latch);
7151 latch.await();
9426 CountDownLatch latch = new CountDownLatch(1);
9428 pkgNames, false, null, latch, null, false /* userInitiated */);
9434 latch.await();
9437 // Just go back to waiting for the latch to indicate completion
9536 synchronized (params.latch) {
9537 while (params.latch.get() == false) {
9539 params.latch.wait();
9546 synchronized (params.latch) {
9547 params.latch.set(true);
9548 params.latch.notifyAll();