HomeSort by relevance Sort by last modified time
    Searched refs:mCurrentPositionMs (Results 1 - 5 of 5) sorted by null

  /packages/apps/TV/tests/unit/src/com/android/tv/
CurrentPositionMediatorTest.java 51 assertEquals("Current position", seekToTimeMs, mMediator.mCurrentPositionMs);
61 assertNotSame("Current position", seekToTimeMs, mMediator.mCurrentPositionMs);
62 assertNotSame("Current position", newCurrentTimeMs, mMediator.mCurrentPositionMs);
77 assertEquals("Current position", expectedCurrentPositionMs, mMediator.mCurrentPositionMs);
  /packages/apps/TV/tests/input/src/com/android/tv/testinput/
TestTvInputService.java 90 private long mCurrentPositionMs;
105 mCurrentPositionMs += (long) ((currentTimeMs
107 mCurrentPositionMs = Math.max(mRecordStartTimeMs,
108 Math.min(mCurrentPositionMs, currentTimeMs));
201 mRecordStartTimeMs = mCurrentPositionMs = mLastCurrentPositionUpdateTimeMs
229 Log.d(TAG, "currentPositionMs=" + mCurrentPositionMs);
230 return mCurrentPositionMs;
240 mCurrentPositionMs = mPausedTimeMs = mLastCurrentPositionUpdateTimeMs
254 mCurrentPositionMs = Math.max(mRecordStartTimeMs,
325 ? new Date(mCurrentPositionMs).toString() : new Date().toString()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
MockTvInputService.java 256 private long mCurrentPositionMs;
271 mCurrentPositionMs += (long) ((currentTimeMs
273 mCurrentPositionMs = Math.max(mRecordStartTimeMs,
274 Math.min(mCurrentPositionMs, currentTimeMs));
376 mRecordStartTimeMs = mCurrentPositionMs = mLastCurrentPositionUpdateTimeMs
432 Log.d(TAG, "currentPositionMs=" + mCurrentPositionMs);
433 return mCurrentPositionMs;
448 mCurrentPositionMs = mPausedTimeMs = mLastCurrentPositionUpdateTimeMs
469 if (mCurrentPositionMs > timeMs) {
474 } else if (mCurrentPositionMs < timeMs)
    [all...]
  /packages/apps/TV/src/com/android/tv/
TimeShiftManager.java 207 return mCurrentPositionMediator.mCurrentPositionMs;
321 mCurrentPositionMediator.mCurrentPositionMs - PROGRAM_START_TIME_THRESHOLD);
346 mCurrentPositionMediator.mCurrentPositionMs);
429 boolean enabled = mCurrentPositionMediator.mCurrentPositionMs
436 enabled = getRecordEndTimeMs() - mCurrentPositionMediator.mCurrentPositionMs
451 Program currentProgram = getProgramAt(mCurrentPositionMediator.mCurrentPositionMs);
    [all...]
  /frameworks/base/media/java/android/media/tv/
TvInputService.java 288 private long mCurrentPositionMs;
307 mCurrentPositionMs = TvInputManager.TIME_SHIFT_INVALID_TIME;
    [all...]

Completed in 152 milliseconds