Searched refs:jSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 130 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()
|
D | android_media_AudioTrack.cpp | 171 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()
|