Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DCallbackDataSource.cpp121 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource()
136 && offset < (off64_t) (mCachedOffset + mCachedSize)) { in readAt()
137 if (offset + size <= mCachedOffset + mCachedSize) { in readAt()
146 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt()
162 mCachedSize = 0; in readAt()
168 mCachedSize = 0; in readAt()
173 mCachedSize = numRead; in readAt()
175 CHECK(mCachedSize <= kCacheSize && mCachedOffset >= 0); in readAt()
194 mCachedSize = 0; in DrmInitialization()
DMPEG4Extractor.cpp205 size_t mCachedSize; member
217 mCachedSize(0), in MPEG4DataSource()
232 mCachedSize = 0; in clearCache()
242 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt()
270 mCachedSize = size; in setCachedRange()
272 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()
138 mCachedSize = mHTTPConnection->getSize(); in getSize()
142 *size = mCachedSize; in getSize()
/frameworks/av/media/libstagefright/include/
DMediaHTTP.h65 off64_t mCachedSize; member
DCallbackDataSource.h87 size_t mCachedSize; variable