Home
last modified time | relevance | path

Searched refs:mCachedSource (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp374 mCachedSource = static_cast<NuCachedSource2 *>(mDataSource.get()); in onPrepareAsync()
383 mIsStreaming = (mIsWidevine || mCachedSource != NULL); in onPrepareAsync()
442 mCachedSource.clear(); in notifyPreparedAndCleanup()
453 if (mCachedSource == NULL) { in prefillCacheIfNecessary()
479 mCachedSource->approxDataRemaining(&finalStatus); in prefillCacheIfNecessary()
496 if (!mCachedSource->sniff(&tmp, &confidence, &meta)) { in prefillCacheIfNecessary()
659 if (mCachedSource != NULL) { in sendCacheStats()
660 err = mCachedSource->getEstimatedBandwidthKbps(&kbps); in sendCacheStats()
674 if (mCachedSource != NULL) { in ensureCacheIsFetching()
675 mCachedSource->resumeFetchingIfNecessary(); in ensureCacheIsFetching()
[all …]
DGenericSource.h134 sp<NuCachedSource2> mCachedSource; member
/frameworks/av/media/libstagefright/
DAwesomePlayer.cpp564 mCachedSource.clear(); in reset_l()
653 if (mDurationUs > 0 && mCachedSource != NULL in getBitrate()
654 && mCachedSource->getSize(&size) == OK) { in getBitrate()
673 if (mCachedSource != NULL && getBitrate(&bitrate) && (bitrate > 0)) { in getCachedDuration_l()
675 size_t cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in getCachedDuration_l()
690 if (mCachedSource != NULL) { in ensureCacheIsFetching_l()
691 mCachedSource->resumeFetchingIfNecessary(); in ensureCacheIsFetching_l()
724 if (mCachedSource != NULL) { in onBufferingUpdate()
726 size_t cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in onBufferingUpdate()
839 if (mCachedSource != NULL) { in sendCacheStats()
[all …]
/frameworks/av/media/libstagefright/include/
DAwesomePlayer.h242 sp<NuCachedSource2> mCachedSource; member