Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java206 private long mRemaining; field in AssetFileDescriptor.AutoCloseInputStream
211 mRemaining = (int)fd.getLength(); in AutoCloseInputStream()
216 return mRemaining >= 0 in available()
217 ? (mRemaining < 0x7fffffff ? (int)mRemaining : 0x7fffffff) in available()
230 if (mRemaining >= 0) { in read()
231 if (mRemaining == 0) return -1; in read()
232 if (count > mRemaining) count = (int)mRemaining; in read()
234 if (res >= 0) mRemaining -= res; in read()
248 if (mRemaining >= 0) { in skip()
249 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.cpp43 return mLevelTo - (mRemaining * mScaler); in interpolateCurrent()
57 mRemaining = mLengthInFrames; in onProcess()
59 __func__, mLevelFrom, mLevelTo, mRemaining, mScaler); in onProcess()
65 if (mRemaining > 0) { // Ramping? This doesn't happen very often. in onProcess()
66 int32_t framesToRamp = std::min(framesLeft, mRemaining); in onProcess()
73 mRemaining--; in onProcess()
DRampLinear.h79 int32_t mRemaining = 0; variable
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp411 mRemaining(0), in TimestretchBufferProvider()
446 if (pBuffer->frameCount <= mRemaining) { in getNextBuffer()
456 if (mRemaining != 0) { in getNextBuffer()
457 memcpy(newmem, mLocalBufferData, mRemaining * mFrameSize); in getNextBuffer()
466 const size_t outputDesired = pBuffer->frameCount - mRemaining; in getNextBuffer()
477 if (mRemaining == 0) { in getNextBuffer()
483 pBuffer->frameCount = mRemaining; in getNextBuffer()
489 dstAvailable = std::min(mLocalBufferFrameCount - mRemaining, outputDesired); in getNextBuffer()
491 processFrames((uint8_t*)mLocalBufferData + mRemaining * mFrameSize, &dstAvailable, in getNextBuffer()
500 mRemaining += dstAvailable; in getNextBuffer()
[all …]
/frameworks/ex/framesequence/jni/
DStream.cpp104 return mRemaining; in getRawBufferSize()
111 size = min(size, mRemaining); in doRead()
114 mRemaining -= size; in doRead()
DStream.h48 mRemaining(size), in MemoryStream()
59 size_t mRemaining; variable
/frameworks/av/include/media/nbaio/
DSourceAudioBufferProvider.h48 size_t mRemaining; // frame count within mAllocated of valid data variable
/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.cpp796 mRemaining = 0; in BufferHelper()
801 mData = getPointer(mEnv, mBuffer, &mRemaining); in checkPointer()
817 return mRemaining; in remaining()
824 jint mRemaining; member in android::BufferHelper
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h214 size_t mRemaining; // remaining data in local buffer variable
/frameworks/av/include/media/
DBufferProviders.h214 size_t mRemaining; // remaining data in local buffer variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17499 Landroid/content/res/AssetFileDescriptor$AutoCloseInputStream;->mRemaining:J
17500 Landroid/content/res/AssetFileDescriptor$AutoCloseOutputStream;->mRemaining:J