Home
last modified time | relevance | path

Searched refs:mutex (Results 1 – 8 of 8) 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()
364 std::mutex mWriteLock; // write lock - for blocking mode, prevents multiple
Daudio-record-native.cpp295 std::lock_guard<std::mutex> rl(mReadLock); in read()
420 std::mutex mReadLock; // read lock - for blocking mode, prevents multiple
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c1385 pthread_mutex_t *mutex; member
1397 pthread_mutex_t mutex; in FIXTURE_DATA() local
1426 pthread_mutex_init(&self->mutex, NULL); in FIXTURE_SETUP()
1432 self->sibling[0].mutex = &self->mutex; in FIXTURE_SETUP()
1440 self->sibling[1].mutex = &self->mutex; in FIXTURE_SETUP()
1464 pthread_mutex_destroy(&self->mutex); in FIXTURE_TEARDOWN()
1475 pthread_mutex_lock(me->mutex); in tsync_sibling()
1484 pthread_mutex_unlock(me->mutex); in tsync_sibling()
1488 pthread_cond_wait(me->cond, me->mutex); in tsync_sibling()
1492 pthread_mutex_unlock(me->mutex); in tsync_sibling()
[all …]
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.h65 pthread_mutex_t mutex;// = PTHREAD_MUTEX_INITIALIZER; member
Dsles.cpp83 pthread_mutex_lock(&(pSles->mutex)); in recorderCallback()
131 pthread_mutex_unlock(&(pSles->mutex)); in recorderCallback()
144 pthread_mutex_lock(&(pSles->mutex)); in playerCallback()
197 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