Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp655 ssize_t cachedDataRemaining = -1; in onPollBuffering() local
664 cachedDataRemaining = in onPollBuffering()
676 cachedDurationUs = cachedDataRemaining * 8000000ll / bitrate; in onPollBuffering()
709 } else if (cachedDataRemaining >= 0) { in onPollBuffering()
711 cachedDataRemaining); in onPollBuffering()
713 if (cachedDataRemaining < kLowWaterMarkBytes) { in onPollBuffering()
715 } else if (cachedDataRemaining > kHighWaterMarkBytes) { in onPollBuffering()
/frameworks/av/media/libstagefright/
DAwesomePlayer.cpp677 size_t cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in getCachedDuration_l() local
678 *durationUs = cachedDataRemaining * 8000000ll / bitrate; in getCachedDuration_l()
728 size_t cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in onBufferingUpdate() local
754 && (cachedDataRemaining < kLowWaterMarkBytes)) { in onBufferingUpdate()
762 } else if (eos || cachedDataRemaining > kHighWaterMarkBytes) { in onBufferingUpdate()
2336 size_t cachedDataRemaining = in finishSetDataSource_l() local
2341 && (off64_t)cachedDataRemaining >= metaDataSize) in finishSetDataSource_l()
2346 ALOGV("now cached %zu bytes of data", cachedDataRemaining); in finishSetDataSource_l()
2349 && cachedDataRemaining >= kMinBytesForSniffing) { in finishSetDataSource_l()
DNuMediaExtractor.cpp573 size_t cachedDataRemaining = in getCachedDuration() local
576 *durationUs = cachedDataRemaining * 8000000ll / bitrate; in getCachedDuration()