Searched refs:nSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 201 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() local 202 if (nSession == NULL) { in android_media_AudioRecord_setup() 206 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioRecord_setup() 207 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 208 nSession = NULL; in android_media_AudioRecord_setup() 333 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() 334 if (nSession == NULL) { in android_media_AudioRecord_setup() 339 nSession[0] = lpRecorder->getSessionId(); in android_media_AudioRecord_setup() 340 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 341 nSession = NULL; in android_media_AudioRecord_setup()
|
D | android_media_AudioTrack.cpp | 234 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() local 235 if (nSession == NULL) { in android_media_AudioTrack_setup() 239 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioTrack_setup() 240 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 241 nSession = NULL; in android_media_AudioTrack_setup() 409 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() 410 if (nSession == NULL) { in android_media_AudioTrack_setup() 415 nSession[0] = lpTrack->getSessionId(); in android_media_AudioTrack_setup() 416 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 417 nSession = NULL; in android_media_AudioTrack_setup() [all …]
|