Searched refs:mCurrentPositionMs (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaPlayer.java | 73 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/ |
D | TestTvInputService.java | 111 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/ |
D | TimeShiftManager.java | 207 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/ |
D | CurrentPositionMediatorTest.java | 60 .that(mMediator.mCurrentPositionMs) in testOnSeekRequested() 75 .that(mMediator.mCurrentPositionMs) in testOnCurrentPositionChangedInvalidInput() 78 .that(mMediator.mCurrentPositionMs) in testOnCurrentPositionChangedInvalidInput() 98 .that(mMediator.mCurrentPositionMs) in assertCurrentPositionMediator()
|