Searched refs:sLatch (Results 1 – 4 of 4) sorted by relevance
47 private static CountDownLatch sLatch; field in StatsdJobService60 if (sLatch != null) {61 sLatch.countDown();69 if (sLatch == null || sLatch.getCount() == 0) { in resetCountDownLatch()70 sLatch = new CountDownLatch(1); in resetCountDownLatch()73 return sLatch; in resetCountDownLatch()
42 private static CountDownLatch sLatch; field in StatsdSyncAdapter61 if (sLatch != null) { in onPerformSync()62 sLatch.countDown(); in onPerformSync()83 if (sLatch == null || sLatch.getCount() == 0) { in resetCountDownLatch()84 sLatch = new CountDownLatch(1); in resetCountDownLatch()87 return sLatch; in resetCountDownLatch()
31 static CountDownLatch sLatch; field in ConnectivityReceiver36 sLatch = new CountDownLatch(1); in prepare()42 sLatch.await(30, TimeUnit.SECONDS); in waitForBroadcast()47 sLatch = null; in waitForBroadcast()64 if (sLatch != null) { in onReceive()65 sLatch.countDown(); in onReceive()
38 private static CountDownLatch sLatch = new CountDownLatch(1); field in TestReceiver60 if (!sLatch.await(10, TimeUnit.SECONDS)) { in await()72 sLatch = new CountDownLatch(1); in reset()80 sLatch.countDown(); in onReceive()85 sLatch.countDown(); in onReceive()