Home
last modified time | relevance | path

Searched refs:sLatches (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestImsRegistration.java57 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 …]
DTestSipTransport.java49 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()
DTestImsService.java89 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()
DImsCallingBase.java122 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()
DImsCallingTestOnMockModem.java188 sLatches[i] = new CountDownLatch(1); in afterTest()
DDomainSelectionCrossSimRedialingTestOnMockModem.java286 sLatches[i] = new CountDownLatch(1); in afterTest()
DCallDomainSelectionTestOnMockModem.java210 sLatches[i] = new CountDownLatch(1); in afterTest()
DEmergencyCallDomainSelectionTestOnMockModem.java289 sLatches[i] = new CountDownLatch(1); in afterTest()
DImsCallingTest.java195 sLatches[i] = new CountDownLatch(1); in afterTest()
/cts/tests/tests/wifi/mockWifi/src/android/wifi/mockwifi/
DMockWifiModemService.java47 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/
DBlockingIntentSenderService.java45 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/
DMockModemService.java85 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/
DTestDomainSelectionService.java77 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()
DDomainSelectionCallingBase.java78 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()