Searched refs:mCachedSize (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 121 : 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()
|
D | MPEG4Extractor.cpp | 205 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/ |
D | android_media_MediaDataSource.cpp | 36 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { in JMediaDataSource() 120 *size = mCachedSize; in getSize() 141 mCachedSize = *size; in getSize()
|
D | android_media_MediaDataSource.h | 62 off64_t mCachedSize; variable
|
/frameworks/av/media/libstagefright/http/ |
D | MediaHTTP.cpp | 36 mCachedSize(0ll), in MediaHTTP() 138 mCachedSize = mHTTPConnection->getSize(); in getSize() 142 *size = mCachedSize; in getSize()
|
/frameworks/av/media/libstagefright/include/ |
D | MediaHTTP.h | 65 off64_t mCachedSize; member
|
D | CallbackDataSource.h | 87 size_t mCachedSize; variable
|