Searched refs:weakRef (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool_SoundPoolImpl.cpp | 179 android_media_SoundPool_SoundPoolImpl_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, jint… in android_media_SoundPool_SoundPoolImpl_native_setup() argument 191 jobject globalWeakRef = env->NewGlobalRef(weakRef); in android_media_SoundPool_SoundPoolImpl_native_setup() 204 jobject weakRef = (jobject) ap->getUserData(); in android_media_SoundPool_SoundPoolImpl_release() local 205 if (weakRef != NULL) { in android_media_SoundPool_SoundPoolImpl_release() 206 env->DeleteGlobalRef(weakRef); in android_media_SoundPool_SoundPoolImpl_release()
|
/frameworks/base/media/java/android/media/ |
D | SoundPool.java | 600 … private static void postEventFromNative(Object weakRef, int msg, int arg1, int arg2, Object obj) in postEventFromNative() argument 602 SoundPoolImpl soundPoolImpl = (SoundPoolImpl)((WeakReference)weakRef).get(); in postEventFromNative() 614 …private native final int native_setup(Object weakRef, int maxStreams, int streamType, int srcQuali… in native_setup() argument
|