/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestImsRegistration.java | 57 private static final CountDownLatch[] sLatches = new CountDownLatch[LATCH_MAX]; field in TestImsRegistration 60 sLatches[i] = new CountDownLatch(1); 74 synchronized (sLatches) { in updateSipDelegateRegistration() 75 sLatches[LATCH_UPDATE_REGISTRATION].countDown(); in updateSipDelegateRegistration() 81 synchronized (sLatches) { in triggerSipDelegateDeregistration() 82 sLatches[LATCH_TRIGGER_DEREGISTRATION].countDown(); in triggerSipDelegateDeregistration() 90 synchronized (sLatches) { in triggerDeregistration() 91 sLatches[LATCH_TRIGGER_DEREGISTRATION_BY_RADIO].countDown(); in triggerDeregistration() 100 synchronized (sLatches) { in resetLatch() 101 sLatches[latchIndex] = new CountDownLatch(newCount); in resetLatch() [all …]
|
D | TestSipTransport.java | 49 protected static final CountDownLatch[] sLatches = new CountDownLatch[LATCH_MAX]; field in TestSipTransport 52 sLatches[i] = new CountDownLatch(1); 106 latch = sLatches[latchIndex]; in isLatchCountDownFinished() 116 latch = sLatches[latchIndex]; in waitForLatchCountdownAndReset() 123 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdownAndReset() 130 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | TestImsService.java | 89 protected static final CountDownLatch[] sLatches = new CountDownLatch[LATCH_MAX]; field in TestImsService 92 sLatches[i] = new CountDownLatch(1); 592 sLatches[i] = new CountDownLatch(1); in resetState() 684 latch = sLatches[latchIndex]; in waitForLatchCountdown() 696 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 703 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | ImsCallingBase.java | 122 protected static final CountDownLatch[] sLatches = new CountDownLatch[LATCH_MAX]; field in ImsCallingBase 128 sLatches[i] = new CountDownLatch(1); in initializeLatches() 135 sLatches[latchIndex] = new CountDownLatch(count); in overrideLatchCount() 145 latch = sLatches[latchIndex]; in callingTestLatchCountdown() 152 sLatches[latchIndex] = new CountDownLatch(1); in callingTestLatchCountdown() 159 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | ImsCallingTestOnMockModem.java | 188 sLatches[i] = new CountDownLatch(1); in afterTest()
|
D | DomainSelectionCrossSimRedialingTestOnMockModem.java | 286 sLatches[i] = new CountDownLatch(1); in afterTest()
|
D | CallDomainSelectionTestOnMockModem.java | 210 sLatches[i] = new CountDownLatch(1); in afterTest()
|
D | EmergencyCallDomainSelectionTestOnMockModem.java | 289 sLatches[i] = new CountDownLatch(1); in afterTest()
|
D | ImsCallingTest.java | 195 sLatches[i] = new CountDownLatch(1); in afterTest()
|
/cts/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/ |
D | MockWifiModemService.java | 47 private static CountDownLatch[] sLatches; field in MockWifiModemService 65 sLatches = new CountDownLatch[LATCH_MAX]; in onCreate() 68 sLatches[i] = new CountDownLatch(NUM_MOCKED_INTERFACES); // make sure all HAL in onCreate() 71 sLatches[i] = new CountDownLatch(1); in onCreate() 91 if (latchIndex < 0 || latchIndex >= sLatches.length) { in countDownLatch() 96 sLatches[latchIndex].countDown(); in countDownLatch() 105 if (latchIndex < 0 || latchIndex >= sLatches.length) { in waitForLatchCountdown() 113 latch = sLatches[latchIndex]; in waitForLatchCountdown() 119 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingIntentSenderService.java | 45 private static final Map<String, CountDownLatch> sLatches = new ConcurrentHashMap<>(); field in BlockingIntentSenderService 70 sLatches.put(id, new CountDownLatch(1)); in register() 83 sLatches.remove(id); in unregister() 96 CountDownLatch latch = sLatches.get(id); in await() 115 CountDownLatch latch = sLatches.get(id); in onHandleIntent()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockModemService.java | 85 protected static CountDownLatch[] sLatches; field in MockModemService 115 sLatches = new CountDownLatch[LATCH_MAX]; in onCreate() 118 sLatches[i] = new CountDownLatch(1); in onCreate() 141 sLatches[i] = new CountDownLatch(radioInterfaceNumber); in onCreate() 143 sLatches[i] = new CountDownLatch(1); in onCreate() 237 latch = sLatches[latchIndex]; in waitForLatchCountdown() 243 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 253 latch = sLatches[latchIndex]; in waitForLatchCountdown() 259 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 266 sLatches[latchIndex].countDown(); in countDownLatch()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TestDomainSelectionService.java | 77 protected static final CountDownLatch[] sLatches = new CountDownLatch[LATCH_MAX]; field in TestDomainSelectionService 81 sLatches[i] = new CountDownLatch(1); 217 sLatches[i] = new CountDownLatch(1); in resetState() 254 latch = sLatches[latchIndex]; in waitForLatchCountdown() 264 sLatches[latchIndex] = new CountDownLatch(1); in waitForLatchCountdown() 272 sLatches[latchIndex].countDown(); in countDownLatch()
|
D | DomainSelectionCallingBase.java | 78 protected static final CountDownLatch[] sLatches = new CountDownLatch[LATCH_MAX]; field in DomainSelectionCallingBase 91 sLatches[i] = new CountDownLatch(1); in initializeLatches() 98 sLatches[latchIndex] = new CountDownLatch(count); in overrideLatchCount() 107 latch = sLatches[latchIndex]; in callingTestLatchCountdown() 114 sLatches[latchIndex] = new CountDownLatch(1); in callingTestLatchCountdown() 121 sLatches[latchIndex].countDown(); in countDownLatch()
|