Home
last modified time | relevance | path

Searched refs:mLatch (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAsyncResultHolder.java35 private final CountDownLatch mLatch; field in AsyncResultHolder
39 mLatch = new CountDownLatch(1); in AsyncResultHolder()
49 if (mLatch.getCount() > 0) { in set()
51 mLatch.countDown(); in set()
66 return mLatch.await(timeOut, TimeUnit.MILLISECONDS) ? mResult : defaultValue; in get()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java71 private CountDownLatch mLatch; field in DownloadScanner
84 scanner.mLatch = new CountDownLatch(1); in requestScanBlocking()
87 scanner.mLatch.await(SCAN_TIMEOUT, TimeUnit.MILLISECONDS); in requestScanBlocking()
177 if (mLatch != null) { in onScanCompleted()
178 mLatch.countDown(); in onScanCompleted()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DSdpManagerTestServer.java151 final CountDownLatch mLatch; field in SdpManagerTestServer.SdpBroadcastReceiver
166 mLatch = latch; in SdpBroadcastReceiver()
196 mLatch.countDown(); in onReceive()
218 mLatch.countDown(); in onReceive()
241 mLatch.countDown(); in onReceive()
263 mLatch.countDown(); in onReceive()
285 mLatch.countDown(); in onReceive()
DObexTest.java629 final CountDownLatch mLatch; field in ObexTest.SdpBroadcastReceiver
631 mLatch = latch; in SdpBroadcastReceiver()
671 mLatch.countDown(); in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAdvertiseManager.java67 private CountDownLatch mLatch; field in AdvertiseManager
130 mLatch.countDown(); in callbackDone()
327 mLatch = new CountDownLatch(1); in resetCountDownLatch()
333 return mLatch.await(OPERATION_TIME_OUT_MILLIS, TimeUnit.MILLISECONDS); in waitForCallback()
DScanManager.java95 private CountDownLatch mLatch; field in ScanManager
162 mLatch.countDown(); in callbackDone()
434 mLatch = new CountDownLatch(1); in resetCountDownLatch()
440 return mLatch.await(OPERATION_TIME_OUT_MILLIS, TimeUnit.MILLISECONDS); in waitForCallback()