Searched refs:mEventLock (Results 1 – 2 of 2) sorted by relevance
51 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT); field in MockConnectionService159 mEventLock[EVENT_CONNECTION_SERVICE_FOCUS_GAINED].release(); in onConnectionServiceFocusGained()164 mEventLock[EVENT_CONNECTION_SERVICE_FOCUS_LOST].release(); in onConnectionServiceFocusLost()174 if (event < 0 || event >= mEventLock.length) { in waitForEvent()179 return mEventLock[event].tryAcquire(DEFAULT_EVENT_TIMEOUT_MS, TimeUnit.MILLISECONDS); in waitForEvent()
225 private volatile Object mEventLock = new Object(); field in ItsService898 synchronized(mEventLock) {917 synchronized(mEventLock) {1756 synchronized(mEventLock) {