Searched refs:cachedDurationUs (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp1733 int64_t cachedDurationUs = -1ll; local
1737 cachedDurationUs =
1753 cachedDurationUs = cachedDataRemaining * 8000000ll / bitrate;
1767 } else if (cachedDurationUs >= 0ll) {
1769 int64_t cachedPosUs = getLastReadPosition_l() + cachedDurationUs;
1778 ALOGV("onPollBuffering_l: cachedDurationUs %.1f sec",
1779 cachedDurationUs / 1000000.0f);
1781 if (cachedDurationUs < kLowWaterMarkUs) {
1788 cachedDurationUs += downStreamCacheUs;
1792 if (cachedDurationUs < kLowWaterMarkU
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp740 int64_t cachedDurationUs; local
742 if (!extractor->getCachedDuration(&cachedDurationUs, &eos)) {
746 return (jlong) cachedDurationUs;
758 int64_t cachedDurationUs; local
760 if (!extractor->getCachedDuration(&cachedDurationUs, &eos)) {

Completed in 266 milliseconds