Searched refs:mLocks (Results 1 – 1 of 1) sorted by relevance
64 private CountDownLatch[] mLocks = new CountDownLatch[NUM_LOCKS]; field in CtsSelfManagedConnectionService80 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()