Searched refs:waitForLatch (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DAsyncListUtilTest.java155 private static void waitForLatch(String context, CountDownLatch latch) method in class:AsyncListUtilTest
225 waitForLatch("filled tiles (" + context + ")", mTilesFilledLatch.mLatch);
278 waitForLatch("timed out waiting for data set change (" + context + ")",
287 waitForLatch("onItemChanged", mItemsChangedLatch.mLatch);
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java556 waitForLatch(latch);
588 waitForLatch(latch);
626 waitForLatch(latch);
655 waitForLatch(latch);
684 waitForLatch(latch);
739 waitForLatch(latch);
770 waitForLatch(latch);
808 waitForLatch(latch);
837 waitForLatch(latch);
866 waitForLatch(latc
3068 private void waitForLatch(CountDownLatch latch) { method in class:AccountManagerServiceTest
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java782 waitForLatch(mAsecsScanned, "mAsecsScanned");
786 waitForLatch(mConnectedSignal, "mConnectedSignal");
789 private void waitForLatch(CountDownLatch latch, String condition) { method in class:StorageManagerService
791 waitForLatch(latch, condition, -1);
796 private void waitForLatch(CountDownLatch latch, String condition, long timeoutMillis) method in class:StorageManagerService
1791 waitForLatch(mUnmountSignal, "mUnmountSignal");
1844 waitForLatch(latch, "partitionPublic", 3 * DateUtils.MINUTE_IN_MILLIS);
1861 waitForLatch(latch, "partitionPrivate", 3 * DateUtils.MINUTE_IN_MILLIS);
1878 waitForLatch(latch, "partitionMixed", 3 * DateUtils.MINUTE_IN_MILLIS);

Completed in 105 milliseconds