Searched refs:PlaybackParams (Results 1 – 11 of 11) 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 | 28 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()
|
D | NativeMediaDrmClearkeyTest.java | 79 public static class PlaybackParams { class in NativeMediaDrmClearkeyTest 251 PlaybackParams params = new PlaybackParams(); in testClearKeyPlayback() 277 PlaybackParams params); in testClearKeyPlaybackNative()
|
D | MediaPlayerDrmTest.java | 35 import android.media.PlaybackParams;
|
D | MediaPlayerTest.java | 33 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()
|
D | AudioTrackTest.java | 38 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()
|
D | AudioTrackLatencyTest.java | 27 import android.media.PlaybackParams;
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 28 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/ |
D | native-mediadrm-jni.cpp | 51 struct PlaybackParams { struct 189 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams ¶ms) { 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/ |
D | MockTvInputService.java | 30 import android.media.PlaybackParams; 487 public void onTimeShiftSetPlaybackParams(PlaybackParams params) { in onTimeShiftSetPlaybackParams()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | test-current.txt | 1499 public final class PlaybackParams implements android.os.Parcelable { 1501 method public android.media.PlaybackParams setAudioStretchMode(int);
|