Home
last modified time | relevance | path

Searched refs:lpJniStorage (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp337 VisualizerJniStorage* lpJniStorage = (VisualizerJniStorage*)user; in android_media_visualizer_effect_callback() local
338 visualizer_callback_cookie* callbackInfo = &lpJniStorage->mCallbackData; in android_media_visualizer_effect_callback()
355 VisualizerJniStorage* lpJniStorage = NULL; in android_media_visualizer_native_setup() local
364 lpJniStorage = new VisualizerJniStorage(); in android_media_visualizer_native_setup()
365 if (lpJniStorage == NULL) { in android_media_visualizer_native_setup()
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()
375 lpJniStorage, 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()
[all …]
Dandroid_media_AudioEffect.cpp286 AudioEffectJniStorage* lpJniStorage = NULL; in android_media_AudioEffect_native_setup() local
326 lpJniStorage = new AudioEffectJniStorage(); in android_media_AudioEffect_native_setup()
327 if (lpJniStorage == NULL) { in android_media_AudioEffect_native_setup()
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()
337 lpJniStorage, 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()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp245 AudioTrackJniStorage* lpJniStorage = NULL; in android_media_AudioTrack_setup() local
319 lpJniStorage = new AudioTrackJniStorage(); in android_media_AudioTrack_setup()
320 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup()
322 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup()
323 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup()
337 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_setup()
351 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_setup()
363 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_setup()
365 lpJniStorage->mMemBase,// shared mem in android_media_AudioTrack_setup()
402 lpJniStorage = new AudioTrackJniStorage(); in android_media_AudioTrack_setup()
[all …]