Home
last modified time | relevance | path

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

12

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java44 final Semaphore lock = new Semaphore(0); in testStateCallbacks() local
131 final Semaphore lock = new Semaphore(0); in testSetAndGetCallerDisplayName() local
146 final Semaphore lock = new Semaphore(0); in testSetAndGetAddress() local
161 final Semaphore lock = new Semaphore(0); in testSetAndGetConnectionCapabilities() local
178 final Semaphore lock = new Semaphore(0); in testSetAndGetConnectionProperties() local
194 final Semaphore lock = new Semaphore(0); in testSetAndGetDisconnectCause() local
213 final Semaphore lock = new Semaphore(0); in testSetAndGetAudioModeIsVoip() local
227 final Semaphore lock = new Semaphore(0); in testSetAndGetExtras() local
254 final Semaphore lock = new Semaphore(0); in testPutExtras() local
281 final Semaphore lock = new Semaphore(0); in testRemoveExtras() local
[all …]
DMockCallScreeningService.java38 public Semaphore lock = new Semaphore(0); field in MockCallScreeningService.CallScreeningServiceCallbacks
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_WakeLockTest.java84 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockTimeout() local
98 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockCallback() local
130 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockCallback_changeListener() local
191 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockCallback_nullListener() local
DHwBinderTest.java202 public Lock lock = new ReentrantLock(); field in HwBinderTest.ServiceNotification
/cts/apps/CtsVerifier/jni/megaaudio/common/
DOboeStream.cpp49 std::lock_guard<std::mutex> lock(mStreamLock); in teardownStream() local
72 std::lock_guard<std::mutex> lock(mStreamLock); in startStream() local
93 std::lock_guard<std::mutex> lock(mStreamLock); in stopStream() local
/cts/tests/media/jni/
DNativeCodecTestBase.cpp115 std::unique_lock<std::mutex> lock{mMutex}; in pushToInputList() local
121 std::unique_lock<std::mutex> lock{mMutex}; in pushToOutputList() local
128 std::unique_lock<std::mutex> lock{mMutex}; in getInput() local
143 std::unique_lock<std::mutex> lock{mMutex}; in getOutput() local
158 std::unique_lock<std::mutex> lock{mMutex}; in getWork() local
178 std::unique_lock<std::mutex> lock{mMutex}; in isInputQueueEmpty() local
183 std::unique_lock<std::mutex> lock{mMutex}; in clearQueues() local
189 std::unique_lock<std::mutex> lock{mMutex}; in setOutputFormat() local
200 std::unique_lock<std::mutex> lock{mMutex}; in getOutputFormat() local
205 std::unique_lock<std::mutex> lock{mMutex}; in hasOutputFormatChanged() local
[all …]
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp75 std::lock_guard<std::mutex> lock(mMutex); in getBufferFromCurrentImage() local
114 std::lock_guard<std::mutex> lock(mMutex); in handleImageAvailable() local
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/
DAppOpsForegroundControlForegroundService.kt29 private val lock = ReentrantLock() constant
DAppOpsForegroundControlLocationForegroundService.kt30 private val lock = ReentrantLock() constant
DAppOpsForegroundControlActivity.kt26 private val lock = ReentrantLock() constant
/cts/tests/tests/appop/AppThatCanBeForcedIntoForegroundStates/src/android/app/appops/cts/appthatcanbeforcedintoforegroundstates/
DAppOpsForegroundControlForegroundService.kt29 private val lock = ReentrantLock() constant
DAppOpsForegroundControlLocationForegroundService.kt30 private val lock = ReentrantLock() constant
DAppOpsForegroundControlActivity.kt26 private val lock = ReentrantLock() constant
/cts/tests/tests/appop/src/android/app/appops/cts/
DUidStateForceActivity.kt27 private val lock = ReentrantLock() constant
DHistoricalAppopsTest.kt518 val lock = ReentrantLock() in <lambda>() constant
593 val lock = ReentrantLock() in <lambda>() constant
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp69 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable() local
81 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable() local
94 std::lock_guard<std::mutex> lock(thiz->mMutex); in onCameraAccessPrioritiesChanged() local
106 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraAvailable() local
118 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraUnavailable() local
125 std::lock_guard<std::mutex> lock(mMutex); in resetCount() local
135 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount() local
140 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount() local
145 std::lock_guard<std::mutex> lock(mMutex); in getCameraAccessPrioritiesChangedCount() local
150 std::lock_guard<std::mutex> lock(mMutex); in getPhysicalCameraAvailableCount() local
[all …]
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DServiceControlUtils.java49 Object lock = new Object(); in waitForConditionWithServiceStateChange() local
/cts/tests/tests/libthermalndk/jni/
DNativeThermalTest.cpp106 std::unique_lock<std::mutex> lock(ctx.mMutex); in testRegisterThermalStatusListener() local
200 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusListenerDoubleRegistration() local
262 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroom() local
/cts/tests/tests/nativemedia/resourceobserver/src/
DResourceObserverNativeTest.cpp67 std::scoped_lock lock{mLock}; in onStatusChanged() local
79 std::unique_lock lock{mLock}; in waitForEvent() local
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/
DICtsSelfManagedConnectionServiceControl.aidl26 boolean waitForUpdate(int lock); in waitForUpdate()
/cts/tests/tests/display/src/android/display/cts/
DHdrConversionEnabledTest.java228 final Lock lock = new ReentrantLock(); in waitUntil() local
DDefaultDisplayModeTest.java380 final Lock lock = new ReentrantLock(); in waitUntil() local
/cts/hostsidetests/graphics/displaymode/app/src/com/android/cts/graphics/displaymode/
DBootDisplayModeTest.java194 final Lock lock = new ReentrantLock(); in waitUntil() local
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/
DConnectionServiceCallController.java51 public boolean waitForUpdate(int lock) { in waitForUpdate()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DInCallServiceStateValidator.java46 public Semaphore lock = new Semaphore(0); field in InCallServiceStateValidator.InCallServiceCallbacks

12