Searched refs:lpJniStorage (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 396 VisualizerJniStorage* lpJniStorage = NULL; in android_media_visualizer_native_setup() local 405 lpJniStorage = new VisualizerJniStorage(); in android_media_visualizer_native_setup() 406 if (lpJniStorage == NULL) { in android_media_visualizer_native_setup() 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() 416 lpJniStorage, 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() [all …]
|
D | android_media_AudioEffect.cpp | 284 AudioEffectJniStorage* lpJniStorage = NULL; in android_media_AudioEffect_native_setup() local 319 lpJniStorage = new AudioEffectJniStorage(); in android_media_AudioEffect_native_setup() 320 if (lpJniStorage == NULL) { in android_media_AudioEffect_native_setup() 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() 330 lpJniStorage, 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() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 281 const auto lpJniStorage = sp<AudioTrackJniStorage>::make(clazz, weak_this, offload); in android_media_AudioTrack_setup() local 375 lpJniStorage, in android_media_AudioTrack_setup() 402 lpJniStorage, in android_media_AudioTrack_setup() 455 lpJniStorage->mAudioTrackCallback = in android_media_AudioTrack_setup() 456 sp<JNIAudioTrackCallback>::make(env, thiz, lpJniStorage->getAudioTrackWeakRef(), in android_media_AudioTrack_setup() 458 lpTrack->setAudioTrackCallback(lpJniStorage->mAudioTrackCallback); in android_media_AudioTrack_setup() 481 setFieldSp(env, thiz, lpJniStorage, javaAudioTrackFields.jniData); in android_media_AudioTrack_setup()
|