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.java62 private final Semaphore[] mEventLock = initializeSemaphore(TOTAL_EVENT); field in MockConnectionService
113 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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java423 private final Object mEventLock = new Object(); field in ItsService
1436 synchronized(mEventLock) {
1458 synchronized(mEventLock) {
4277 synchronized(mEventLock) {