Lines Matching refs:mediaUs
351 status_t NuPlayer2::Renderer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() argument
352 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
377 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
385 void NuPlayer2::Renderer::setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs) { in setAudioFirstAnchorTimeIfNeeded_l() argument
387 mAudioFirstAnchorTimeMediaUs = mediaUs; in setAudioFirstAnchorTimeIfNeeded_l()
388 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l()
1163 int64_t mediaUs; in getPendingAudioPlayoutDurationUs() local
1164 if (mMediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in getPendingAudioPlayoutDurationUs()
1167 return writtenAudioDurationUs - (mediaUs - mAudioFirstAnchorTimeMediaUs); in getPendingAudioPlayoutDurationUs()
1351 int64_t mediaUs = 0; in onDrainVideoQueue() local
1352 mMediaClock->getMediaTime(realTimeUs, &mediaUs); in onDrainVideoQueue()
1355 mediaUs) / 1E6); in onDrainVideoQueue()
1428 int64_t mediaUs = 0; in notifyEOS_l() local
1430 status_t result = mMediaClock->getMediaTime(nowUs, &mediaUs); in notifyEOS_l()
1432 if (mNextVideoTimeMediaUs > mediaUs) { in notifyEOS_l()