/cts/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/ |
D | MockWifiModemService.java | 90 public void countDownLatch(int latchIndex) { in countDownLatch() argument 91 if (latchIndex < 0 || latchIndex >= sLatches.length) { in countDownLatch() 92 Log.e(TAG, "invalid latch index: " + latchIndex); in countDownLatch() 96 sLatches[latchIndex].countDown(); in countDownLatch() 100 public boolean waitForLatchCountdown(int latchIndex) { in waitForLatchCountdown() argument 101 return waitForLatchCountdown(latchIndex, TEST_TIMEOUT_MS); in waitForLatchCountdown() 104 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 105 if (latchIndex < 0 || latchIndex >= sLatches.length) { in waitForLatchCountdown() 106 Log.e(TAG, "invalid latch index: " + latchIndex); in waitForLatchCountdown() 113 latch = sLatches[latchIndex]; in waitForLatchCountdown() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestSipTransport.java | 103 public boolean isLatchCountDownFinished(int latchIndex) { in isLatchCountDownFinished() argument 106 latch = sLatches[latchIndex]; in isLatchCountDownFinished() 111 public boolean waitForLatchCountdownAndReset(int latchIndex) { in waitForLatchCountdownAndReset() argument 116 latch = sLatches[latchIndex]; in waitForLatchCountdownAndReset() 123 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdownAndReset() 128 private void countDownLatch(int latchIndex) { in countDownLatch() argument 130 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | TestImsRegistration.java | 99 public void resetLatch(int latchIndex, int newCount) { in resetLatch() argument 101 sLatches[latchIndex] = new CountDownLatch(newCount); in resetLatch() 105 public boolean waitForLatchCountDown(int latchIndex, int timeoutMs) { in waitForLatchCountDown() argument 108 latch = sLatches[latchIndex]; in waitForLatchCountDown()
|
D | TestImsService.java | 675 public boolean waitForLatchCountdown(int latchIndex) { in waitForLatchCountdown() argument 676 return waitForLatchCountdown(latchIndex, ImsUtils.TEST_TIMEOUT_MS); in waitForLatchCountdown() 679 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 684 latch = sLatches[latchIndex]; in waitForLatchCountdown() 689 Log.i(TAG, "Latch " + latchIndex + " took " in waitForLatchCountdown() 696 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 701 public void countDownLatch(int latchIndex) { in countDownLatch() argument 703 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | DomainSelectionCrossSimRedialingTestOnMockModem.java | 441 private boolean waitForVoiceLatchCountdown(int slotId, int latchIndex) { in waitForVoiceLatchCountdown() argument 442 return waitForVoiceLatchCountdown(slotId, latchIndex, WAIT_LATCH_TIMEOUT_MS); in waitForVoiceLatchCountdown() 445 private boolean waitForVoiceLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 446 return sMockModemManager.waitForVoiceLatchCountdown(slotId, latchIndex, waitMs); in waitForVoiceLatchCountdown() 461 private boolean waitForNetworkLatchCountdown(int slotId, int latchIndex) { in waitForNetworkLatchCountdown() argument 462 return waitForNetworkLatchCountdown(slotId, latchIndex, WAIT_LATCH_TIMEOUT_MS); in waitForNetworkLatchCountdown() 465 public boolean waitForNetworkLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 466 return sMockModemManager.waitForNetworkLatchCountdown(slotId, latchIndex, waitMs); in waitForNetworkLatchCountdown()
|
D | ImsCallingBase.java | 133 protected static void overrideLatchCount(int latchIndex, int count) { in overrideLatchCount() argument 135 sLatches[latchIndex] = new CountDownLatch(count); in overrideLatchCount() 140 public boolean callingTestLatchCountdown(int latchIndex, int waitMs) { in callingTestLatchCountdown() argument 145 latch = sLatches[latchIndex]; in callingTestLatchCountdown() 152 sLatches[latchIndex] = new CountDownLatch(1); in callingTestLatchCountdown() 157 public void countDownLatch(int latchIndex) { in countDownLatch() argument 159 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | ImsCallingTestOnMockModem.java | 540 public boolean waitForMockImsStateLatchCountdown(int latchIndex) { in waitForMockImsStateLatchCountdown() argument 541 return waitForMockImsStateLatchCountdown(latchIndex, WAIT_UPDATE_TIMEOUT_MS); in waitForMockImsStateLatchCountdown() 544 public boolean waitForMockImsStateLatchCountdown(int latchIndex, int waitMs) { in waitForMockImsStateLatchCountdown() argument 545 return sMockModemManager.waitForImsLatchCountdown(latchIndex, waitMs); in waitForMockImsStateLatchCountdown()
|
D | EmergencyCallDomainSelectionTestOnMockModem.java | 1459 public boolean waitForNetworkLatchCountdown(int latchIndex) { in waitForNetworkLatchCountdown() argument 1460 return waitForNetworkLatchCountdown(latchIndex, WAIT_LATCH_TIMEOUT_MS); in waitForNetworkLatchCountdown() 1463 public boolean waitForNetworkLatchCountdown(int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 1464 return sMockModemManager.waitForNetworkLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForNetworkLatchCountdown() 1467 public boolean waitForVoiceLatchCountdown(int latchIndex) { in waitForVoiceLatchCountdown() argument 1468 return waitForVoiceLatchCountdown(latchIndex, WAIT_LATCH_TIMEOUT_MS); in waitForVoiceLatchCountdown() 1471 public boolean waitForVoiceLatchCountdown(int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 1472 return sMockModemManager.waitForVoiceLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForVoiceLatchCountdown()
|
D | MmTelFeatureTestOnMockModem.java | 725 public boolean waitForMockImsStateLatchCountdown(int latchIndex) { 726 return waitForMockImsStateLatchCountdown(latchIndex, WAIT_UPDATE_TIMEOUT_MS); 729 public boolean waitForMockImsStateLatchCountdown(int latchIndex, int waitMs) { 730 return sMockModemManager.waitForImsLatchCountdown(latchIndex, waitMs);
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockImsService.java | 225 private void countDownLatch(int latchIndex) { in countDownLatch() argument 227 mLatches[latchIndex].countDown(); in countDownLatch() 231 private void resetLatch(int latchIndex) { in resetLatch() argument 233 mLatches[latchIndex] = new CountDownLatch(1); in resetLatch() 244 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 249 latch = mLatches[latchIndex]; in waitForLatchCountdown() 253 Log.i(TAG, "Latch " + latchIndex + " took " in waitForLatchCountdown() 258 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
|
D | MockModemService.java | 232 public boolean waitForLatchCountdown(int latchIndex) { in waitForLatchCountdown() argument 237 latch = sLatches[latchIndex]; in waitForLatchCountdown() 243 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 248 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 253 latch = sLatches[latchIndex]; in waitForLatchCountdown() 259 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 264 public void countDownLatch(int latchIndex) { in countDownLatch() argument 266 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | MockNetworkService.java | 742 private void countDownLatch(int latchIndex) { in countDownLatch() argument 744 mLatches[latchIndex].countDown(); in countDownLatch() 755 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 760 latch = mLatches[latchIndex]; in waitForLatchCountdown() 764 Log.i(TAG, "Latch " + latchIndex + " took " in waitForLatchCountdown() 767 Log.e(TAG, "Waiting latch " + latchIndex + " interrupted, e=" + e); in waitForLatchCountdown() 770 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
|
D | MockModemManager.java | 821 public boolean waitForNetworkLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 824 .waitForLatchCountdown(latchIndex, waitMs); in waitForNetworkLatchCountdown() 844 public boolean waitForVoiceLatchCountdown(int slotId, int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 847 .waitForLatchCountdown(latchIndex, waitMs); in waitForVoiceLatchCountdown() 965 public boolean waitForImsLatchCountdown(int latchIndex, int waitMs) { in waitForImsLatchCountdown() argument 966 return mMockModemService.getIRadioIms().waitForLatchCountdown(latchIndex, waitMs); in waitForImsLatchCountdown()
|
D | IRadioModemImpl.java | 580 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 585 latch = mLatches[latchIndex]; in waitForLatchCountdown() 589 Log.i(TAG, "Latch " + latchIndex + " took " in waitForLatchCountdown() 592 Log.e(TAG, "Waiting latch " + latchIndex + " interrupted, e=" + e); in waitForLatchCountdown() 595 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
|
D | IRadioVoiceImpl.java | 1141 private void countDownLatch(int latchIndex) { in countDownLatch() argument 1143 mLatches[latchIndex].countDown(); in countDownLatch() 1147 private void resetLatch(int latchIndex) { in resetLatch() argument 1149 mLatches[latchIndex] = new CountDownLatch(1); in resetLatch() 1160 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 1165 latch = mLatches[latchIndex]; in waitForLatchCountdown() 1169 Log.i(TAG, "Latch " + latchIndex + " took " in waitForLatchCountdown() 1172 Log.e(TAG, "Waiting latch " + latchIndex + " interrupted, e=" + e); in waitForLatchCountdown() 1175 mLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
|
D | IRadioImsImpl.java | 350 public boolean waitForLatchCountdown(int latchIndex, int waitMs) { in waitForLatchCountdown() argument 351 return mImsState.waitForLatchCountdown(latchIndex, waitMs); in waitForLatchCountdown()
|
D | IRadioNetworkImpl.java | 1253 public boolean waitForLatchCountdown(int latchIndex, int waitMs) { in waitForLatchCountdown() argument 1254 return mServiceState.waitForLatchCountdown(latchIndex, waitMs); in waitForLatchCountdown()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TestDomainSelectionService.java | 240 public boolean waitForLatchCountdown(int latchIndex) { in waitForLatchCountdown() argument 241 return waitForLatchCountdown(latchIndex, TEST_TIMEOUT_MS); in waitForLatchCountdown() 249 public boolean waitForLatchCountdown(int latchIndex, long waitMs) { in waitForLatchCountdown() argument 254 latch = sLatches[latchIndex]; in waitForLatchCountdown() 258 Log.i(TAG, "Latch " + latchIndex + " took " in waitForLatchCountdown() 264 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 270 private void countDownLatch(int latchIndex) { in countDownLatch() argument 272 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | DomainSelectionCallingBase.java | 96 protected static void overrideLatchCount(int latchIndex, int count) { in overrideLatchCount() argument 98 sLatches[latchIndex] = new CountDownLatch(count); in overrideLatchCount() 102 protected boolean callingTestLatchCountdown(int latchIndex, int waitMs) { in callingTestLatchCountdown() argument 107 latch = sLatches[latchIndex]; in callingTestLatchCountdown() 114 sLatches[latchIndex] = new CountDownLatch(1); in callingTestLatchCountdown() 119 private void countDownLatch(int latchIndex) { in countDownLatch() argument 121 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | DomainSelectionServiceTestOnMockModem.java | 443 private boolean waitForNetworkLatchCountdown(int latchIndex) { in waitForNetworkLatchCountdown() argument 444 return waitForNetworkLatchCountdown(latchIndex, WAIT_UPDATE_TIMEOUT_MS); in waitForNetworkLatchCountdown() 447 private boolean waitForNetworkLatchCountdown(int latchIndex, int waitMs) { in waitForNetworkLatchCountdown() argument 448 return sMockModemManager.waitForNetworkLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForNetworkLatchCountdown() 451 private boolean waitForVoiceLatchCountdown(int latchIndex) { in waitForVoiceLatchCountdown() argument 452 return waitForVoiceLatchCountdown(latchIndex, WAIT_UPDATE_TIMEOUT_MS); in waitForVoiceLatchCountdown() 455 private boolean waitForVoiceLatchCountdown(int latchIndex, int waitMs) { in waitForVoiceLatchCountdown() argument 456 return sMockModemManager.waitForVoiceLatchCountdown(sTestSlot, latchIndex, waitMs); in waitForVoiceLatchCountdown()
|
/cts/tests/tests/telephony/current/TestExternalImsServiceApp/src/android/telephony/cts/externalimsservice/ |
D | TestExternalImsService.java | 41 public boolean waitForLatchCountdown(int latchIndex) { in waitForLatchCountdown() argument 42 return TestExternalImsService.this.waitForLatchCountdown(latchIndex); in waitForLatchCountdown()
|
/cts/tests/tests/telephony/current/TestExternalImsServiceApp/aidl/android/telephony/cts/externalimsservice/ |
D | ITestExternalImsService.aidl | 27 boolean waitForLatchCountdown(int latchIndex); in waitForLatchCountdown() argument
|