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.cpp294 visualizerJniStorage* lpJniStorage = (visualizerJniStorage*)user; in android_media_visualizer_effect_callback() local
295 visualizer_callback_cookie* callbackInfo = &lpJniStorage->mCallbackData; in android_media_visualizer_effect_callback()
312 visualizerJniStorage* lpJniStorage = NULL; in android_media_visualizer_native_setup() local
317 lpJniStorage = new visualizerJniStorage(); in android_media_visualizer_native_setup()
318 if (lpJniStorage == NULL) { in android_media_visualizer_native_setup()
323 lpJniStorage->mCallbackData.visualizer_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_visualizer_native_setup()
325 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup()
328 lpJniStorage, in android_media_visualizer_native_setup()
329 lpJniStorage->mCallbackData.visualizer_ref, in android_media_visualizer_native_setup()
330 lpJniStorage->mCallbackData.visualizer_class, in android_media_visualizer_native_setup()
[all …]
Dandroid_media_AudioEffect.cpp255 AudioEffectJniStorage* lpJniStorage = NULL; in android_media_AudioEffect_native_setup() local
291 lpJniStorage = new AudioEffectJniStorage(); in android_media_AudioEffect_native_setup()
292 if (lpJniStorage == NULL) { in android_media_AudioEffect_native_setup()
297 lpJniStorage->mCallbackData.audioEffect_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_AudioEffect_native_setup()
299 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup()
302 lpJniStorage, in android_media_AudioEffect_native_setup()
303 lpJniStorage->mCallbackData.audioEffect_ref, in android_media_AudioEffect_native_setup()
304 lpJniStorage->mCallbackData.audioEffect_class, in android_media_AudioEffect_native_setup()
305 &lpJniStorage->mCallbackData); in android_media_AudioEffect_native_setup()
318 &lpJniStorage->mCallbackData, in android_media_AudioEffect_native_setup()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp303 AudioTrackJniStorage* lpJniStorage = new AudioTrackJniStorage(); in android_media_AudioTrack_native_setup() local
304 lpJniStorage->mStreamType = atStreamType; in android_media_AudioTrack_native_setup()
305 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_native_setup()
307 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_native_setup()
308 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_native_setup()
321 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_native_setup()
331 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_native_setup()
343 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_native_setup()
345 lpJniStorage->mMemBase,// shared mem in android_media_AudioTrack_native_setup()
372 sAudioTrackCallBackCookies.add(&lpJniStorage->mCallbackData); in android_media_AudioTrack_native_setup()
[all …]