Home
last modified time | relevance | path

Searched refs:lock (Results 1 – 25 of 25) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java40 final Semaphore lock = new Semaphore(0); in testStateCallbacks() local
41 Connection connection = createConnection(lock); in testStateCallbacks()
43 waitForStateChange(lock); in testStateCallbacks()
47 waitForStateChange(lock); in testStateCallbacks()
51 waitForStateChange(lock); in testStateCallbacks()
55 waitForStateChange(lock); in testStateCallbacks()
59 waitForStateChange(lock); in testStateCallbacks()
63 waitForStateChange(lock); in testStateCallbacks()
67 waitForStateChange(lock); in testStateCallbacks()
72 waitForStateChange(lock); in testStateCallbacks()
[all …]
DMockConnectionService.java46 public Semaphore lock = new Semaphore(0); field in MockConnectionService
67 lock.release(); in onCreateOutgoingConnection()
80 lock.release(); in onCreateIncomingConnection()
92 lock.release(); in onConference()
DBaseTelecomTestWithMockServices.java169 this.lock.release(); in setupCallbacks()
178 this.lock.release(); in setupCallbacks()
183 this.lock.release(); in setupCallbacks()
236 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in addAndVerifyNewIncomingCall()
249 if (!mInCallCallbacks.lock.tryAcquire(3, TimeUnit.SECONDS)) { in addAndVerifyNewIncomingCall()
292 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in placeAndVerifyCall()
300 if (!mInCallCallbacks.lock.tryAcquire(3, TimeUnit.SECONDS)) { in placeAndVerifyCall()
319 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCall()
340 if (!connectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForIncomingCall()
361 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in setAndVerifyConferenceablesForOutgoingConnection()
[all …]
DBaseRemoteTelecomTest.java111 if (!remoteConnectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForOutgoingCallOnRemoteCS()
134 if (!remoteConnectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConnectionForIncomingCallOnRemoteCS()
152 assertEquals("Lock should have no permits!", 0, mInCallCallbacks.lock.availablePermits()); in setAndVerifyConferenceablesForOutgoingConnectionOnRemoteCS()
172 if (!remoteConnectionService.lock.tryAcquire(TestUtils.WAIT_FOR_STATE_CHANGE_TIMEOUT_MS, in verifyConferenceForOutgoingCallOnRemoteCS()
DBasicInCallServiceTest.java80 if (callbacks.lock.tryAcquire(3, TimeUnit.SECONDS)) { in testTelephonyCall_bindsToInCallServiceAndAddsCall()
95 lock.release(); in createCallbacks()
DConnectionServiceTest.java56 mInCallCallbacks.lock.drainPermits(); in testAddExistingConnection()
82 mInCallCallbacks.lock.drainPermits(); in testGetAllConnections()
DCallDetailsTest.java91 lock.release(); in setUp()
DRemoteConferenceTest.java494 lock.release(); in addRemoteConnectionOutgoingCalls()
523 lock.release(); in addRemoteConnectionOutgoingCalls()
DMockInCallService.java46 public Semaphore lock = new Semaphore(0); field in MockInCallService.InCallServiceCallbacks
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java118 mLock.lock(); in onInit()
129 mLock.lock(); in waitForInit()
157 mLock.lock(); in onDone()
168 mLock.lock(); in onError()
179 mLock.lock(); in onError()
190 mLock.lock(); in onStart()
200 mLock.lock(); in onStop()
212 mLock.lock(); in waitForComplete()
229 mLock.lock(); in waitForStop()
/cts/tests/tests/nativeopengl/standalone/jni/tests/
DEGLCleanup_test.cpp89 lock(); in start()
97 lock(); in waitForEnd()
153 bool lock() { in lock() function in android::ChainedThread
171 lock(); in doWork()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp127 android::Mutex::Autolock lock(handler->mStateLock); in handlePacket() local
166 handler->mStateLock.lock(); in waitForPlaybackOrRecordingCompletion()
182 handler->mStateLock.lock(); in doStop()
201 handler->mStateLock.lock(); in downloadData()
235 handler->mStateLock.lock(); in startPlayback()
280 handler->mStateLock.lock(); in startRecording()
314 handler->mStateLock.lock(); in getDeviceInfo()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java91 mImageReaderLock.lock(); in setUp()
104 mImageReaderLock.lock(); in tearDown()
352 mImageReaderLock.lock(); in onImageAvailable()
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java96 mClientLock.lock(); in stop()
180 mClientLock.lock(); in reset()
456 mClientLock.lock(); in sendReplyWithData()
516 mClientLock.lock(); in run()
/cts/suite/audio_quality/lib/src/
DFileUtil.cpp113 android::Mutex::Autolock lock(mWriteLock); in doVprintf() local
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py62 def lock( device ): member in Power_Monitor
129 self._lockfile = Power_Monitor.lock( device )
200 lockfile = Power_Monitor.lock( dev )
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java602 mCamera.lock(); in init()
617 mCamera.lock(); in end()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1739 mLock.lock(); in onClosed()
1747 mLock.lock(); in onConfigured()
1767 mLock.lock(); in getAllSessions()
1790 mLock.lock(); in waitForSessionClose()
/cts/tests/tests/widget/src/android/widget/cts/
DSlidingDrawerTest.java243 drawer.lock(); in testLockAndUnlock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/
DCameraVideoActivity.java283 mCamera.lock(); // check here, lock camera for later use in releaseMediaRecorder()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java1159 mCamera.lock(); // Locking again from the same process has no effect. in testLockUnlockByCamera()
1178 mCamera.lock(); // should not fail in testLockUnlockByCamera()
2616 mCamera.lock();
3074 mCamera.lock();
/cts/tools/signature-tools/lib/
Dantlr-2.7.7.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js1131 lock: function() { method
1257 }, failList.disable, progressList.lock ).fail( function() {
1259 }, doneList.disable, progressList.lock );
/cts/tools/dex-tools/dex/
Dclasses0.out.dex842 static java.lang.Object lock
9409 protected java.lang.Object lock
9526 protected java.lang.Object lock
22881 private java.lang.Object lock
26070 private java.lang.Object lock
30089 public final java.nio.channels.FileLock lock()
30091 public abstract java.nio.channels.FileLock lock(
48285 final java.lang.Object lock
49599 private static java.lang.Object lock
49841 private final java.util.concurrent.locks.ReentrantLock lock
[all …]
/cts/suite/cts/deviceTests/browserbench/assets/octane/css/
Dbootstrap.css1607 .icon-lock {