Searched refs:lpJniStorage (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 229 visualizerJniStorage* lpJniStorage = NULL; in android_media_visualizer_native_setup() local 234 lpJniStorage = new visualizerJniStorage(); in android_media_visualizer_native_setup() 235 if (lpJniStorage == NULL) { in android_media_visualizer_native_setup() 240 lpJniStorage->mCallbackData.visualizer_class = (jclass)env->NewGlobalRef(fields.clazzEffect); in android_media_visualizer_native_setup() 242 lpJniStorage->mCallbackData.visualizer_ref = env->NewGlobalRef(weak_this); in android_media_visualizer_native_setup() 245 lpJniStorage, in android_media_visualizer_native_setup() 246 lpJniStorage->mCallbackData.visualizer_ref, in android_media_visualizer_native_setup() 247 lpJniStorage->mCallbackData.visualizer_class, in android_media_visualizer_native_setup() 248 &lpJniStorage->mCallbackData); in android_media_visualizer_native_setup() 284 env->SetIntField(thiz, fields.fidJniData, (int)lpJniStorage); in android_media_visualizer_native_setup() [all …]
|
D | android_media_AudioEffect.cpp | 255 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/ |
D | android_media_AudioTrack.cpp | 247 AudioTrackJniStorage* lpJniStorage = new AudioTrackJniStorage(); in android_media_AudioTrack_native_setup() local 254 delete lpJniStorage; in android_media_AudioTrack_native_setup() 257 lpJniStorage->mCallbackData.audioTrack_class = (jclass)env->NewGlobalRef(clazz); in android_media_AudioTrack_native_setup() 259 lpJniStorage->mCallbackData.audioTrack_ref = env->NewGlobalRef(weak_this); in android_media_AudioTrack_native_setup() 261 lpJniStorage->mStreamType = atStreamType; in android_media_AudioTrack_native_setup() 265 delete lpJniStorage; in android_media_AudioTrack_native_setup() 272 delete lpJniStorage; in android_media_AudioTrack_native_setup() 296 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) in android_media_AudioTrack_native_setup() 305 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_native_setup() 317 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); in android_media_AudioTrack_native_setup() [all …]
|