Lines Matching refs:msec
503 status_t MediaPlayer::getCurrentPosition(int *msec) in getCurrentPosition() argument
510 *msec = mCurrentPosition; in getCurrentPosition()
513 return mPlayer->getCurrentPosition(msec); in getCurrentPosition()
518 status_t MediaPlayer::getDuration_l(int *msec) in getDuration_l() argument
533 if (msec) { in getDuration_l()
534 *msec = durationMs; in getDuration_l()
543 status_t MediaPlayer::getDuration(int *msec) in getDuration() argument
546 return getDuration_l(msec); in getDuration()
549 status_t MediaPlayer::seekTo_l(int msec, MediaPlayerSeekMode mode) in seekTo_l() argument
551 ALOGV("seekTo (%d, %d)", msec, mode); in seekTo_l()
554 if ( msec < 0 ) { in seekTo_l()
555 ALOGW("Attempt to seek to invalid position: %d", msec); in seekTo_l()
556 msec = 0; in seekTo_l()
567 if (msec > durationMs) { in seekTo_l()
570 msec, in seekTo_l()
573 msec = durationMs; in seekTo_l()
577 mCurrentPosition = msec; in seekTo_l()
580 mSeekPosition = msec; in seekTo_l()
582 return mPlayer->seekTo(msec, mode); in seekTo_l()
585 ALOGV("Seek in progress - queue up seekTo[%d, %d]", msec, mode); in seekTo_l()
594 status_t MediaPlayer::seekTo(int msec, MediaPlayerSeekMode mode) in seekTo() argument
598 status_t result = seekTo_l(msec, mode); in seekTo()