Searched refs:nSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 207 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() local 208 if (nSession == NULL) { in android_media_AudioRecord_setup() 212 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioRecord_setup() 213 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 214 nSession = NULL; in android_media_AudioRecord_setup() 344 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() 345 if (nSession == NULL) { in android_media_AudioRecord_setup() 350 nSession[0] = lpRecorder->getSessionId(); in android_media_AudioRecord_setup() 351 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup() 352 nSession = NULL; in android_media_AudioRecord_setup()
|
D | android_media_AudioTrack.cpp | 230 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() local 231 if (nSession == NULL) { in android_media_AudioTrack_setup() 235 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioTrack_setup() 236 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 237 nSession = NULL; in android_media_AudioTrack_setup() 414 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() 415 if (nSession == NULL) { in android_media_AudioTrack_setup() 420 nSession[0] = lpTrack->getSessionId(); in android_media_AudioTrack_setup() 421 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup() 422 nSession = NULL; in android_media_AudioTrack_setup() [all …]
|