Searched refs:mLatches (Results 1 – 6 of 6) sorted by relevance
44 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in MockImsService55 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 …]
97 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in MockNetworkService253 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()
59 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in IRadioModemImpl584 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()
47 private final CountDownLatch[] mLatches = new CountDownLatch[LATCH_MAX]; field in IRadioVoiceImpl93 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 …]
55 private final Map<String, CountDownLatch> mLatches = new HashMap<>(); field in WebViewMultiScreenLoginActivity58 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()
765 private CountDownLatch[] mLatches = { field in WindowInsetsAnimationControllerTests.ControlListener807 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()