Home
last modified time | relevance | path

Searched refs:mLatches (Results 1 – 2 of 2) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DWebViewMultiScreenLoginActivity.java54 private final Map<String, CountDownLatch> mLatches = new HashMap<>(); field in WebViewMultiScreenLoginActivity
57 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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationControllerTests.java648 private CountDownLatch[] mLatches = { field in WindowInsetsAnimationControllerTests.ControlListener
691 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()