Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockImsService.java44 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in MockImsService
55 mLatches[i] = new CountDownLatch(1); in MockImsService()
226 synchronized (mLatches) { in countDownLatch()
227 mLatches[latchIndex].countDown(); in countDownLatch()
232 synchronized (mLatches) { in resetLatch()
233 mLatches[latchIndex] = new CountDownLatch(1); in resetLatch()
248 synchronized (mLatches) { in waitForLatchCountdown()
249 latch = mLatches[latchIndex]; in waitForLatchCountdown()
257 synchronized (mLatches) { in waitForLatchCountdown()
258 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
[all …]
DMockNetworkService.java97 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in MockNetworkService
253 mLatches[i] = new CountDownLatch(1); in MockNetworkService()
743 synchronized (mLatches) { in countDownLatch()
744 mLatches[latchIndex].countDown(); in countDownLatch()
759 synchronized (mLatches) { in waitForLatchCountdown()
760 latch = mLatches[latchIndex]; in waitForLatchCountdown()
769 synchronized (mLatches) { in waitForLatchCountdown()
770 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
779 synchronized (mLatches) { in resetAllLatchCountdown()
781 mLatches[i] = new CountDownLatch(1); in resetAllLatchCountdown()
DIRadioModemImpl.java59 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in IRadioModemImpl
584 synchronized (mLatches) { in waitForLatchCountdown()
585 latch = mLatches[latchIndex]; in waitForLatchCountdown()
594 synchronized (mLatches) { in waitForLatchCountdown()
595 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
604 synchronized (mLatches) { in resetAllLatchCountdown()
606 mLatches[i] = new CountDownLatch(1); in resetAllLatchCountdown()
DIRadioVoiceImpl.java47 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in IRadioVoiceImpl
93 mLatches[i] = new CountDownLatch(1); in IRadioVoiceImpl()
1142 synchronized (mLatches) { in countDownLatch()
1143 mLatches[latchIndex].countDown(); in countDownLatch()
1148 synchronized (mLatches) { in resetLatch()
1149 mLatches[latchIndex] = new CountDownLatch(1); in resetLatch()
1164 synchronized (mLatches) { in waitForLatchCountdown()
1165 latch = mLatches[latchIndex]; in waitForLatchCountdown()
1174 synchronized (mLatches) { in waitForLatchCountdown()
1175 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DWebViewMultiScreenLoginActivity.java55 private final Map<String, CountDownLatch> mLatches = new HashMap<>(); field in WebViewMultiScreenLoginActivity
58 mLatches.put(FAKE_USERNAME_URL, new CountDownLatch(1)); in WebViewMultiScreenLoginActivity()
59 mLatches.put(FAKE_PASSWORD_URL, new CountDownLatch(1)); in WebViewMultiScreenLoginActivity()
99 final CountDownLatch latch = mLatches.get(url); in loadWebView()
110 if (!mLatches.get(FAKE_USERNAME_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in loadWebView()
135 if (!mLatches.get(FAKE_PASSWORD_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in waitForPasswordScreen()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsAnimationControllerTests.java765 private CountDownLatch[] mLatches = { field in WindowInsetsAnimationControllerTests.ControlListener
807 CountDownLatch latch = mLatches[event.ordinal()]; in report()
813 CountDownLatch latch = mLatches[event.ordinal()]; in awaitAndAssert()
840 CountDownLatch latch = mLatches[event.ordinal()]; in assertWasCalled()
848 CountDownLatch latch = mLatches[event.ordinal()]; in assertWasNotCalled()
857 .filter((e) -> mLatches[e.ordinal()].getCount() == 0) in reportedEvents()