Home
last modified time | relevance | path

Searched refs:mCallbackData (Results 1 – 6 of 6) 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()
412 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_setup()
413 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_ref); in android_media_AudioEffect_native_setup()
447 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_release()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp82 audiotrack_callback_cookie mCallbackData{}; member in AudioTrackJniStorage
354 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
356 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
357 lpJniStorage->mCallbackData.isOffload = offload; in android_media_AudioTrack_setup()
358 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup()
381 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_setup()
408 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_setup()
451 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
453 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
454 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1767 mCallbackData(NULL), in AudioOutput()
1805 delete mCallbackData; in ~AudioOutput()
1999 if (mCallbackData != NULL) { in deleteRecycledTrack_l()
2000 mCallbackData->setOutput(NULL); in deleteRecycledTrack_l()
2001 mCallbackData->endTrackSwitch(); in deleteRecycledTrack_l()
2027 delete mCallbackData; in deleteRecycledTrack_l()
2028 mCallbackData = NULL; in deleteRecycledTrack_l()
2118 if ((mCallbackData == NULL && mCallback != NULL) || in open()
2119 (mCallbackData != NULL && mCallback == NULL)) { in open()
2240 if (mCallbackData != NULL) { in open()
[all …]
DMediaPlayerService.h160 CallbackData * mCallbackData; variable
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp399 mCallbackData = data; in storeCallback()
405 mCallbackData = nullptr; in clearCallback()
417 void* mCallbackData = nullptr; member in android::os::incremental::MockLooperWrapper
774 ASSERT_NE(nullptr, mLooper->mCallbackData); in TEST_F()
775 mLooper->mCallback(-1, -1, mLooper->mCallbackData); in TEST_F()
833 ASSERT_NE(nullptr, mLooper->mCallbackData); in TEST_F()
839 mLooper->mCallback(-1, -1, mLooper->mCallbackData); in TEST_F()
843 ASSERT_EQ(nullptr, mLooper->mCallbackData); in TEST_F()
858 ASSERT_EQ(nullptr, mLooper->mCallbackData); in TEST_F()
873 ASSERT_EQ(nullptr, mLooper->mCallbackData); in TEST_F()
[all …]