Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp130 jint audioFormat, jint buffSizeInBytes, jintArray jSession) in android_media_AudioRecord_setup() argument
165 if (jSession == NULL) { in android_media_AudioRecord_setup()
170 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup()
176 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup()
218 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup()
225 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup()
Dandroid_media_AudioTrack.cpp171 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) in android_media_AudioTrack_native_setup() argument
263 if (jSession == NULL) { in android_media_AudioTrack_native_setup()
269 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_native_setup()
276 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_native_setup()
329 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_native_setup()
336 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_native_setup()
356 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_native_setup()