Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DParamsTest.java21 import android.media.PlaybackParams;
200 assertEquals(0, PlaybackParams.AUDIO_STRETCH_MODE_DEFAULT);
201 assertEquals(1, PlaybackParams.AUDIO_STRETCH_MODE_VOICE);
203 assertEquals(0, PlaybackParams.AUDIO_FALLBACK_MODE_DEFAULT);
204 assertEquals(1, PlaybackParams.AUDIO_FALLBACK_MODE_MUTE);
205 assertEquals(2, PlaybackParams.AUDIO_FALLBACK_MODE_FAIL);
209 PlaybackParams p = new PlaybackParams();
215 PlaybackParams q = p.allowDefaults();
225 PlaybackParams p = new PlaybackParams();
227 PlaybackParams.AUDIO_FALLBACK_MODE_MUTE,
[all …]
DMediaSyncTest.java29 import android.media.PlaybackParams;
189 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail()
201 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail()
215 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed()
216 PlaybackParams pbp = mMediaSync.getPlaybackParams(); in testSetPlaybackParamsSucceed()
234 private PlaybackParams PAUSED_RATE = new PlaybackParams().setSpeed(0.f);
235 private PlaybackParams NORMAL_RATE = new PlaybackParams().setSpeed(1.f);
529 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in runPlayAV()
DNativeMediaDrmClearkeyTest.java79 public static class PlaybackParams { class in NativeMediaDrmClearkeyTest
251 PlaybackParams params = new PlaybackParams(); in testClearKeyPlayback()
277 PlaybackParams params); in testClearKeyPlaybackNative()
DMediaPlayerTest.java34 import android.media.PlaybackParams;
1150 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1165 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1192 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.0f)); in testSetPlaybackParamsZeroSpeed()
1208 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.0f)); in testSetPlaybackParamsZeroSpeed()
1236 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testPlaybackRate()
1239 PlaybackParams pbp = mMediaPlayer.getPlaybackParams(); in testPlaybackRate()
1343 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testGetTimestamp()
1421 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.5f)); in testMediaTimeDiscontinuity()
2044 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(speed)); in testChangeTimedTextTrackWithSpeed()
DMediaPlayerDrmTest.java35 import android.media.PlaybackParams;
DAudioTrackTest.java35 import android.media.PlaybackParams;
2406 PlaybackParams params = new PlaybackParams().allowDefaults(); in testVariableSpeedPlayback()
2424 PlaybackParams paramCheck = track.getPlaybackParams(); in testVariableSpeedPlayback()
2450 PlaybackParams playbackParams = new PlaybackParams() in testVariableSpeedPlayback()
2470 PlaybackParams checkParams = track.getPlaybackParams(); in testVariableSpeedPlayback()
DAudioTrackLatencyTest.java27 import android.media.PlaybackParams;
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java22 import android.media.PlaybackParams;
701 final PlaybackParams param = new PlaybackParams().setSpeed(2.0f) in verifyCommandTimeShiftSetPlaybackParams()
702 .setAudioFallbackMode(PlaybackParams.AUDIO_FALLBACK_MODE_DEFAULT); in verifyCommandTimeShiftSetPlaybackParams()
983 public static boolean playbackParamsEquals(PlaybackParams param, PlaybackParams other) { in playbackParamsEquals()
1097 public volatile PlaybackParams mTimeShiftSetPlaybackParams;
1289 public void onTimeShiftSetPlaybackParams(PlaybackParams param) { in onTimeShiftSetPlaybackParams()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp50 struct PlaybackParams { struct
152 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams &params) { in initPlaybackParams()
457 PlaybackParams& params, const AMediaDrmSessionId& sessionId, Uuid uuid) { in playContent()
662 PlaybackParams params; in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java30 import android.media.PlaybackParams;
487 public void onTimeShiftSetPlaybackParams(PlaybackParams params) { in onTimeShiftSetPlaybackParams()