Home
last modified time | relevance | path

Searched refs:mCallbackData (Results 1 – 7 of 7) 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.cpp89 audiotrack_callback_cookie mCallbackData; member in AudioTrackJniStorage
93 mCallbackData.audioTrack_class = 0; in AudioTrackJniStorage()
94 mCallbackData.audioTrack_ref = 0; in AudioTrackJniStorage()
95 mCallbackData.isOffload = false; in AudioTrackJniStorage()
314 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
316 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
317 lpJniStorage->mCallbackData.isOffload = offload; in android_media_AudioTrack_setup()
318 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup()
342 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_setup()
368 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_setup()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1605 mCallbackData(NULL), in AudioOutput()
1643 delete mCallbackData; in ~AudioOutput()
1837 if (mCallbackData != NULL) { in deleteRecycledTrack_l()
1838 mCallbackData->setOutput(NULL); in deleteRecycledTrack_l()
1839 mCallbackData->endTrackSwitch(); in deleteRecycledTrack_l()
1865 delete mCallbackData; in deleteRecycledTrack_l()
1866 mCallbackData = NULL; in deleteRecycledTrack_l()
1950 if ((mCallbackData == NULL && mCallback != NULL) || in open()
1951 (mCallbackData != NULL && mCallback == NULL)) { in open()
2070 if (mCallbackData != NULL) { in open()
[all …]
DMediaPlayerService.h161 CallbackData * mCallbackData; variable
/frameworks/av/media/libmediaplayer2/
DMediaPlayer2AudioOutput.cpp68 mCallbackData(NULL), in MediaPlayer2AudioOutput()
103 delete mCallbackData; in ~MediaPlayer2AudioOutput()
431 mCallbackData = newcbd; in open()
471 if (mCallbackData != NULL) { in start()
472 mCallbackData->endTrackSwitch(); in start()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
DMediaPlayer2AudioOutput.h113 CallbackData * mCallbackData; variable