Home
last modified time | relevance | path

Searched refs:mRemaining (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java299 private long mRemaining; field in AssetFileDescriptor.NonSeekableAutoCloseInputStream
304 mRemaining = (int) fd.getLength(); in NonSeekableAutoCloseInputStream()
309 return mRemaining >= 0 in available()
310 ? (mRemaining < 0x7fffffff ? (int) mRemaining : 0x7fffffff) in available()
323 if (mRemaining >= 0) { in read()
324 if (mRemaining == 0) return -1; in read()
325 if (count > mRemaining) count = (int) mRemaining; in read()
327 if (res >= 0) mRemaining -= res; in read()
341 if (mRemaining >= 0) { in skip()
342 if (mRemaining == 0) return -1; in skip()
[all …]
/frameworks/av/media/libnbaio/
DSourceAudioBufferProvider.cpp28 mAllocated(NULL), mSize(0), mOffset(0), mRemaining(0), mGetCount(0), mFramesReleased(0) in SourceAudioBufferProvider()
52 if (mRemaining > 0) { in getNextBuffer()
53 ALOG_ASSERT(mOffset + mRemaining <= mSize); in getNextBuffer()
54 if (mRemaining < buffer->frameCount) { in getNextBuffer()
55 buffer->frameCount = mRemaining; in getNextBuffer()
80 mRemaining = actual; in getNextBuffer()
99 (mGetCount <= mRemaining) && in releaseBuffer()
100 (mOffset + mRemaining <= mSize)); in releaseBuffer()
102 mRemaining -= buffer->frameCount; in releaseBuffer()
/frameworks/av/media/libaaudio/src/flowgraph/
DRampLinear.cpp42 return mLevelTo - (mRemaining * mScaler); in interpolateCurrent()
55 mRemaining = mLengthInFrames; in onProcess()
61 if (mRemaining > 0) { // Ramping? This doesn't happen very often. in onProcess()
62 int32_t framesToRamp = std::min(framesLeft, mRemaining); in onProcess()
69 mRemaining--; in onProcess()
DRampLinear.h88 int32_t mRemaining = 0; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp442 mRemaining(0), in TimestretchBufferProvider()
477 if (pBuffer->frameCount <= mRemaining) { in getNextBuffer()
487 if (mRemaining != 0) { in getNextBuffer()
488 memcpy(newmem, mLocalBufferData, mRemaining * mFrameSize); in getNextBuffer()
497 const size_t outputDesired = pBuffer->frameCount - mRemaining; in getNextBuffer()
508 if (mRemaining == 0) { in getNextBuffer()
514 pBuffer->frameCount = mRemaining; in getNextBuffer()
520 dstAvailable = std::min(mLocalBufferFrameCount - mRemaining, outputDesired); in getNextBuffer()
522 processFrames((uint8_t*)mLocalBufferData + mRemaining * mFrameSize, &dstAvailable, in getNextBuffer()
531 mRemaining += dstAvailable; in getNextBuffer()
[all …]
/frameworks/av/media/libnbaio/include/media/nbaio/
DSourceAudioBufferProvider.h48 size_t mRemaining; // frame count within mAllocated of valid data variable
/frameworks/base/core/jni/android/opengl/
Dutil.cpp709 mRemaining = 0; in BufferHelper()
714 mData = getPointer(mEnv, mBuffer, &mRemaining); in checkPointer()
730 return mRemaining; in remaining()
737 jint mRemaining; member in android::BufferHelper
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h237 size_t mRemaining; // remaining data in local buffer variable
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt13486 Landroid/content/res/AssetFileDescriptor$AutoCloseInputStream;->mRemaining:J
13487 Landroid/content/res/AssetFileDescriptor$AutoCloseOutputStream;->mRemaining:J