Home
last modified time | relevance | path

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

123

/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.java86 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockTimeout() local
100 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockCallback() local
132 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockCallback_changeListener() local
193 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockCallback_nullListener() local
DHwBinderTest.java205 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.cpp107 std::unique_lock<std::mutex> lock{mMutex}; in pushToInputList() local
113 std::unique_lock<std::mutex> lock{mMutex}; in pushToOutputList() local
120 std::unique_lock<std::mutex> lock{mMutex}; in getInput() local
135 std::unique_lock<std::mutex> lock{mMutex}; in getOutput() local
150 std::unique_lock<std::mutex> lock{mMutex}; in getWork() local
170 std::unique_lock<std::mutex> lock{mMutex}; in isInputQueueEmpty() local
175 std::unique_lock<std::mutex> lock{mMutex}; in clearQueues() local
181 std::unique_lock<std::mutex> lock{mMutex}; in setOutputFormat() local
194 std::unique_lock<std::mutex> lock{mMutex}; in waitOnFormatChange() local
206 std::unique_lock<std::mutex> lock{mMutex}; in getOutputFormat() local
[all …]
/cts/tests/tests/libthermalndk/jni/
DNativeThermalTest.cpp79 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetCurrentThermalStatus() local
107 std::unique_lock<std::mutex> lock(ctx.mMutex); in testRegisterThermalStatusListener() local
169 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusRegisterNullListener() local
214 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusListenerDoubleRegistration() local
284 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroom() local
315 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroomThresholds() local
/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/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/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/src/android/app/appops/cts/
DUidStateForceActivity.kt27 private val lock = ReentrantLock() constant
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp71 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable() local
83 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable() local
96 std::lock_guard<std::mutex> lock(thiz->mMutex); in onCameraAccessPrioritiesChanged() local
108 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraAvailable() local
120 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraUnavailable() local
127 std::lock_guard<std::mutex> lock(mMutex); in resetCount() local
137 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount() local
142 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount() local
147 std::lock_guard<std::mutex> lock(mMutex); in getCameraAccessPrioritiesChangedCount() local
152 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/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/
Dandroid_virtualdevice_cts_camera_util_NativeCameraManager.cc107 std::lock_guard<std::mutex> lock(mLock); in ~AvailabilityCallbackProxy() local
120 std::lock_guard<std::mutex> lock(mLock); in invokeCallback() local
155 std::lock_guard<std::mutex> lock(mLock); in ~CameraManager() local
205 std::lock_guard<std::mutex> lock(mLock); in registerAvailabilityCallback() 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/hostsidetests/adpf/app/hintsession/src/cpp/
DJNIManager.cpp46 std::lock_guard lock(getInstance().mutex_); in sendConfigToNative() 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.java230 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

123