Searched refs:jSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 180 jint audioFormat, jint buffSizeInBytes, jintArray jSession, jstring opPackageName) in android_media_AudioRecord_setup() argument 228 if (jSession == NULL) { in android_media_AudioRecord_setup() 233 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() 239 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 293 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() 300 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup()
|
D | android_media_AudioTrack.cpp | 219 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) { in android_media_AudioTrack_setup() argument 262 if (jSession == NULL) { in android_media_AudioTrack_setup() 267 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() 273 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 363 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() 370 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 401 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup()
|