Home
last modified time | relevance | path

Searched refs:playbackParams (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp152 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams &params) { in initPlaybackParams() argument
154 playbackParams, gFieldIds.surface); in initPlaybackParams()
157 playbackParams, gFieldIds.mimeType)); in initPlaybackParams()
160 playbackParams, gFieldIds.audioUrl)); in initPlaybackParams()
163 playbackParams, gFieldIds.videoUrl)); in initPlaybackParams()
648 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jobject playbackParams) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative() argument
649 if (NULL == uuid || NULL == playbackParams) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative()
663 initPlaybackParams(env, playbackParams, params); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackTest.java2450 PlaybackParams playbackParams = new PlaybackParams() in testVariableSpeedPlayback() local
2464 final float pitch = playbackParams.getPitch(); in testVariableSpeedPlayback()
2465 final float speed = playbackParams.getSpeed(); in testVariableSpeedPlayback()
2467 track.setPlaybackParams(playbackParams); in testVariableSpeedPlayback()
2480 playbackParams.getSpeed() * TEST_DELTA_MS * TEST_SR / 1000; in testVariableSpeedPlayback()
2481 playbackParams.setPitch(playbackParams.getPitch() + pitchInc); in testVariableSpeedPlayback()
2482 playbackParams.setSpeed(playbackParams.getSpeed() + speedInc); in testVariableSpeedPlayback()