Lines Matching refs:mediaUs
360 status_t NuPlayer::Renderer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() argument
361 status_t result = mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
383 *mediaUs = mAudioFirstAnchorTimeMediaUs; in getCurrentPosition()
390 return mMediaClock->getMediaTime(ALooper::GetNowUs(), mediaUs); in getCurrentPosition()
398 void NuPlayer::Renderer::setAudioFirstAnchorTimeIfNeeded_l(int64_t mediaUs) { in setAudioFirstAnchorTimeIfNeeded_l() argument
400 mAudioFirstAnchorTimeMediaUs = mediaUs; in setAudioFirstAnchorTimeIfNeeded_l()
401 mMediaClock->setStartingTimeMedia(mediaUs); in setAudioFirstAnchorTimeIfNeeded_l()
1177 int64_t mediaUs; in getPendingAudioPlayoutDurationUs() local
1178 if (mMediaClock->getMediaTime(nowUs, &mediaUs) != OK) { in getPendingAudioPlayoutDurationUs()
1181 return writtenAudioDurationUs - (mediaUs - mAudioFirstAnchorTimeMediaUs); in getPendingAudioPlayoutDurationUs()
1365 int64_t mediaUs = 0; in onDrainVideoQueue() local
1366 mMediaClock->getMediaTime(realTimeUs, &mediaUs); in onDrainVideoQueue()
1369 mediaUs) / 1E6); in onDrainVideoQueue()
1442 int64_t mediaUs = 0; in notifyEOS_l() local
1444 status_t result = mMediaClock->getMediaTime(nowUs, &mediaUs); in notifyEOS_l()
1446 if (mNextVideoTimeMediaUs > mediaUs) { in notifyEOS_l()