Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/include/media/
DSingleStateQueue.h48 void init() { mAck = 0; mSequence = 0; } in init()
50 volatile int32_t mAck; member
90 const int32_t ack = android_atomic_acquire_load(&mShared->mAck); in ack()
99 return mShared->mAck - sequence >= 0; in ack()
144 shared->mAck = before; in poll()
160 const int32_t ack = mShared->mAck + 1; in done()
162 android_atomic_release_store(ack, &mShared->mAck); // mSequence is odd after "done" in done()
/frameworks/av/include/media/
DSingleStateQueue.h48 void init() { mAck = 0; mSequence = 0; } in init()
50 volatile int32_t mAck; member
90 const int32_t ack = android_atomic_acquire_load(&mShared->mAck); in ack()
99 return mShared->mAck - sequence >= 0; in ack()
144 shared->mAck = before; in poll()
160 const int32_t ack = mShared->mAck + 1; in done()
162 android_atomic_release_store(ack, &mShared->mAck); // mSequence is odd after "done" in done()
/frameworks/av/services/audioflinger/
DStateQueue.cpp44 mAck(NULL), mCurrent(NULL), in StateQueue()
65 mAck = next; // no additional barrier needed in poll()
120 const T *ack = (const T *) mAck; // no additional barrier needed in push()
164 const T *ack = (const T *) mAck; // no additional barrier needed in push()
DStateQueue.h192 volatile const T* mAck; // written by observer to acknowledge advance of next, read by mutator variable