Home
last modified time | relevance | path

Searched refs:mCachedSize (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/
DCallbackDataSource.cpp117 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource()
132 && offset < (off64_t) (mCachedOffset + mCachedSize)) { in readAt()
133 if (offset + size <= mCachedOffset + mCachedSize) { in readAt()
142 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt()
158 mCachedSize = 0; in readAt()
164 mCachedSize = 0; in readAt()
169 mCachedSize = numRead; in readAt()
171 CHECK(mCachedSize <= kCacheSize && mCachedOffset >= 0); in readAt()
190 mCachedSize = 0; in DrmInitialization()
DMPEG4Extractor.cpp198 size_t mCachedSize; member
210 mCachedSize(0), in MPEG4DataSource()
225 mCachedSize = 0; in clearCache()
235 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt()
263 mCachedSize = size; in setCachedRange()
265 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize); in setCachedRange()
/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp36 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { in JMediaDataSource()
120 *size = mCachedSize; in getSize()
141 mCachedSize = *size; in getSize()
Dandroid_media_MediaDataSource.h62 off64_t mCachedSize; variable
/frameworks/av/media/libstagefright/http/
DMediaHTTP.cpp36 mCachedSize(0ll), in MediaHTTP()
134 mCachedSize = mHTTPConnection->getSize(); in getSize()
138 *size = mCachedSize; in getSize()
/frameworks/av/include/media/stagefright/
DMediaHTTP.h65 off64_t mCachedSize; member
/frameworks/av/media/libstagefright/include/
DCallbackDataSource.h85 size_t mCachedSize; variable