Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioTrackShared.cpp49 : mServer(0), mFutex(0), mMinimum(0) in audio_track_cblk_t()
273 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in obtainBuffer()
280 (void) syscall(__NR_futex, &cblk->mFutex, in obtainBuffer()
365 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in binderDied()
367 (void) syscall(__NR_futex, &cblk->mFutex, mClientInServer ? FUTEX_WAKE_PRIVATE : FUTEX_WAKE, in binderDied()
376 android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in interrupt()
377 (void) syscall(__NR_futex, &cblk->mFutex, mClientInServer ? FUTEX_WAKE_PRIVATE : FUTEX_WAKE, in interrupt()
495 int32_t old = android_atomic_and(~CBLK_FUTEX_WAKE, &cblk->mFutex); in waitStreamEndDone()
498 (void) syscall(__NR_futex, &cblk->mFutex, in waitStreamEndDone()
664 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in flushBufferIfNeeded()
[all …]
/frameworks/av/services/audioflinger/
DFastCapture.cpp204 int32_t old = android_atomic_or(CBLK_FUTEX_WAKE, &cblk->mFutex); in onWork()
207 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, 1); in onWork()
DTracks.cpp1072 android_atomic_release_store(0x40000000, &cblk->mFutex); in signalClientFlag()
1074 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in signalClientFlag()
1618 android_atomic_release_store(0x40000000, &cblk->mFutex); in invalidate()
1620 (void) syscall(__NR_futex, &cblk->mFutex, FUTEX_WAKE, INT_MAX); in invalidate()
/frameworks/av/include/private/media/
DAudioTrackShared.h154 volatile int32_t mFutex; // event flag: down (P) by client, member