Searched refs:weakRef (Results 1 – 7 of 7) sorted by relevance
25 val weakRef = WeakReference(referent) in create() constant26 managedReferents.add(weakRef) in create()27 return weakRef in create()
20 var weakRef = WeakReference<T?>(obj) in weakReference() variable22 return weakRef.get() in weakReference()26 weakRef = WeakReference(value) in weakReference()
186 WeakReference<Object> weakRef = null; in requestAnimatorsEnabledImpl() local191 weakRef = ref; in requestAnimatorsEnabledImpl()197 if (weakRef == null) { in requestAnimatorsEnabledImpl()198 weakRef = new WeakReference<>(requestor); in requestAnimatorsEnabledImpl()199 mAnimatorRequestors.add(weakRef); in requestAnimatorsEnabledImpl()
1070 final WeakReference<ListenerWrapper> weakRef = sWrappers.get(listener); in setImpl() local1071 if (weakRef != null) { in setImpl()1072 recipientWrapper = weakRef.get(); in setImpl()1393 final WeakReference<ListenerWrapper> weakRef = sWrappers.get(listener); in cancel() local1394 if (weakRef != null) { in cancel()1395 wrapper = weakRef.get(); in cancel()
366 static <T> @Nullable T weakDeref(WeakReference<T> weakRef, String tag, String prefix) { in weakDeref() argument367 T deref = weakRef.get(); in weakDeref()369 Slog.wtf(tag, prefix + "fail to deref " + weakRef); in weakDeref()
482 auto weakRef = getSoundPoolJavaRefManager().get(soundPool); // shared_ptr to WeakRef in android_media_callback() local483 if (weakRef == nullptr) { in android_media_callback()489 auto javaSoundPool = make_unique_localref_from_ref(env, weakRef.get()); in android_media_callback()
286 for (WeakReference<BinderProxy> weakRef : proxiesToQuery) { in getSortedInterfaceCounts()287 BinderProxy bp = weakRef.get(); in getSortedInterfaceCounts()