Searched refs:CBLK_FUTEX_WAKE (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 220 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in obtainBuffer() 221 if (!(old & CBLK_FUTEX_WAKE)) { in obtainBuffer() 228 mClientInServer ? FUTEX_WAIT_PRIVATE : FUTEX_WAIT, old & ~CBLK_FUTEX_WAKE, ts); in obtainBuffer() 310 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in binderDied() 321 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in interrupt() 457 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in waitStreamEndDone() 458 if (!(old & CBLK_FUTEX_WAKE)) { in waitStreamEndDone() 461 mClientInServer ? FUTEX_WAIT_PRIVATE : FUTEX_WAIT, old & ~CBLK_FUTEX_WAKE, ts); in waitStreamEndDone() 571 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in obtainBuffer() 572 if (!(old & CBLK_FUTEX_WAKE)) { in obtainBuffer() [all …]
|
/frameworks/av/services/audioflinger/ |
D | FastCapture.cpp | 203 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork() 204 if (!(old & CBLK_FUTEX_WAKE)) { in onWork()
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 106 #define CBLK_FUTEX_WAKE 1 // if event flag bit is set, then a deferred wake is pending macro
|