Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java1276 final int seekPosMs = 3000; in testSeekModes() local
1283 int cp = runSeekMode(MediaPlayer.SEEK_CLOSEST, seekPosMs); in testSeekModes()
1285 cp > seekPosMs && cp < syncTime2Ms); in testSeekModes()
1289 cp = runSeekMode(MediaPlayer.SEEK_PREVIOUS_SYNC, seekPosMs); in testSeekModes()
1291 cp < seekPosMs - timeToleranceMs); in testSeekModes()
1295 cp = runSeekMode(MediaPlayer.SEEK_NEXT_SYNC, seekPosMs); in testSeekModes()
1301 cp = runSeekMode(MediaPlayer.SEEK_CLOSEST_SYNC, seekPosMs); in testSeekModes()
1308 private int runSeekMode(int seekMode, int seekPosMs) throws Exception { in runSeekMode() argument
1313 mMediaPlayer.seekTo(seekPosMs, seekMode); in runSeekMode()
1316 int cp = -seekPosMs; in runSeekMode()
[all …]