/cts/tests/tests/media/libaudiojni/ |
D | Gate.h | 63 std::unique_lock<std::mutex> l(mLock); in wait() 76 std::lock_guard<std::mutex> l(mLock); in closeGate() 84 std::lock_guard<std::mutex> l(mLock); in openGate() 97 std::lock_guard<std::mutex> l(mLock); in terminate() 106 std::lock_guard<std::mutex> l(mLock); in isOpen() 112 std::lock_guard<std::mutex> l(mLock); in waiters() 122 std::mutex mLock;
|
D | audio-track-native.cpp | 281 std::lock_guard<std::mutex> rl(mWriteLock); in write() 363 std::mutex mWriteLock; // write lock - for blocking mode, prevents multiple
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8430/ |
D | poc.c | 97 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 167 pthread_mutex_lock(&mutex); in race_thread() 168 pthread_cond_wait(&cond, &mutex); in race_thread() 169 pthread_mutex_unlock(&mutex); in race_thread() 178 pthread_mutex_lock(&mutex); in race_thread_2() 179 pthread_cond_wait(&cond, &mutex); in race_thread_2() 180 pthread_mutex_unlock(&mutex); in race_thread_2()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8434/ |
D | poc.c | 84 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 118 pthread_mutex_lock(&mutex); in race_thread() 119 pthread_cond_wait(&cond, &mutex); in race_thread() 120 pthread_mutex_unlock(&mutex); in race_thread()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8429/ |
D | poc.c | 90 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 149 pthread_mutex_lock(&mutex); in race_thread() 150 pthread_cond_wait(&cond, &mutex); in race_thread() 151 pthread_mutex_unlock(&mutex); in race_thread()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 41 static std::mutex gLock; 57 std::unique_lock<std::mutex> mu(gLock); in ObjectAllocated() 86 std::unique_lock<std::mutex> mu(gLock); in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString() 94 std::unique_lock<std::mutex> mu(gLock); in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_ChoreographerNativeTest.cpp | 56 static std::mutex gLock; 83 std::lock_guard<std::mutex> _l(gLock); in frameCallback64() 94 std::lock_guard<std::mutex> _l(gLock); in refreshRateCallback() 101 std::lock_guard<std::mutex> _l(gLock); in refreshRateCallbackWithDisplayManager() 132 std::lock_guard<std::mutex> _l{gLock}; in verifyCallback() 154 std::lock_guard<std::mutex> _l(gLock); in verifyRefreshRateCallback() 171 std::lock_guard<std::mutex> _l(gLock); in resetRefreshRateCallback() 176 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_getChoreographer() 182 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_prepareChoreographerTests() 207 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallback64WithoutDelayEventuallyRunsCallback() [all …]
|
/cts/apps/CtsVerifier/jni/megaaudio/common/ |
D | OboeStream.cpp | 51 std::lock_guard<std::mutex> lock(mStreamLock); in teardownStream() 76 std::lock_guard<std::mutex> lock(mStreamLock); in startStream() 97 std::lock_guard<std::mutex> lock(mStreamLock); in stopStream()
|
D | OboeStream.h | 47 std::mutex mStreamLock;
|
/cts/tests/media/jni/ |
D | NativeCodecTestBase.cpp | 70 std::unique_lock<std::mutex> lock{mMutex}; in pushToInputList() 76 std::unique_lock<std::mutex> lock{mMutex}; in pushToOutputList() 83 std::unique_lock<std::mutex> lock{mMutex}; in getInput() 98 std::unique_lock<std::mutex> lock{mMutex}; in getOutput() 113 std::unique_lock<std::mutex> lock{mMutex}; in getWork() 133 std::unique_lock<std::mutex> lock{mMutex}; in isInputQueueEmpty() 138 std::unique_lock<std::mutex> lock{mMutex}; in clearQueues() 144 std::unique_lock<std::mutex> lock{mMutex}; in setOutputFormat() 155 std::unique_lock<std::mutex> lock{mMutex}; in getOutputFormat() 160 std::unique_lock<std::mutex> lock{mMutex}; in hasOutputFormatChanged() [all …]
|
D | NativeCodecTestBase.h | 61 std::mutex mMutex;
|
/cts/hostsidetests/jvmti/attaching/app/jni/ |
D | cts_agent.cpp | 31 static std::mutex gVectorMutex; 99 std::lock_guard<std::mutex> guard(gVectorMutex); in ClassPrepareCallback() 105 std::lock_guard<std::mutex> guard(gVectorMutex); in Java_android_jvmti_JvmtiActivity_didSeeLoadOf()
|
/cts/tests/tests/libthermalndk/jni/ |
D | NativeThermalTest.cpp | 45 std::mutex mMutex; 58 std::lock_guard<std::mutex> guard(ctx->mMutex); in onStatusChange() 106 std::unique_lock<std::mutex> lock(ctx.mMutex); in testRegisterThermalStatusListener() 200 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusListenerDoubleRegistration() 262 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroom()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 68 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable() 80 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable() 93 std::lock_guard<std::mutex> lock(thiz->mMutex); in onCameraAccessPrioritiesChanged() 105 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraAvailable() 117 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraUnavailable() 124 std::lock_guard<std::mutex> lock(mMutex); in resetCount() 134 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount() 139 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount() 144 std::lock_guard<std::mutex> lock(mMutex); in getCameraAccessPrioritiesChangedCount() 149 std::lock_guard<std::mutex> lock(mMutex); in getPhysicalCameraAvailableCount() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/ |
D | poc.cpp | 44 std::mutex &queueLock, std::condition_variable &queueCondition, 241 std::mutex mQueueLock; 253 std::mutex &queueLock, std::condition_variable &queueCondition, in workDone() 287 typedef std::unique_lock<std::mutex> ULock; in workDone() 299 std::mutex &queueLock, std::condition_variable &queueCondition, in decodeNFrames() 303 typedef std::unique_lock<std::mutex> ULock; in decodeNFrames() 402 void waitOnInputConsumption(std::mutex &queueLock, std::condition_variable &queueCondition, in waitOnInputConsumption() 405 typedef std::unique_lock<std::mutex> ULock; in waitOnInputConsumption()
|
/cts/tests/tests/graphics/jni/ |
D | ImageReaderTestHelpers.cpp | 75 std::lock_guard<std::mutex> lock(mMutex); in getBufferFromCurrentImage() 114 std::lock_guard<std::mutex> lock(mMutex); in handleImageAvailable()
|
D | ImageReaderTestHelpers.h | 50 std::mutex mMutex;
|
/cts/tests/tests/mediastress/jni/ |
D | native-media-jni.cpp | 95 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable 140 ok = pthread_mutex_lock(&mutex); in AndroidBufferQueueCallback() 192 ok = pthread_mutex_unlock(&mutex); in AndroidBufferQueueCallback()
|
/cts/tests/tests/media/libimagereaderjni/ |
D | AImageReaderCts.cpp | 326 std::lock_guard<std::mutex> lock(mMutex); in getAcquiredImageCount() 331 std::lock_guard<std::mutex> lock(mMutex); in HandleImageAvailable() 452 std::mutex mMutex;
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 696 pthread_mutex_t mutex; member 707 if (pthread_mutex_init(&ret->mutex, NULL) || in alloc_sync() 727 pthread_cond_wait(&sync->cond, &sync->mutex); in sync_pth_wait() 731 pthread_mutex_lock(&sync->mutex); in sync_wait() 736 pthread_mutex_unlock(&sync->mutex); in sync_wait() 740 pthread_mutex_lock(&sync->mutex); in sync_signal() 745 pthread_mutex_unlock(&sync->mutex); in sync_signal() 749 pthread_mutex_lock(&sync->mutex); in sync_done() 754 pthread_mutex_unlock(&sync->mutex); in sync_done() 758 pthread_mutex_lock(&sync->mutex); in sync_wait_done() [all …]
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | itest_impl.h | 75 std::mutex mCachedMutex; 82 std::unique_lock<std::mutex> l(mCachedMutex); in CacheCallingInfoFromOneway() 92 std::unique_lock<std::mutex> l(mCachedMutex); in GiveMeMyCallingPidFromOneway() 100 std::unique_lock<std::mutex> l(mCachedMutex); in GiveMeMyCallingUidFromOneway()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/ |
D | poc.c | 106 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | OboeRecorder.cpp | 41 std::lock_guard<std::mutex> lock(mStreamLock); in setupStream()
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | OboePlayer.cpp | 75 std::lock_guard<std::mutex> lock(mStreamLock); in setupStream()
|
/cts/tests/tests/nativemedia/resourceobserver/src/ |
D | ResourceObserverNativeTest.cpp | 90 std::mutex mLock;
|