Searched refs:playbackParams (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/drmframework/jni/ |
D | native-mediadrm-jni.cpp | 191 void initPlaybackParams(JNIEnv* env, const jobject &playbackParams, PlaybackParams ¶ms) { in initPlaybackParams() argument 193 playbackParams, gFieldIds.surface); in initPlaybackParams() 196 playbackParams, gFieldIds.mimeType)); in initPlaybackParams() 199 playbackParams, gFieldIds.audioUrl)); in initPlaybackParams() 202 playbackParams, gFieldIds.videoUrl)); in initPlaybackParams() 687 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jobject playbackParams) { in testClearKeyPlaybackNative() argument 688 if (NULL == uuid || NULL == playbackParams) { in testClearKeyPlaybackNative() 702 initPlaybackParams(env, playbackParams, params); in testClearKeyPlaybackNative() 976 JNIEnv* env, jclass /*clazz*/, jbyteArray uuid, jobject playbackParams) { in testGetKeyRequestNative() argument 978 if (NULL == uuid || NULL == playbackParams) { in testGetKeyRequestNative() [all …]
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackTest.java | 2520 PlaybackParams playbackParams = new PlaybackParams() in testVariableSpeedPlayback() local 2536 final float pitch = playbackParams.getPitch(); in testVariableSpeedPlayback() 2537 final float speed = playbackParams.getSpeed(); in testVariableSpeedPlayback() 2539 track.setPlaybackParams(playbackParams); in testVariableSpeedPlayback() 2553 playbackParams.getSpeed() * ((newTimeNs - timeNs) * TEST_SR / 1000000000f); in testVariableSpeedPlayback() 2555 playbackParams.setPitch(playbackParams.getPitch() + pitchInc); in testVariableSpeedPlayback() 2556 playbackParams.setSpeed(playbackParams.getSpeed() + speedInc); in testVariableSpeedPlayback()
|