Searched refs:mLatch (Results 1 – 5 of 5) 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()
42 private final CountDownLatch mLatch = new CountDownLatch(3); field in ProvisioningResultListener55 mLatch.countDown(); in onReceive()59 mLatch.countDown(); in onReceive()83 return mLatch.await(timeoutSeconds, TimeUnit.SECONDS); in await()88 mLatch.countDown(); in setPreprovisioningActivityResult()
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()
250 private CountDownLatch mLatch; field in ScanFragment.ChannelScanTask345 mLatch = new CountDownLatch(1); in scanChannels()347 mLatch.await(CHANNEL_SCAN_PERIOD_MS, TimeUnit.MILLISECONDS); in scanChannels()416 if (mLatch != null) { in onChannelScanDone()417 mLatch.countDown(); in onChannelScanDone()
93 private CountDownLatch mLatch; field in ScanManager178 mLatch.countDown(); in callbackDone()430 mLatch = new CountDownLatch(1); in resetCountDownLatch()436 return mLatch.await(OPERATION_TIME_OUT_MILLIS, TimeUnit.MILLISECONDS); in waitForCallback()