Home
last modified time | relevance | path

Searched refs:nSession (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp233 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup() local
234 if (nSession == NULL) { in android_media_AudioRecord_setup()
238 int sessionId = nSession[0]; in android_media_AudioRecord_setup()
239 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup()
240 nSession = NULL; in android_media_AudioRecord_setup()
293 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioRecord_setup()
294 if (nSession == NULL) { in android_media_AudioRecord_setup()
299 nSession[0] = lpRecorder->getSessionId(); in android_media_AudioRecord_setup()
300 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioRecord_setup()
301 nSession = NULL; in android_media_AudioRecord_setup()
Dandroid_media_AudioTrack.cpp267 jint* nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup() local
268 if (nSession == NULL) { in android_media_AudioTrack_setup()
272 int sessionId = nSession[0]; in android_media_AudioTrack_setup()
273 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup()
274 nSession = NULL; in android_media_AudioTrack_setup()
363 nSession = (jint *) env->GetPrimitiveArrayCritical(jSession, NULL); in android_media_AudioTrack_setup()
364 if (nSession == NULL) { in android_media_AudioTrack_setup()
369 nSession[0] = lpTrack->getSessionId(); in android_media_AudioTrack_setup()
370 env->ReleasePrimitiveArrayCritical(jSession, nSession, 0); in android_media_AudioTrack_setup()
371 nSession = NULL; in android_media_AudioTrack_setup()
[all …]