Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/libaudiojni/
DGate.h63 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;
Daudio-track-native.cpp281 std::lock_guard<std::mutex> rl(mWriteLock); in write()
363 std::mutex mWriteLock; // write lock - for blocking mode, prevents multiple
Daudio-record-native.cpp299 std::lock_guard<std::mutex> rl(mReadLock); in read()
423 std::mutex mReadLock; // read lock - for blocking mode, prevents multiple
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp44 static std::mutex gLock;
51 std::lock_guard<std::mutex> _l(gLock); in frameCallback()
77 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_getChoreographer()
83 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_prepareChoreographerTests()
99 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
115 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback()
133 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
139 std::lock_guard<std::mutex> _l{gLock}; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp55 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable()
67 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable()
74 std::lock_guard<std::mutex> lock(mMutex); in resetCount()
81 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount()
86 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount()
91 std::lock_guard<std::mutex> lock(mMutex); in isAvailable()
99 std::mutex mMutex;
113 std::lock_guard<std::mutex> lock(thiz->mMutex); in onDisconnected()
124 std::lock_guard<std::mutex> lock(thiz->mMutex); in onError()
131 std::mutex mMutex;
[all …]
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c1409 pthread_mutex_t *mutex; member
1421 pthread_mutex_t mutex; in FIXTURE_DATA() local
1450 pthread_mutex_init(&self->mutex, NULL); in FIXTURE_SETUP()
1456 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
1464 self->sibling[1].mutex = &self->mutex; in FIXTURE_SETUP()
1488 pthread_mutex_destroy(&self->mutex); in FIXTURE_TEARDOWN()
1499 pthread_mutex_lock(me->mutex); in tsync_sibling()
1508 pthread_mutex_unlock(me->mutex); in tsync_sibling()
1512 pthread_cond_wait(me->cond, me->mutex); in tsync_sibling()
1516 pthread_mutex_unlock(me->mutex); in tsync_sibling()
[all …]
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.h66 pthread_mutex_t mutex;// = PTHREAD_MUTEX_INITIALIZER; member
Dsles.cpp85 pthread_mutex_lock(&(pSles->mutex)); in recorderCallback()
144 pthread_mutex_unlock(&(pSles->mutex)); in recorderCallback()
157 pthread_mutex_lock(&(pSles->mutex)); in playerCallback()
210 pthread_mutex_unlock(&(pSles->mutex)); in playerCallback()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp95 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/tools/dex-tools/dex/
Dclasses0.out.dex42640 final java.lang.Object mutex
42766 final java.lang.Object mutex