Searched refs:weakRef (Results 1 – 3 of 3) sorted by relevance
172 android_media_SoundPool_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, in android_media_SoundPool_native_setup() argument204 jobject globalWeakRef = env->NewGlobalRef(weakRef); in android_media_SoundPool_native_setup()221 jobject weakRef = (jobject) ap->getUserData(); in android_media_SoundPool_release() local223 if (weakRef != NULL) { in android_media_SoundPool_release()224 env->DeleteGlobalRef(weakRef); in android_media_SoundPool_release()
63 public boolean test(WeakReference<Resources> weakRef) {64 return weakRef == null || weakRef.get() == null;
544 private native final int native_setup(Object weakRef, int maxStreams, in native_setup() argument