Searched defs:waitForLatch (Results 1 - 2 of 2) sorted by relevance
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
H A D | AsyncListUtilTest.java | 145 private static void waitForLatch(String context, CountDownLatch latch) method in class:AsyncListUtilTest 214 waitForLatch("filled tiles (" + context + ")", mTilesFilledLatch.mLatch); 267 waitForLatch("timed out waiting for data set change (" + context + ")", 276 waitForLatch("onItemChanged", mItemsChangedLatch.mLatch);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 758 waitForLatch(mAsecsScanned, "mAsecsScanned"); 762 waitForLatch(mConnectedSignal, "mConnectedSignal"); 765 private void waitForLatch(CountDownLatch latch, String condition) { method in class:MountService 767 waitForLatch(latch, condition, -1); 772 private void waitForLatch(CountDownLatch latch, String condition, long timeoutMillis) method in class:MountService 1754 waitForLatch(mUnmountSignal, "mUnmountSignal"); 1807 waitForLatch(latch, "partitionPublic", 3 * DateUtils.MINUTE_IN_MILLIS); 1824 waitForLatch(latch, "partitionPrivate", 3 * DateUtils.MINUTE_IN_MILLIS); 1841 waitForLatch(latch, "partitionMixed", 3 * DateUtils.MINUTE_IN_MILLIS);
|
Completed in 175 milliseconds