Searched refs:nSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 205 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() local 206 if (nSession == NULL) { in android_media_AudioRecord_setup() 210 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioRecord_setup() 211 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 212 nSession = NULL; in android_media_AudioRecord_setup() 340 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() 341 if (nSession == NULL) { in android_media_AudioRecord_setup() 346 nSession[0] = lpRecorder->getSessionId(); in android_media_AudioRecord_setup() 347 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 348 nSession = NULL; in android_media_AudioRecord_setup()
|
D | android_media_AudioTrack.cpp | 268 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() local 269 if (nSession == NULL) { in android_media_AudioTrack_setup() 273 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioTrack_setup() 274 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 275 nSession = NULL; in android_media_AudioTrack_setup() 470 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() 471 if (nSession == NULL) { in android_media_AudioTrack_setup() 476 nSession[0] = lpTrack->getSessionId(); in android_media_AudioTrack_setup() 477 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 478 nSession = NULL; in android_media_AudioTrack_setup() [all …]
|