Searched refs:mLatch (Results 1 – 6 of 6) sorted by relevance
35 private final CountDownLatch mLatch; field in AsyncResultHolder39 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()
71 private CountDownLatch mLatch; field in DownloadScanner84 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()
151 final CountDownLatch mLatch; field in SdpManagerTestServer.SdpBroadcastReceiver166 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()
629 final CountDownLatch mLatch; field in ObexTest.SdpBroadcastReceiver631 mLatch = latch; in SdpBroadcastReceiver()671 mLatch.countDown(); in onReceive()
67 private CountDownLatch mLatch; field in AdvertiseManager130 mLatch.countDown(); in callbackDone()327 mLatch = new CountDownLatch(1); in resetCountDownLatch()333 return mLatch.await(OPERATION_TIME_OUT_MILLIS, TimeUnit.MILLISECONDS); in waitForCallback()
95 private CountDownLatch mLatch; field in ScanManager162 mLatch.countDown(); in callbackDone()434 mLatch = new CountDownLatch(1); in resetCountDownLatch()440 return mLatch.await(OPERATION_TIME_OUT_MILLIS, TimeUnit.MILLISECONDS); in waitForCallback()