Searched refs:PlaybackParams (Results 1 – 10 of 10) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | ParamsTest.java | 21 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 …]
|
D | MediaSyncTest.java | 29 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()
|
D | NativeMediaDrmClearkeyTest.java | 79 public static class PlaybackParams { class in NativeMediaDrmClearkeyTest 251 PlaybackParams params = new PlaybackParams(); in testClearKeyPlayback() 277 PlaybackParams params); in testClearKeyPlaybackNative()
|
D | MediaPlayerTest.java | 34 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()
|
D | MediaPlayerDrmTest.java | 35 import android.media.PlaybackParams;
|
D | AudioTrackTest.java | 35 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()
|
D | AudioTrackLatencyTest.java | 27 import android.media.PlaybackParams;
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 22 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/ |
D | native-mediadrm-jni.cpp | 50 struct PlaybackParams { struct 152 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams ¶ms) { 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/ |
D | MockTvInputService.java | 30 import android.media.PlaybackParams; 487 public void onTimeShiftSetPlaybackParams(PlaybackParams params) { in onTimeShiftSetPlaybackParams()
|