Searched defs:lpCookie (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp328 audiorecord_callback_cookie *lpCookie = (audiorecord_callback_cookie *)env->GetLongField( local
336 if (lpCookie) {
338 ALOGV("deleting lpCookie: %p", lpCookie);
339 while (lpCookie->busy) {
340 if (lpCookie->cond.waitRelative(sLock,
346 sAudioRecordCallBackCookies.remove(lpCookie);
347 env->DeleteGlobalRef(lpCookie->audioRecord_class);
348 env->DeleteGlobalRef(lpCookie->audioRecord_ref);
349 delete lpCookie;
[all...]
H A Dandroid_media_AudioTrack.cpp489 audiotrack_callback_cookie *lpCookie = &pJniStorage->mCallbackData; local
491 while (lpCookie->busy) {
492 if (lpCookie->cond.waitRelative(sLock,
498 sAudioTrackCallBackCookies.remove(lpCookie);
500 env->DeleteGlobalRef(lpCookie->audioTrack_class);
501 env->DeleteGlobalRef(lpCookie->audioTrack_ref);

Completed in 47 milliseconds