Home
last modified time | relevance | path

Searched refs:mFutex (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp51 : mServer(0), mFutex(0), mMinimum(0) in audio_track_cblk_t()
276 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in obtainBuffer()
283 (void) syscall(__NR_futex, &cblk->mFutex, in obtainBuffer()
372 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in binderDied()
374 (void) syscall(__NR_futex, &cblk->mFutex, mClientInServer ? FUTEX_WAKE_PRIVATE : FUTEX_WAKE, in binderDied()
383 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in interrupt()
384 (void) syscall(__NR_futex, &cblk->mFutex, mClientInServer ? FUTEX_WAKE_PRIVATE : FUTEX_WAKE, in interrupt()
534 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in waitStreamEndDone()
537 (void) syscall(__NR_futex, &cblk->mFutex, in waitStreamEndDone()
709 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in flushBufferIfNeeded()
[all …]
/frameworks/av/services/audioflinger/
DFastCapture.cpp227 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork()
230 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, 1); in onWork()
DTracks.cpp1406 android_atomic_release_store(0x40000000, &cblk->mFutex); in signalClientFlag()
1408 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in signalClientFlag()
2230 android_atomic_release_store(0x40000000, &cblk->mFutex); in invalidate()
2232 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in invalidate()
/frameworks/av/include/private/media/
DAudioTrackShared.h156 volatile int32_t mFutex; // event flag: down (P) by client, member