Searched refs:sLatch (Results 1 – 6 of 6) sorted by relevance
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()
41 private static CountDownLatch sLatch; field in StatsdJobService51 if (sLatch != null) {52 sLatch.countDown();58 sLatch = new CountDownLatch(1); in resetCountDownLatch()59 return sLatch; in resetCountDownLatch()
42 private static CountDownLatch sLatch; field in StatsdSyncAdapter62 if (sLatch != null) { in onPerformSync()63 sLatch.countDown(); in onPerformSync()83 sLatch = new CountDownLatch(1); in resetCountDownLatch()84 return sLatch; in resetCountDownLatch()
43 private static CountDownLatch sLatch; field in SimpleJobService54 if (sLatch != null) {55 sLatch.countDown();67 sLatch = new CountDownLatch(1); in resetCountDownLatch()68 return sLatch; in resetCountDownLatch()
37 private static CountDownLatch sLatch = new CountDownLatch(1); field in CtsPostCallActivity48 sLatch.countDown(); in onCreate()61 sLatch = new CountDownLatch(1); in resetPostCallActivity()68 return sLatch.await(TEST_TIMEOUT, TimeUnit.MILLISECONDS); in waitForActivity()
33 private static final CountDownLatch sLatch = new CountDownLatch(1); field in MyDrawable50 sLatch.countDown(); in draw()55 if (!sLatch.await(Timeouts.FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in getAutofilledBounds()