Searched refs:lpCookie (Results 1 – 2 of 2) sorted by relevance
421 audiorecord_callback_cookie *lpCookie = (audiorecord_callback_cookie *)env->GetLongField( in android_media_AudioRecord_release() local429 if (lpCookie) { in android_media_AudioRecord_release()431 ALOGV("deleting lpCookie: %p", lpCookie); in android_media_AudioRecord_release()432 while (lpCookie->busy) { in android_media_AudioRecord_release()433 if (lpCookie->cond.waitRelative(sLock, in android_media_AudioRecord_release()439 sAudioRecordCallBackCookies.remove(lpCookie); in android_media_AudioRecord_release()440 env->DeleteGlobalRef(lpCookie->audioRecord_class); in android_media_AudioRecord_release()441 env->DeleteGlobalRef(lpCookie->audioRecord_ref); in android_media_AudioRecord_release()442 delete lpCookie; in android_media_AudioRecord_release()
627 audiotrack_callback_cookie *lpCookie = &pJniStorage->mCallbackData; in android_media_AudioTrack_release() local629 while (lpCookie->busy) { in android_media_AudioTrack_release()630 if (lpCookie->cond.waitRelative(sLock, in android_media_AudioTrack_release()636 sAudioTrackCallBackCookies.remove(lpCookie); in android_media_AudioTrack_release()638 env->DeleteGlobalRef(lpCookie->audioTrack_class); in android_media_AudioTrack_release()639 env->DeleteGlobalRef(lpCookie->audioTrack_ref); in android_media_AudioTrack_release()