Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaSyncTest.java416 final float playbackRate) throws Exception { in playAV() argument
428 audio, video, playbackRate, state)); in playAV()
444 final double diff = state.mMediaDurationUs - state.mClockDurationUs * playbackRate ; in playAV()
446 + "] playbackRate " + playbackRate in playAV()
474 float playbackRate, in runPlayAV() argument
530 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in runPlayAV()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java1292 final float playbackRate = 1.0f; local
1295 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1310 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1379 for (float playbackRate : rates) { in testPlaybackRate()
1383 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testPlaybackRate()
1388 playbackRate, pbp.getSpeed(), in testPlaybackRate()
1389 FLOAT_TOLERANCE + playbackRate * sync.getTolerance()); in testPlaybackRate()
1393 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime); in testPlaybackRate()
1395 fail("Media player had error in playback rate " + playbackRate in testPlaybackRate()
1479 final float playbackRate = 1.0f; in testGetTimestamp() local
[all …]