Searched refs:mLatches (Results 1 – 2 of 2) sorted by relevance
54 private final Map<String, CountDownLatch> mLatches = new HashMap<>(); field in WebViewMultiScreenLoginActivity57 mLatches.put(FAKE_USERNAME_URL, new CountDownLatch(1)); in WebViewMultiScreenLoginActivity()58 mLatches.put(FAKE_PASSWORD_URL, new CountDownLatch(1)); in WebViewMultiScreenLoginActivity()98 final CountDownLatch latch = mLatches.get(url); in loadWebView()109 if (!mLatches.get(FAKE_USERNAME_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in loadWebView()134 if (!mLatches.get(FAKE_PASSWORD_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in waitForPasswordScreen()
648 private CountDownLatch[] mLatches = { field in WindowInsetsAnimationControllerTests.ControlListener691 CountDownLatch latch = mLatches[event.ordinal()]; in report()697 CountDownLatch latch = mLatches[event.ordinal()]; in awaitAndAssert()713 CountDownLatch latch = mLatches[event.ordinal()]; in assertWasCalled()719 CountDownLatch latch = mLatches[event.ordinal()]; in assertWasNotCalled()726 .filter((e) -> mLatches[e.ordinal()].getCount() == 0) in reportedEvents()