Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DParamsTest.java19 import android.media.PlaybackParams;
198 assertEquals(0, PlaybackParams.AUDIO_STRETCH_MODE_DEFAULT);
199 assertEquals(1, PlaybackParams.AUDIO_STRETCH_MODE_VOICE);
201 assertEquals(0, PlaybackParams.AUDIO_FALLBACK_MODE_DEFAULT);
202 assertEquals(1, PlaybackParams.AUDIO_FALLBACK_MODE_MUTE);
203 assertEquals(2, PlaybackParams.AUDIO_FALLBACK_MODE_FAIL);
207 PlaybackParams p = new PlaybackParams();
213 PlaybackParams q = p.allowDefaults();
223 PlaybackParams p = new PlaybackParams();
225 PlaybackParams.AUDIO_FALLBACK_MODE_MUTE,
[all …]
DMediaSyncTest.java28 import android.media.PlaybackParams;
187 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail()
199 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsFail()
213 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(rate)); in testSetPlaybackParamsSucceed()
214 PlaybackParams pbp = mMediaSync.getPlaybackParams(); in testSetPlaybackParamsSucceed()
232 private PlaybackParams PAUSED_RATE = new PlaybackParams().setSpeed(0.f);
233 private PlaybackParams NORMAL_RATE = new PlaybackParams().setSpeed(1.f);
530 mMediaSync.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in runPlayAV()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DNativeMediaDrmClearkeyTest.java80 public static class PlaybackParams { class in NativeMediaDrmClearkeyTest
237 PlaybackParams params = new PlaybackParams(); in testClearKeyPlayback()
253 PlaybackParams params); in testClearKeyPlaybackNative()
267 PlaybackParams params); in testGetKeyRequestNative()
291 PlaybackParams params = new PlaybackParams(); in testClearKeyGetKeyRequest()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp50 struct PlaybackParams { struct
191 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams &params) { in initPlaybackParams()
496 PlaybackParams& params, const AMediaDrmSessionId& sessionId, Uuid uuid) { in playContent()
701 PlaybackParams params; in testClearKeyPlaybackNative()
991 PlaybackParams params; in testGetKeyRequestNative()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DStubTvInteractiveAppService.java21 import android.media.PlaybackParams;
132 public PlaybackParams mPlaybackParams;
571 public void onTimeShiftPlaybackParams(PlaybackParams params) { in onTimeShiftPlaybackParams()
DTvInteractiveAppServiceTest.java29 import android.media.PlaybackParams;
789 final PlaybackParams testParams = new PlaybackParams().setSpeed(2.0f) in testNotifyTimeShiftPlaybackParams()
790 .setAudioFallbackMode(PlaybackParams.AUDIO_FALLBACK_MODE_DEFAULT) in testNotifyTimeShiftPlaybackParams()
792 .setAudioStretchMode(PlaybackParams.AUDIO_STRETCH_MODE_VOICE); in testNotifyTimeShiftPlaybackParams()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java44 import android.media.PlaybackParams;
1295 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1310 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate));
1333 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.0f)); in testSetPlaybackParamsZeroSpeed()
1354 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.0f)); in testSetPlaybackParamsZeroSpeed()
1383 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testPlaybackRate()
1386 PlaybackParams pbp = mMediaPlayer.getPlaybackParams(); in testPlaybackRate()
1488 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(playbackRate)); in testGetTimestamp()
1558 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(0.5f)); in testMediaTimeDiscontinuity()
2198 mMediaPlayer.setPlaybackParams(new PlaybackParams().setSpeed(speed)); in testChangeTimedTextTrackWithSpeed()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputServiceTest.java31 import android.media.PlaybackParams;
766 final PlaybackParams param = new PlaybackParams().setSpeed(2.0f) in verifyCommandTimeShiftSetPlaybackParams()
767 .setAudioFallbackMode(PlaybackParams.AUDIO_FALLBACK_MODE_DEFAULT); in verifyCommandTimeShiftSetPlaybackParams()
1275 public static void assertPlaybackParamsEquals(PlaybackParams actual, PlaybackParams expected) { in assertPlaybackParamsEquals()
1495 public volatile PlaybackParams mTimeShiftSetPlaybackParams;
1716 public void onTimeShiftSetPlaybackParams(PlaybackParams param) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputService.java30 import android.media.PlaybackParams;
487 public void onTimeShiftSetPlaybackParams(PlaybackParams params) { in onTimeShiftSetPlaybackParams()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackTest.java37 import android.media.PlaybackParams;
2476 PlaybackParams params = new PlaybackParams().allowDefaults(); in testVariableSpeedPlayback()
2494 PlaybackParams paramCheck = track.getPlaybackParams(); in testVariableSpeedPlayback()
2520 PlaybackParams playbackParams = new PlaybackParams() in testVariableSpeedPlayback()
2542 PlaybackParams checkParams = track.getPlaybackParams(); in testVariableSpeedPlayback()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt2049 public final class PlaybackParams implements android.os.Parcelable {
2051 method public android.media.PlaybackParams setAudioStretchMode(int);
Dcurrent.txt21884 method @NonNull public android.media.PlaybackParams getPlaybackParams();
21915 method public void setPlaybackParams(@NonNull android.media.PlaybackParams);
23991 method @NonNull public android.media.PlaybackParams getPlaybackParams();
24049 method public void setPlaybackParams(@NonNull android.media.PlaybackParams);
24683 method @NonNull public android.media.PlaybackParams getPlaybackParams();
24691 method public void setPlaybackParams(@NonNull android.media.PlaybackParams);
24783 public final class PlaybackParams implements android.os.Parcelable {
24784 ctor public PlaybackParams();
24785 method public android.media.PlaybackParams allowDefaults();
24790 method public android.media.PlaybackParams setAudioFallbackMode(int);
[all …]