Searched refs:mEventLock (Results 1 – 2 of 2) sorted by relevance
62 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT); field in MockConnectionService113 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION].release(); in onCreateOutgoingConnection()156 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION].release(); in onCreateIncomingConnection()168 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION_FAILED].release(); in onCreateIncomingConnectionFailed()238 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION_COMPLETE].release(); in onCreateConnectionComplete()243 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONFERENCE_COMPLETE].release(); in onCreateConferenceComplete()260 mEventLock[EVENT_CONNECTION_SERVICE_FOCUS_GAINED].release(); in onConnectionServiceFocusGained()265 mEventLock[EVENT_CONNECTION_SERVICE_FOCUS_LOST].release(); in onConnectionServiceFocusLost()275 if (event < 0 || event >= mEventLock.length) { in waitForEvent()280 return mEventLock[event].tryAcquire(DEFAULT_EVENT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForEvent()
423 private final Object mEventLock = new Object(); field in ItsService1436 synchronized(mEventLock) {1458 synchronized(mEventLock) {4277 synchronized(mEventLock) {