Searched refs:sLatch (Results 1 – 5 of 5) sorted by relevance
33 private static CountDownLatch sLatch; field in MyDrawable50 sLatch.countDown(); in draw()55 if (sLatch == null) { in getAutofilledBounds()59 if (!sLatch.await(Timeouts.FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in getAutofilledBounds()69 if (sLatch == null) { in assertDrawableNotDrawn()73 if (sLatch.await(Timeouts.DRAWABLE_TIMEOUT_MS, TimeUnit.MILLISECONDS)) { in assertDrawableNotDrawn()79 sLatch = new CountDownLatch(1); in initStatus()85 sLatch = null; in clearStatus()
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()
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()
57 private static CountDownLatch sLatch; field in ActivityContext93 sLatch = new CountDownLatch(1); in getWithContext()103 if (!sLatch.await(5, TimeUnit.MINUTES)) { in getWithContext()174 sLatch.countDown(); in onResume()