Searched refs:weakRef (Results 1 – 6 of 6) sorted by relevance
139 private <T> T getRef(WeakReference<T> weakRef) { in getRef() argument140 if (weakRef == null) { in getRef()143 return weakRef.get(); in getRef()
181 android_media_SoundPool_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, in android_media_SoundPool_native_setup() argument213 jobject globalWeakRef = env->NewGlobalRef(weakRef); in android_media_SoundPool_native_setup()230 jobject weakRef = (jobject) ap->getUserData(); in android_media_SoundPool_release() local232 if (weakRef != NULL) { in android_media_SoundPool_release()233 env->DeleteGlobalRef(weakRef); in android_media_SoundPool_release()
239 for (WeakReference<Callback> weakRef : mCallbacks) { in prependImpl()240 Callback callback = weakRef.get(); in prependImpl()279 for (WeakReference<Callback> weakRef : mCallbacks) { in appendImpl()280 Callback callback = weakRef.get(); in appendImpl()
168 for (WeakReference<Callback> weakRef : mCallbacks) {169 Callback callback = weakRef.get();
64 public boolean test(WeakReference<Resources> weakRef) {65 return weakRef == null || weakRef.get() == null;
514 private native final int native_setup(Object weakRef, int maxStreams, in native_setup() argument