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
336 visualizer_callback_cookie* callbackInfo = &lpJniStorage->mCallbackData; in android_media_visualizer_effect_callback()
368 lpJniStorage->mCallbackData.visualizer_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_visualizer_native_setup()
370 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
374 lpJniStorage->mCallbackData.visualizer_ref, in android_media_visualizer_native_setup()
375 lpJniStorage->mCallbackData.visualizer_class, in android_media_visualizer_native_setup()
376 &lpJniStorage->mCallbackData); in android_media_visualizer_native_setup()
425 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_class); in android_media_visualizer_native_setup()
426 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_ref); in android_media_visualizer_native_setup()
453 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_class); in android_media_visualizer_native_release()
[all …]
Dandroid_media_AudioEffect.cpp66 effect_callback_cookie mCallbackData; member in AudioEffectJniStorage
317 lpJniStorage->mCallbackData.audioEffect_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_AudioEffect_native_setup()
319 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup()
323 lpJniStorage->mCallbackData.audioEffect_ref, in android_media_AudioEffect_native_setup()
324 lpJniStorage->mCallbackData.audioEffect_class, in android_media_AudioEffect_native_setup()
325 &lpJniStorage->mCallbackData); in android_media_AudioEffect_native_setup()
345 &lpJniStorage->mCallbackData, in android_media_AudioEffect_native_setup()
404 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_setup()
405 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_ref); in android_media_AudioEffect_native_setup()
439 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_release()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp81 audiotrack_callback_cookie mCallbackData; member in AudioTrackJniStorage
85 mCallbackData.audioTrack_class = 0; in AudioTrackJniStorage()
86 mCallbackData.audioTrack_ref = 0; in AudioTrackJniStorage()
87 mCallbackData.isOffload = false; in AudioTrackJniStorage()
309 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
311 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
312 lpJniStorage->mCallbackData.isOffload = offload; in android_media_AudioTrack_setup()
313 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup()
336 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_setup()
363 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_setup()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1596 mCallbackData(NULL), in AudioOutput()
1634 delete mCallbackData; in ~AudioOutput()
1828 if (mCallbackData != NULL) { in deleteRecycledTrack_l()
1829 mCallbackData->setOutput(NULL); in deleteRecycledTrack_l()
1830 mCallbackData->endTrackSwitch(); in deleteRecycledTrack_l()
1856 delete mCallbackData; in deleteRecycledTrack_l()
1857 mCallbackData = NULL; in deleteRecycledTrack_l()
1947 if ((mCallbackData == NULL && mCallback != NULL) || in open()
1948 (mCallbackData != NULL && mCallback == NULL)) { in open()
2067 if (mCallbackData != NULL) { in open()
[all …]
DMediaPlayerService.h160 CallbackData * mCallbackData; variable