Home
last modified time | relevance | path

Searched refs:CBLK_FUTEX_WAKE (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp276 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in obtainBuffer()
277 if (!(old & CBLK_FUTEX_WAKE)) { in obtainBuffer()
284 mClientInServer ? FUTEX_WAIT_PRIVATE : FUTEX_WAIT, old & ~CBLK_FUTEX_WAKE, ts); in obtainBuffer()
372 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in binderDied()
383 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in interrupt()
534 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in waitStreamEndDone()
535 if (!(old & CBLK_FUTEX_WAKE)) { in waitStreamEndDone()
538 mClientInServer ? FUTEX_WAIT_PRIVATE : FUTEX_WAIT, old & ~CBLK_FUTEX_WAKE, ts); in waitStreamEndDone()
709 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in flushBufferIfNeeded()
710 if (!(old & CBLK_FUTEX_WAKE)) { in flushBufferIfNeeded()
[all …]
/frameworks/av/services/audioflinger/
DFastCapture.cpp227 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork()
228 if (!(old & CBLK_FUTEX_WAKE)) { in onWork()
/frameworks/av/include/private/media/
DAudioTrackShared.h158 #define CBLK_FUTEX_WAKE 1 // if event flag bit is set, then a deferred wake is pending macro