Searched refs:proxLatch (Results 1 – 1 of 1) sorted by relevance
138 CountDownLatch proxLatch = new CountDownLatch(1); in isDeviceAtEar() local160 if (proxLatch.getCount() == 0) { in isDeviceAtEar()166 proxLatch.countDown(); in isDeviceAtEar()179 boolean proxValid = proxLatch.await(100, TimeUnit.MILLISECONDS); in isDeviceAtEar()