Home
last modified time | relevance | path

Searched refs:PlaybackParams (Results 1 – 11 of 11) 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.java28 import android.media.PlaybackParams;
186 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail()
198 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail()
212 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed()
213 PlaybackParams pbp = mMediaSync.getPlaybackParams(); in testSetPlaybackParamsSucceed()
231 private PlaybackParams PAUSED_RATE = new PlaybackParams().setSpeed(0.f);
232 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()
DMediaPlayerDrmTest.java35 import android.media.PlaybackParams;
DMediaPlayerTest.java33 import android.media.PlaybackParams;
1177 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1192 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1219 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.0f)); in testSetPlaybackParamsZeroSpeed()
1235 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.0f)); in testSetPlaybackParamsZeroSpeed()
1263 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testPlaybackRate()
1266 PlaybackParams pbp = mMediaPlayer.getPlaybackParams(); in testPlaybackRate()
1371 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testGetTimestamp()
1449 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.5f)); in testMediaTimeDiscontinuity()
2073 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(speed)); in testChangeTimedTextTrackWithSpeed()
DAudioTrackTest.java38 import android.media.PlaybackParams;
2433 PlaybackParams params = new PlaybackParams().allowDefaults(); in testVariableSpeedPlayback()
2451 PlaybackParams paramCheck = track.getPlaybackParams(); in testVariableSpeedPlayback()
2477 PlaybackParams playbackParams = new PlaybackParams() in testVariableSpeedPlayback()
2499 PlaybackParams checkParams = track.getPlaybackParams(); in testVariableSpeedPlayback()
DAudioTrackLatencyTest.java27 import android.media.PlaybackParams;
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java28 import android.media.PlaybackParams;
655 final PlaybackParams param = new PlaybackParams().setSpeed(2.0f) in verifyCommandTimeShiftSetPlaybackParams()
656 .setAudioFallbackMode(PlaybackParams.AUDIO_FALLBACK_MODE_DEFAULT); in verifyCommandTimeShiftSetPlaybackParams()
917 public static void assertPlaybackParamsEquals(PlaybackParams actual, PlaybackParams expected) { in assertPlaybackParamsEquals()
1120 public volatile PlaybackParams mTimeShiftSetPlaybackParams;
1316 public void onTimeShiftSetPlaybackParams(PlaybackParams param) {
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp51 struct PlaybackParams { struct
189 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams &params) { in initPlaybackParams()
494 PlaybackParams& params, const AMediaDrmSessionId& sessionId, Uuid uuid) { in playContent()
699 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()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/
Dtest-current.txt1499 public final class PlaybackParams implements android.os.Parcelable {
1501 method public android.media.PlaybackParams setAudioStretchMode(int);