Searched refs:nSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 161 jint* nSession = env->GetIntArrayElements(jSession, nullptr /* isCopy */); in android_media_AudioRecord_setup() local 162 if (nSession == NULL) { in android_media_AudioRecord_setup() 166 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioRecord_setup() 167 env->ReleaseIntArrayElements(jSession, nSession, 0 /* mode */); in android_media_AudioRecord_setup() 168 nSession = NULL; in android_media_AudioRecord_setup() 282 nSession = env->GetIntArrayElements(jSession, nullptr /* isCopy */); in android_media_AudioRecord_setup() 283 if (nSession == NULL) { in android_media_AudioRecord_setup() 288 nSession[0] = lpRecorder->getSessionId(); in android_media_AudioRecord_setup() 289 env->ReleaseIntArrayElements(jSession, nSession, 0 /* mode */); in android_media_AudioRecord_setup() 290 nSession = NULL; in android_media_AudioRecord_setup()
|
D | android_media_AudioTrack.cpp | 263 jint* nSession = env->GetIntArrayElements(jSession, nullptr /* isCopy */); in android_media_AudioTrack_setup() local 264 if (nSession == NULL) { in android_media_AudioTrack_setup() 268 audio_session_t sessionId = (audio_session_t) nSession[0]; in android_media_AudioTrack_setup() 269 env->ReleaseIntArrayElements(jSession, nSession, 0 /* mode */); in android_media_AudioTrack_setup() 270 nSession = NULL; in android_media_AudioTrack_setup() 460 nSession = env->GetIntArrayElements(jSession, nullptr /* isCopy */); in android_media_AudioTrack_setup() 461 if (nSession == NULL) { in android_media_AudioTrack_setup() 466 nSession[0] = lpTrack->getSessionId(); in android_media_AudioTrack_setup() 467 env->ReleaseIntArrayElements(jSession, nSession, 0 /* mode */); in android_media_AudioTrack_setup() 468 nSession = NULL; in android_media_AudioTrack_setup() [all …]
|