Searched refs:nSession (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 233 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()
|
D | android_media_AudioTrack.cpp | 267 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 …]
|