Searched refs:mEventLock (Results 1 – 2 of 2) sorted by relevance
61 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT); field in MockConnectionService107 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION].release(); in onCreateOutgoingConnection()150 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION].release(); in onCreateIncomingConnection()162 mEventLock[EVENT_CONNECTION_SERVICE_CREATE_CONNECTION_FAILED].release(); in onCreateIncomingConnectionFailed()244 mEventLock[EVENT_CONNECTION_SERVICE_FOCUS_GAINED].release(); in onConnectionServiceFocusGained()249 mEventLock[EVENT_CONNECTION_SERVICE_FOCUS_LOST].release(); in onConnectionServiceFocusLost()259 if (event < 0 || event >= mEventLock.length) { in waitForEvent()264 return mEventLock[event].tryAcquire(DEFAULT_EVENT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForEvent()
246 private volatile Object mEventLock = new Object(); field in ItsService949 synchronized(mEventLock) {969 synchronized(mEventLock) {1925 synchronized(mEventLock) {