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.cpp116 visualizer_callback_cookie mCallbackData{}; member
411 lpJniStorage->mCallbackData.visualizer_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_visualizer_native_setup()
413 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
417 lpJniStorage->mCallbackData.visualizer_ref, in android_media_visualizer_native_setup()
418 lpJniStorage->mCallbackData.visualizer_class, in android_media_visualizer_native_setup()
419 &lpJniStorage->mCallbackData); in android_media_visualizer_native_setup()
437 &lpJniStorage->mCallbackData, in android_media_visualizer_native_setup()
460 sVisualizerCallBackCookies.insert(&lpJniStorage->mCallbackData); in android_media_visualizer_native_setup()
474 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_class); in android_media_visualizer_native_setup()
475 env->DeleteGlobalRef(lpJniStorage->mCallbackData.visualizer_ref); in android_media_visualizer_native_setup()
[all …]
Dandroid_media_AudioEffect.cpp70 effect_callback_cookie mCallbackData{}; member
325 lpJniStorage->mCallbackData.audioEffect_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_AudioEffect_native_setup()
327 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup()
331 lpJniStorage->mCallbackData.audioEffect_ref, in android_media_AudioEffect_native_setup()
332 lpJniStorage->mCallbackData.audioEffect_class, in android_media_AudioEffect_native_setup()
333 &lpJniStorage->mCallbackData); in android_media_AudioEffect_native_setup()
360 &lpJniStorage->mCallbackData, in android_media_AudioEffect_native_setup()
411 sAudioEffectCallBackCookies.insert(&lpJniStorage->mCallbackData); in android_media_AudioEffect_native_setup()
425 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_class); in android_media_AudioEffect_native_setup()
426 env->DeleteGlobalRef(lpJniStorage->mCallbackData.audioEffect_ref); in android_media_AudioEffect_native_setup()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1820 mCallbackData(NULL), in AudioOutput()
2048 if (mCallbackData != NULL) { in deleteRecycledTrack_l()
2049 mCallbackData->setOutput(NULL); in deleteRecycledTrack_l()
2050 mCallbackData->endTrackSwitch(); in deleteRecycledTrack_l()
2076 mCallbackData.clear(); in deleteRecycledTrack_l()
2166 if ((mCallbackData == NULL && mCallback != NULL) || in open()
2167 (mCallbackData != NULL && mCallback == NULL)) { in open()
2289 if (mCallbackData != NULL) { in open()
2290 mCallbackData->setOutput(this); in open()
2304 mCallbackData = newcbd; in open()
[all …]
DMediaPlayerService.h168 sp<CallbackData> mCallbackData; variable
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp558 mCallbackData = data; in storeCallback()
564 mCallbackData = nullptr; in clearCallback()
576 void* mCallbackData = nullptr; member in android::os::incremental::MockLooperWrapper
1079 ASSERT_NE(nullptr, mLooper->mCallbackData); in TEST_F()
1081 auto looperCbData = mLooper->mCallbackData; in TEST_F()
1251 ASSERT_NE(nullptr, mLooper->mCallbackData); in TEST_F()
1252 mLooper->mCallback(-1, -1, mLooper->mCallbackData); in TEST_F()
1366 ASSERT_NE(nullptr, mLooper->mCallbackData); in TEST_F()
1373 mLooper->mCallback(-1, -1, mLooper->mCallbackData); in TEST_F()
1377 ASSERT_EQ(nullptr, mLooper->mCallbackData); in TEST_F()
[all …]