Searched refs:finalStatus (Results 1 – 8 of 8) sorted by relevance
576 status_t finalStatus = UNKNOWN_ERROR; in getAvailableSize() local577 *size = approxDataRemaining_l(offset, &finalStatus); in getAvailableSize()578 return finalStatus; in getAvailableSize()581 size_t NuCachedSource2::approxDataRemaining(status_t *finalStatus) const { in approxDataRemaining()583 return approxDataRemaining_l(mLastAccessPos, finalStatus); in approxDataRemaining()586 size_t NuCachedSource2::approxDataRemaining_l(off64_t offset, status_t *finalStatus) const { in approxDataRemaining_l()587 *finalStatus = mFinalStatus; in approxDataRemaining_l()591 *finalStatus = OK; in approxDataRemaining_l()
60 size_t approxDataRemaining(status_t *finalStatus) const;141 size_t approxDataRemaining_l(off64_t offset, status_t *finalStatus) const;
402 bool AudioPlayer::reachedEOS(status_t *finalStatus) { in reachedEOS() argument403 *finalStatus = OK; in reachedEOS()406 *finalStatus = mFinalStatus; in reachedEOS()
63 bool reachedEOS(status_t *finalStatus);
230 status_t finalStatus; in playSource() local231 while (!player->reachedEOS(&finalStatus)) { in playSource()
1553 status_t finalStatus = UNKNOWN_ERROR; in onPollBuffering() local1558 cachedDataRemaining = mCachedSource->approxDataRemaining(&finalStatus); in onPollBuffering()1560 if (finalStatus == OK) { in onPollBuffering()1575 if (finalStatus != OK) { in onPollBuffering()1576 ALOGV("onPollBuffering: EOS (finalStatus = %d)", finalStatus); in onPollBuffering()1578 if (finalStatus == ERROR_END_OF_STREAM) { in onPollBuffering()1583 notifyPreparedAndCleanup(finalStatus == ERROR_END_OF_STREAM ? OK : finalStatus); in onPollBuffering()
685 status_t finalStatus; in getCacheRemaining() local686 size_t dataRemaining = cachedSource->approxDataRemaining(&finalStatus); in getCacheRemaining()687 *eos = (finalStatus != OK); in getCacheRemaining()
786 status_t finalStatus = mDataSource->getAvailableSize(-1, &cachedDataRemaining); in getCachedDuration() local792 *eos = (finalStatus != OK); in getCachedDuration()