Home
last modified time | relevance | path

Searched refs:mCurrentPositionMs (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaPlayer.java73 private long mCurrentPositionMs = 0; field in TmaPlayer
99 .setState(event.mState.mValue, mCurrentPositionMs, mPlaybackSpeed) in setPlaybackState()
180 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in prepareMediaItem()
224 mCurrentPositionMs = pos; in onSeekTo()
294 long remainingMs = (long) ((trackDurationMs - mCurrentPositionMs) / mPlaybackSpeed); in onProcessMediaEvent()
314 .setState(STATE_ERROR, mCurrentPositionMs, mPlaybackSpeed) in startPlayBack()
329 mCurrentPositionMs += (System.currentTimeMillis() - mPlaybackStartTimeMs) / mPlaybackSpeed; in pausePlayback()
332 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in pausePlayback()
341 mCurrentPositionMs = 0; in stopPlayback()
348 .setState(PlaybackStateCompat.STATE_STOPPED, mCurrentPositionMs, mPlaybackSpeed) in sendStopPlaybackState()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java111 private long mCurrentPositionMs; field in TestTvInputService.SimpleSessionImpl
130 mCurrentPositionMs +=
134 mCurrentPositionMs =
137 Math.min(mCurrentPositionMs, currentTimeMs));
238 mCurrentPositionMs = in onTune()
265 Log.d(TAG, "currentPositionMs=" + mCurrentPositionMs); in onTimeShiftGetCurrentPosition()
266 return mCurrentPositionMs; in onTimeShiftGetCurrentPosition()
276 mCurrentPositionMs = in onTimeShiftPause()
290 mCurrentPositionMs = in onTimeShiftSeekTo()
332 String now = new Date(mCurrentPositionMs).toString(); in run()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java207 return mCurrentPositionMediator.mCurrentPositionMs; in getCurrentPositionMs()
318 mCurrentPositionMediator.mCurrentPositionMs - PROGRAM_START_TIME_THRESHOLD); in jumpToPrevious()
343 mProgramManager.getProgramAt(mCurrentPositionMediator.mCurrentPositionMs); in jumpToNext()
426 mCurrentPositionMediator.mCurrentPositionMs - mPlayController.mRecordStartTimeMs in updateActions()
436 getRecordEndTimeMs() - mCurrentPositionMediator.mCurrentPositionMs > threshold; in updateActions()
451 SoftPreconditions.checkState(mCurrentPositionMediator.mCurrentPositionMs != INVALID_TIME); in updateCurrentProgram()
452 Program currentProgram = getProgramAt(mCurrentPositionMediator.mCurrentPositionMs); in updateCurrentProgram()
1328 long mCurrentPositionMs; field in TimeShiftManager.CurrentPositionMediator
1333 mCurrentPositionMs = timeMs; in initialize()
1341 mCurrentPositionMs = seekTimeMs; in onSeekRequested()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/
DCurrentPositionMediatorTest.java60 .that(mMediator.mCurrentPositionMs) in testOnSeekRequested()
75 .that(mMediator.mCurrentPositionMs) in testOnCurrentPositionChangedInvalidInput()
78 .that(mMediator.mCurrentPositionMs) in testOnCurrentPositionChangedInvalidInput()
98 .that(mMediator.mCurrentPositionMs) in assertCurrentPositionMediator()