Searched refs:cachedDataRemaining (Results 1 – 2 of 2) sorted by relevance
839 off64_t cachedDataRemaining = -1; in getCachedDuration() local840 status_t finalStatus = mDataSource->getAvailableSize(-1, &cachedDataRemaining); in getCachedDuration()843 if (cachedDataRemaining >= 0 in getCachedDuration()845 *durationUs = cachedDataRemaining * 8000000ll / bitrate; in getCachedDuration()
1548 ssize_t cachedDataRemaining = -1; in onPollBuffering() local1551 cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in onPollBuffering()1563 cachedDurationUs = cachedDataRemaining * 8000000LL / bitrate; in onPollBuffering()