Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaSyncTest.java418 final float playbackRate) throws Exception { in playAV() argument
429 audio, video, playbackRate, state)); in playAV()
445 final double diff = state.mMediaDurationUs - state.mClockDurationUs * playbackRate ; in playAV()
447 + "] playbackRate " + playbackRate in playAV()
475 float playbackRate, in runPlayAV() argument
529 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in runPlayAV()
DMediaPlayerTest.java1147 final float playbackRate = 1.0f;
1150 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1165 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1232 for (float playbackRate : rates) { in testPlaybackRate()
1236 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testPlaybackRate()
1241 playbackRate, pbp.getSpeed(), in testPlaybackRate()
1242 FLOAT_TOLERANCE + playbackRate * sync.getTolerance()); in testPlaybackRate()
1246 int diff = Math.abs((int)(playedMediaDurationMs / playbackRate) - playTime); in testPlaybackRate()
1248 fail("Media player had error in playback rate " + playbackRate in testPlaybackRate()
1334 final float playbackRate = 1.0f; in testGetTimestamp() local
[all …]