Searched refs:mFutex (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 49 : 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/ |
D | FastCapture.cpp | 204 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()
|
D | Tracks.cpp | 1072 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/ |
D | AudioTrackShared.h | 154 volatile int32_t mFutex; // event flag: down (P) by client, member
|