Lines Matching refs:msec
495 status_t NuPlayerDriver::seekTo(int msec, MediaPlayerSeekMode mode) { in seekTo() argument
496 ALOGV("seekTo(%p) (%d ms, %d) at state %d", this, msec, mode, mState); in seekTo()
499 int64_t seekTimeUs = msec * 1000LL; in seekTo()
523 status_t NuPlayerDriver::getCurrentPosition(int *msec) { in getCurrentPosition() argument
529 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
545 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
549 status_t NuPlayerDriver::getDuration(int *msec) { in getDuration() argument
556 *msec = (mDurationUs + 500LL) / 1000; in getDuration()
789 int msec = 0; in invoke() local
791 getCurrentPosition(&msec); in invoke()
792 return mPlayer->selectTrack(trackIndex, true /* select */, msec * 1000LL); in invoke()