Home
last modified time | relevance | path

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

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockConnectionService.java61 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT); field in MockConnectionService
107 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java246 private volatile Object mEventLock = new Object(); field in ItsService
949 synchronized(mEventLock) {
969 synchronized(mEventLock) {
1925 synchronized(mEventLock) {