/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | ConnectionTest.java | 44 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 …]
|
D | MockCallScreeningService.java | 38 public Semaphore lock = new Semaphore(0); field in MockCallScreeningService.CallScreeningServiceCallbacks
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_WakeLockTest.java | 86 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
|
D | HwBinderTest.java | 205 public Lock lock = new ReentrantLock(); field in HwBinderTest.ServiceNotification
|
/cts/apps/CtsVerifier/jni/megaaudio/common/ |
D | OboeStream.cpp | 49 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/ |
D | NativeCodecTestBase.cpp | 107 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/ |
D | NativeThermalTest.cpp | 79 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/ |
D | ImageReaderTestHelpers.cpp | 75 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/ |
D | AppOpsForegroundControlForegroundService.kt | 29 private val lock = ReentrantLock() constant
|
D | AppOpsForegroundControlLocationForegroundService.kt | 30 private val lock = ReentrantLock() constant
|
D | AppOpsForegroundControlActivity.kt | 26 private val lock = ReentrantLock() constant
|
/cts/tests/tests/appop/AppForDiscreteTest/src/android/app/appops/cts/appfordiscretetest/ |
D | AppOpsForegroundControlForegroundService.kt | 29 private val lock = ReentrantLock() constant
|
D | AppOpsForegroundControlLocationForegroundService.kt | 30 private val lock = ReentrantLock() constant
|
D | AppOpsForegroundControlActivity.kt | 26 private val lock = ReentrantLock() constant
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | UidStateForceActivity.kt | 27 private val lock = ReentrantLock() constant
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 71 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/ |
D | ServiceControlUtils.java | 49 Object lock = new Object(); in waitForConditionWithServiceStateChange() local
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/jni/ |
D | android_virtualdevice_cts_camera_util_NativeCameraManager.cc | 107 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/ |
D | ResourceObserverNativeTest.cpp | 67 std::scoped_lock lock{mLock}; in onStatusChanged() local 79 std::unique_lock lock{mLock}; in waitForEvent() local
|
/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | JNIManager.cpp | 46 std::lock_guard lock(getInstance().mutex_); in sendConfigToNative() local
|
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/ |
D | ICtsSelfManagedConnectionServiceControl.aidl | 26 boolean waitForUpdate(int lock); in waitForUpdate()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | HdrConversionEnabledTest.java | 230 final Lock lock = new ReentrantLock(); in waitUntil() local
|
/cts/hostsidetests/graphics/displaymode/app/src/com/android/cts/graphics/displaymode/ |
D | BootDisplayModeTest.java | 194 final Lock lock = new ReentrantLock(); in waitUntil() local
|
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/ |
D | ConnectionServiceCallController.java | 51 public boolean waitForUpdate(int lock) { in waitForUpdate()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | InCallServiceStateValidator.java | 46 public Semaphore lock = new Semaphore(0); field in InCallServiceStateValidator.InCallServiceCallbacks
|