Searched refs:lpJniStorage (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 340 VisualizerJniStorage* lpJniStorage = (VisualizerJniStorage*)user; in android_media_visualizer_effect_callback() local 341 visualizer_callback_cookie* callbackInfo = &lpJniStorage->mCallbackData; in android_media_visualizer_effect_callback() 358 VisualizerJniStorage* lpJniStorage = NULL; in android_media_visualizer_native_setup() local 367 lpJniStorage = new VisualizerJniStorage(); in android_media_visualizer_native_setup() 368 if (lpJniStorage == NULL) { in android_media_visualizer_native_setup() 373 lpJniStorage->mCallbackData.visualizer_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_visualizer_native_setup() 375 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup() 378 lpJniStorage, in android_media_visualizer_native_setup() 379 lpJniStorage->mCallbackData.visualizer_ref, in android_media_visualizer_native_setup() 380 lpJniStorage->mCallbackData.visualizer_class, in android_media_visualizer_native_setup() [all …]
|
D | android_media_AudioEffect.cpp | 279 AudioEffectJniStorage* lpJniStorage = NULL; in android_media_AudioEffect_native_setup() local 314 lpJniStorage = new AudioEffectJniStorage(); in android_media_AudioEffect_native_setup() 315 if (lpJniStorage == NULL) { in android_media_AudioEffect_native_setup() 320 lpJniStorage->mCallbackData.audioEffect_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_AudioEffect_native_setup() 322 lpJniStorage->mCallbackData.audioEffect_ref = env->NewGlobalRef(weak_this); in android_media_AudioEffect_native_setup() 325 lpJniStorage, in android_media_AudioEffect_native_setup() 326 lpJniStorage->mCallbackData.audioEffect_ref, in android_media_AudioEffect_native_setup() 327 lpJniStorage->mCallbackData.audioEffect_class, in android_media_AudioEffect_native_setup() 328 &lpJniStorage->mCallbackData); in android_media_AudioEffect_native_setup() 355 &lpJniStorage->mCallbackData, in android_media_AudioEffect_native_setup() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 277 AudioTrackJniStorage* lpJniStorage = NULL; in android_media_AudioTrack_setup() local 348 lpJniStorage = new AudioTrackJniStorage(); in android_media_AudioTrack_setup() 349 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_setup() 351 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_setup() 352 lpJniStorage->mCallbackData.isOffload = offload; in android_media_AudioTrack_setup() 353 lpJniStorage->mCallbackData.busy = false; in android_media_AudioTrack_setup() 389 &(lpJniStorage->mCallbackData), // callback, callback data (user) in android_media_AudioTrack_setup() 405 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_setup() 416 &(lpJniStorage->mCallbackData), // callback, callback data (user) in android_media_AudioTrack_setup() 419 lpJniStorage->mMemBase, // shared mem in android_media_AudioTrack_setup() [all …]
|