Home
last modified time | relevance | path

Searched refs:cachedDataRemaining (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp784 off64_t cachedDataRemaining = -1; in getCachedDuration() local
785 status_t finalStatus = mDataSource->getAvailableSize(-1, &cachedDataRemaining); in getCachedDuration()
788 if (cachedDataRemaining >= 0 in getCachedDuration()
790 *durationUs = cachedDataRemaining * 8000000ll / bitrate; in getCachedDuration()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1553 ssize_t cachedDataRemaining = -1; in onPollBuffering() local
1556 cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in onPollBuffering()
1568 cachedDurationUs = cachedDataRemaining * 8000000LL / bitrate; in onPollBuffering()