Searched refs:sLatch (Results 1 – 6 of 6) 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()
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()
53 private static CountDownLatch sLatch; field in ActivityContext82 sLatch = new CountDownLatch(1); in getWithContext()92 sLatch.await(); in getWithContext()157 sLatch.countDown(); in onResume()