Home
last modified time | relevance | path

Searched refs:mCallbackData (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp107 visualizer_callback_cookie mCallbackData; member in VisualizerJniStorage
338 visualizer_callback_cookie* callbackInfo = &lpJniStorage->mCallbackData; in android_media_visualizer_effect_callback()
370 lpJniStorage->mCallbackData.visualizer_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_visualizer_native_setup()
372 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
376 lpJniStorage->mCallbackData.visualizer_ref, in android_media_visualizer_native_setup()
377 lpJniStorage->mCallbackData.visualizer_class, in android_media_visualizer_native_setup()
378 &lpJniStorage->mCallbackData); in android_media_visualizer_native_setup()
427 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_class); in android_media_visualizer_native_setup()
428 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_ref); in android_media_visualizer_native_setup()
454 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_class); in android_media_visualizer_native_release()
[all …]
Dandroid_media_AudioEffect.cpp63 effect_callback_cookie mCallbackData; member in AudioEffectJniStorage
332 lpJniStorage->mCallbackData.audioEffect_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_AudioEffect_native_setup()
334 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup()
338 lpJniStorage->mCallbackData.audioEffect_ref, in android_media_AudioEffect_native_setup()
339 lpJniStorage->mCallbackData.audioEffect_class, in android_media_AudioEffect_native_setup()
340 &lpJniStorage->mCallbackData); in android_media_AudioEffect_native_setup()
354 &lpJniStorage->mCallbackData, in android_media_AudioEffect_native_setup()
441 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_setup()
442 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_ref); in android_media_AudioEffect_native_setup()
476 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_release()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp86 audiotrack_callback_cookie mCallbackData; member in AudioTrackJniStorage
90 mCallbackData.audioTrack_class = 0; in AudioTrackJniStorage()
91 mCallbackData.audioTrack_ref = 0; in AudioTrackJniStorage()
321 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
323 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
324 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup()
338 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_setup()
364 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_setup()
404 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
406 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1540 mCallbackData(NULL), in AudioOutput()
1574 delete mCallbackData; in ~AudioOutput()
1768 if (mCallbackData != NULL) { in deleteRecycledTrack_l()
1769 mCallbackData->setOutput(NULL); in deleteRecycledTrack_l()
1770 mCallbackData->endTrackSwitch(); in deleteRecycledTrack_l()
1796 delete mCallbackData; in deleteRecycledTrack_l()
1797 mCallbackData = NULL; in deleteRecycledTrack_l()
1881 if ((mCallbackData == NULL && mCallback != NULL) || in open()
1882 (mCallbackData != NULL && mCallback == NULL)) { in open()
1998 if (mCallbackData != NULL) { in open()
[all …]
DMediaPlayerService.h153 CallbackData * mCallbackData; variable