Home
last modified time | relevance | path

Searched refs:tempUs (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp500 int64_t tempUs = 0; in getCurrentPosition() local
504 tempUs = (mPositionUs <= 0) ? 0 : mPositionUs; in getCurrentPosition()
505 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
510 status_t ret = mPlayer->getCurrentPosition(&tempUs); in getCurrentPosition()
517 tempUs = (mPositionUs <= 0) ? 0 : mPositionUs; in getCurrentPosition()
519 mPositionUs = tempUs; in getCurrentPosition()
521 *msec = (int)divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Driver.cpp441 int64_t tempUs = 0; in getCurrentPosition() local
445 tempUs = (mPositionUs <= 0) ? 0 : mPositionUs; in getCurrentPosition()
446 *msec = divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()
451 status_t ret = mPlayer->getCurrentPosition(&tempUs); in getCurrentPosition()
458 tempUs = (mPositionUs <= 0) ? 0 : mPositionUs; in getCurrentPosition()
460 mPositionUs = tempUs; in getCurrentPosition()
462 *msec = divRound(tempUs, (int64_t)(1000)); in getCurrentPosition()