/cts/hostsidetests/adpf/app/hintsession/src/cpp/external/ |
D | android_native_app_glue.c | 40 pthread_mutex_lock(&android_app->mutex); in free_saved_state() 46 pthread_mutex_unlock(&android_app->mutex); in free_saved_state() 92 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 103 pthread_mutex_unlock(&android_app->mutex); in android_app_pre_exec_cmd() 108 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 111 pthread_mutex_unlock(&android_app->mutex); in android_app_pre_exec_cmd() 124 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 127 pthread_mutex_unlock(&android_app->mutex); in android_app_pre_exec_cmd() 148 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd() 151 pthread_mutex_unlock(&android_app->mutex); in android_app_post_exec_cmd() [all …]
|
D | android_native_app_glue.h | 166 pthread_mutex_t mutex; member
|
/cts/tests/tests/media/audio/jni/ |
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;
|
/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/tests/tests/libthermalndk/jni/ |
D | NativeThermalTest.cpp | 45 std::mutex mMutex; 58 std::lock_guard<std::mutex> guard(ctx->mMutex); in onStatusChange() 79 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetCurrentThermalStatus() 107 std::unique_lock<std::mutex> lock(ctx.mMutex); in testRegisterThermalStatusListener() 169 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusRegisterNullListener() 214 std::unique_lock<std::mutex> lock(ctx.mMutex); in testThermalStatusListenerDoubleRegistration() 284 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroom() 315 std::unique_lock<std::mutex> lock(ctx.mMutex); in testGetThermalHeadroomThresholds()
|
/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() 120 std::lock_guard<std::mutex> lock(mLock); in invokeCallback() 144 mutable std::mutex mLock; 155 std::lock_guard<std::mutex> lock(mLock); in ~CameraManager() 205 std::lock_guard<std::mutex> lock(mLock); in registerAvailabilityCallback() 212 std::mutex mLock;
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 41 static std::mutex gLock; 54 std::unique_lock<std::mutex> mu(gLock); in RecordAllocationEvent() 121 std::unique_lock<std::mutex> mu(gLock); in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString() 129 std::unique_lock<std::mutex> mu(gLock); in Java_android_jvmti_cts_JvmtiTrackingTest_getAndResetAllocationTrackingString()
|
/cts/apps/CtsVerifier/jni/megaaudio/common/ |
D | OboeStream.cpp | 49 std::lock_guard<std::mutex> lock(mStreamLock); in teardownStream() 72 std::lock_guard<std::mutex> lock(mStreamLock); in startStream() 93 std::lock_guard<std::mutex> lock(mStreamLock); in stopStream()
|
D | OboeStream.h | 59 std::mutex mStreamLock;
|
/cts/tests/surfacecontrol/jni/ |
D | android_view_surfacecontrol_cts_ChoreographerNativeTest.cpp | 71 std::lock_guard<std::mutex> _l(gLock); in refreshRateCallback() 78 std::lock_guard<std::mutex> _l(gLock); in refreshRateCallbackWithDisplayManager() 100 std::lock_guard<std::mutex> _l(gLock); in verifyRefreshRateCallback() 117 std::lock_guard<std::mutex> _l(gLock); in resetRefreshRateCallback() 122 std::lock_guard<std::mutex> _l{gLock}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_getChoreographer() 128 std::lock_guard<std::mutex> _l{gLock}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_prepareChoreographerTests() 154 std::lock_guard<std::mutex> _l{gLock}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostVsyncCallbackWithoutDelayEventuallyRunsCallback() 177 std::lock_guard<std::mutex> _l{gLock}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataVsyncIdValid() 199 std::lock_guard<std::mutex> _l{gLock}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture() 239 std::lock_guard<std::mutex> _l{gLock}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataExpectedPresentTimeInFuture() [all …]
|
D | ChoreographerTestUtils.h | 56 static std::mutex gLock; 104 std::lock_guard<std::mutex> _l(gLock); in vsyncCallback() 135 std::lock_guard<std::mutex> _l{gLock}; in verifyCallback()
|
/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/media/jni/ |
D | NativeCodecTestBase.cpp | 107 std::unique_lock<std::mutex> lock{mMutex}; in pushToInputList() 113 std::unique_lock<std::mutex> lock{mMutex}; in pushToOutputList() 120 std::unique_lock<std::mutex> lock{mMutex}; in getInput() 135 std::unique_lock<std::mutex> lock{mMutex}; in getOutput() 150 std::unique_lock<std::mutex> lock{mMutex}; in getWork() 170 std::unique_lock<std::mutex> lock{mMutex}; in isInputQueueEmpty() 175 std::unique_lock<std::mutex> lock{mMutex}; in clearQueues() 181 std::unique_lock<std::mutex> lock{mMutex}; in setOutputFormat() 194 std::unique_lock<std::mutex> lock{mMutex}; in waitOnFormatChange() 206 std::unique_lock<std::mutex> lock{mMutex}; in getOutputFormat() [all …]
|
/cts/hostsidetests/gwp_asan/common/jni/ |
D | gwp_asan_cts_library.cpp | 36 static std::mutex gwp_asan_ranges_mutex; in get_gwp_asan_ranges() 39 std::lock_guard<std::mutex> l(gwp_asan_ranges_mutex); in get_gwp_asan_ranges()
|
/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/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 71 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable() 83 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable() 96 std::lock_guard<std::mutex> lock(thiz->mMutex); in onCameraAccessPrioritiesChanged() 108 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraAvailable() 120 std::lock_guard<std::mutex> lock(thiz->mMutex); in onPhysicalCameraUnavailable() 127 std::lock_guard<std::mutex> lock(mMutex); in resetCount() 137 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount() 142 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount() 147 std::lock_guard<std::mutex> lock(mMutex); in getCameraAccessPrioritiesChangedCount() 152 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/hostsidetests/adpf/app/hintsession/src/cpp/ |
D | JNIManager.h | 70 std::mutex mutex_;
|
/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/misc/jni/ |
D | AImageReaderCts.cpp | 321 std::lock_guard<std::mutex> lock(mMutex); in getAcquiredImageCount() 326 std::lock_guard<std::mutex> lock(mMutex); in HandleImageAvailable() 456 std::mutex mMutex;
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 697 pthread_mutex_t mutex; member 708 if (pthread_mutex_init(&ret->mutex, NULL) || in alloc_sync() 728 pthread_cond_wait(&sync->cond, &sync->mutex); in sync_pth_wait() 732 pthread_mutex_lock(&sync->mutex); in sync_wait() 737 pthread_mutex_unlock(&sync->mutex); in sync_wait() 741 pthread_mutex_lock(&sync->mutex); in sync_signal() 746 pthread_mutex_unlock(&sync->mutex); in sync_signal() 750 pthread_mutex_lock(&sync->mutex); in sync_done() 755 pthread_mutex_unlock(&sync->mutex); in sync_done() 759 pthread_mutex_lock(&sync->mutex); in sync_wait_done() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8428/ |
D | poc.c | 106 static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; variable
|