Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DCtsSelfManagedConnectionService.java64 private CountDownLatch[] mLocks = new CountDownLatch[NUM_LOCKS]; field in CtsSelfManagedConnectionService
80 Arrays.setAll(mLocks, i -> new CountDownLatch(1)); in CtsSelfManagedConnectionService()
109 mLocks[CREATE_INCOMING_CONNECTION_FAILED_LOCK].countDown(); in onCreateIncomingConnectionFailed()
115 mLocks[CREATE_OUTGOING_CONNECTION_FAILED_LOCK].countDown(); in onCreateOutgoingConnectionFailed()
134 mLocks[HANDOVER_FAILED_LOCK].countDown(); in onHandoverFailed()
140 mLocks[FOCUS_GAINED_LOCK].countDown(); in onConnectionServiceFocusGained()
145 mLocks[FOCUS_LOST_LOCK].countDown(); in onConnectionServiceFocusLost()
184 mLocks[CONNECTION_CREATED_LOCK].countDown(); in createSelfManagedConnection()
202 mLocks[lock] = TestUtils.waitForLock(mLocks[lock]); in waitForUpdate()
203 return mLocks[lock] != null; in waitForUpdate()