/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
PipeShort.java | 23 private int mFront; 69 int avail = rear - mFront; 72 int oldFront = mFront; 73 mFront = rear - mMaxValues + (mMaxValues >> 4); 74 mBytesOverrun += mFront - oldFront; 97 int front = mFront & (mMaxValues - 1); 114 mFront += red; 120 mRear = mFront; 121 mVolatileRear = mFront;
|
/frameworks/av/media/libnbaio/ |
PipeReader.cpp | 30 mFront(android_atomic_acquire_load(&pipe.mRear)), 49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront 50 size_t avail = rear - mFront; 53 int32_t oldFront = mFront; 54 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4); 55 mFramesOverrun += (size_t) (mFront - oldFront); 73 size_t front = mFront & (mPipe.mMaxFrames - 1); 90 mFront += red;
|
MonoPipeReader.cpp | 41 ssize_t ret = android_atomic_acquire_load(&mPipe->mRear) - mPipe->mFront; 64 mPipe->updateFrontAndNRPTS(mPipe->mFront, nextReadPTS); 70 size_t front = mPipe->mFront & (mPipe->mMaxFrames - 1); 83 mPipe->updateFrontAndNRPTS(red + mPipe->mFront, nextReadPTS);
|
MonoPipe.cpp | 58 mFront(0), 112 ssize_t ret = mMaxFrames - (mRear - android_atomic_acquire_load(&mFront)); 260 // Update mFront and mNextRdPTS 261 mFront = newFront; 275 // Perform an atomic observation of mFront and mNextRdPTS. Basically, 290 *outFront = mFront;
|
NBLog.cpp | 276 : mSize(roundup(size)), mShared((const Shared *) shared), mFront(0) 282 mIMemory(iMemory), mFront(0) 289 size_t avail = rear - mFront; 296 mFront += lost; 300 size_t front = mFront & (mSize - 1); 317 mFront += read;
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
FlipDrawable.java | 45 protected final Drawable mFront; 56 * From 0f to END_VALUE. Determines the flip progress between mFront and mBack. 0f means 57 * mFront is fully shown, while END_VALUE means mBack is fully shown. 92 mFront = front; 95 mFront.setCallback(this); 123 mFront.setBounds(0, 0, 0, 0); 126 mFront.setBounds(bounds); 138 final Drawable inner = getSideShown() /* == front */ ? mFront : mBack; 168 mFront.setAlpha(alpha); 174 mFront.setColorFilter(cf) [all...] |
CheckableContactFlipDrawable.java | 57 mContactDrawable = (ContactDrawable) mFront;
|
/frameworks/av/include/media/nbaio/ |
PipeReader.h | 58 int32_t mFront; // follows behind mPipe.mRear
|
MonoPipe.h | 99 // writer to update and observe the values of mFront and mNextRdPTS in an 118 // mFront and mRear will never be separated by more than mMaxFrames. 121 volatile int32_t mFront; // written by the reader with updateFrontAndNRPTS, observed by
|
NBLog.h | 191 int32_t mFront; // index of oldest acknowledged Entry
|
/system/media/audio_utils/include/audio_utils/ |
fifo.h | 42 volatile int32_t mFront; // frame index of first frame slot available to read, or read index
|
/system/media/audio_utils/ |
fifo.c | 37 fifo->mFront = 0; 45 // Return a new index as the sum of an old index (either mFront or mRear) and a specified increment. 84 int32_t front = android_atomic_acquire_load(&fifo->mFront); 112 int32_t front = fifo->mFront; 130 android_atomic_release_store(audio_utils_fifo_sum(fifo, fifo->mFront, availToRead), 131 &fifo->mFront);
|
/frameworks/wilhelm/src/android/ |
BufferQueueSource.cpp | 75 assert(mAndroidBufferQueueSource->mFront != mAndroidBufferQueueSource->mRear); 77 AdvancedBufferHeader *oldFront = mAndroidBufferQueueSource->mFront; 114 mAndroidBufferQueueSource->mFront = newFront;
|
android_StreamPlayer.cpp | 146 assert(mAndroidBufferQueue->mFront != mAndroidBufferQueue->mRear); 148 oldFront = mAndroidBufferQueue->mFront; 228 mAndroidBufferQueue->mFront = newFront;
|
AudioRecorder_to_android.cpp | 256 assert(ar->mBufferQueue.mFront != ar->mBufferQueue.mRear); 258 BufferHeader *oldFront = ar->mBufferQueue.mFront; 278 ar->mBufferQueue.mFront = newFront;
|
AudioPlayer_to_android.cpp | 119 assert(ap->mBufferQueue.mFront != ap->mBufferQueue.mRear); 121 BufferHeader *oldFront = ap->mBufferQueue.mFront; 140 ap->mBufferQueue.mFront = newFront; [all...] |
/frameworks/wilhelm/src/itf/ |
I3DMacroscopic.c | 108 thiz->mOrientationVectors.mFront = front; 164 SLVec3D front = thiz->mOrientationVectors.mFront; 222 thiz->mOrientationVectors.mFront.x = 0; 223 thiz->mOrientationVectors.mFront.y = 0; 224 thiz->mOrientationVectors.mFront.z = -1000;
|
IBufferQueue.c | 62 if (newRear == thiz->mFront) { 94 thiz->mFront = &thiz->mArray[0]; 185 thiz->mFront = NULL;
|
IAndroidBufferQueue.c | 270 thiz->mFront = &thiz->mBufferArray[0]; 367 } else if (newRear == thiz->mFront) { 483 thiz->mFront = NULL; 529 SL_LOGI(" mBufferArray=%p, mFront=%p (%u), mRear=%p (%u)", 531 thiz->mFront, thiz->mFront - thiz->mBufferArray, 535 for (hdr = thiz->mFront; hdr != thiz->mRear; ) {
|
IOutputMixExt.c | 73 audioPlayer->mBufferQueue.mFront = &audioPlayer->mBufferQueue.mArray[0]; 108 oldFront = audioPlayer->mBufferQueue.mFront; 135 oldFront = audioPlayer->mBufferQueue.mFront; 276 oldFront = bufferQueue->mFront; 284 bufferQueue->mFront = (BufferHeader *) newFront;
|
I3DLocation.c | 176 thiz->mOrientationVectors.mFront = front; 251 SLVec3D front = thiz->mOrientationVectors.mFront;
|
IEngine.c | 42 ap->mBufferQueue.mFront = ap->mBufferQueue.mArray; 86 ap->mAndroidBufferQueue.mFront = ap->mAndroidBufferQueue.mBufferArray; 520 thiz->mBufferQueue.mFront = thiz->mBufferQueue.mArray; [all...] |
/frameworks/av/media/libmedia/ |
AudioTrackShared.cpp | 140 // The barrier following the read of mFront is probably redundant. 142 // which will force the processor to observe the read of mFront 147 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); 152 front = cblk->u.mStreaming.mFront; 166 cblk->u.mStreaming.mFront = rear; 315 int32_t front = cblk->u.mStreaming.mFront; 316 android_atomic_release_store(stepCount + front, &cblk->u.mStreaming.mFront); 344 return (mFrameCountP2 - (mIsOut ? cblk->u.mStreaming.mRear : cblk->u.mStreaming.mFront)) & 354 front = android_atomic_acquire_load(&cblk->u.mStreaming.mFront); 358 front = cblk->u.mStreaming.mFront; [all...] |
/frameworks/wilhelm/src/ |
itfstruct.h | 138 SLVec3D mFront; 163 SLVec3D mFront; 237 BufferHeader *mFront, *mRear; 676 AdvancedBufferHeader *mFront, *mRear;
|
/frameworks/av/include/private/media/ |
AudioTrackShared.h | 57 volatile int32_t mFront; // read by consumer (output: server, input: client) 60 // server notices and discards all data between mFront and mRear
|