Home
last modified time | relevance | path

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

/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java1420 final int seekPosMs = 3000; in testSeekModes() local
1427 int cp = runSeekMode(MediaPlayer.SEEK_CLOSEST, seekPosMs); in testSeekModes()
1429 cp > seekPosMs && cp < syncTime2Ms); in testSeekModes()
1433 cp = runSeekMode(MediaPlayer.SEEK_PREVIOUS_SYNC, seekPosMs); in testSeekModes()
1435 cp < seekPosMs - timeToleranceMs); in testSeekModes()
1439 cp = runSeekMode(MediaPlayer.SEEK_NEXT_SYNC, seekPosMs); in testSeekModes()
1445 cp = runSeekMode(MediaPlayer.SEEK_CLOSEST_SYNC, seekPosMs); in testSeekModes()
1452 private int runSeekMode(int seekMode, int seekPosMs) throws Exception { in runSeekMode() argument
1457 mMediaPlayer.seekTo(seekPosMs, seekMode); in runSeekMode()
1460 int cp = -seekPosMs; in runSeekMode()
[all …]