Searched refs:playbackParams (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 189 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams ¶ms) { in initPlaybackParams() argument 191 playbackParams, gFieldIds.surface); in initPlaybackParams() 194 playbackParams, gFieldIds.mimeType)); in initPlaybackParams() 197 playbackParams, gFieldIds.audioUrl)); in initPlaybackParams() 200 playbackParams, gFieldIds.videoUrl)); in initPlaybackParams() 685 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jobject playbackParams) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative() argument 686 if (NULL == uuid || NULL == playbackParams) { in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative() 700 initPlaybackParams(env, playbackParams, params); in Java_android_media_cts_NativeMediaDrmClearkeyTest_testClearKeyPlaybackNative()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackTest.java | 2477 PlaybackParams playbackParams = new PlaybackParams() in testVariableSpeedPlayback() local 2493 final float pitch = playbackParams.getPitch(); in testVariableSpeedPlayback() 2494 final float speed = playbackParams.getSpeed(); in testVariableSpeedPlayback() 2496 track.setPlaybackParams(playbackParams); in testVariableSpeedPlayback() 2510 playbackParams.getSpeed() * (newTimeMs - timeMs) * TEST_SR / 1000; in testVariableSpeedPlayback() 2512 playbackParams.setPitch(playbackParams.getPitch() + pitchInc); in testVariableSpeedPlayback() 2513 playbackParams.setSpeed(playbackParams.getSpeed() + speedInc); in testVariableSpeedPlayback()
|