Home
last modified time | relevance | path

Searched refs:weakRef (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/reference/
DFakeWeakReferenceFactory.kt25 val weakRef = WeakReference(referent) in create() constant
26 managedReferents.add(weakRef) in create()
27 return weakRef in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DReferenceExt.kt20 var weakRef = WeakReference<T?>(obj) in weakReference() variable
22 return weakRef.get() in weakReference()
26 weakRef = WeakReference(value) in weakReference()
/frameworks/base/core/java/android/animation/
DAnimationHandler.java186 WeakReference<Object> weakRef = null; in requestAnimatorsEnabledImpl() local
191 weakRef = ref; in requestAnimatorsEnabledImpl()
197 if (weakRef == null) { in requestAnimatorsEnabledImpl()
198 weakRef = new WeakReference<>(requestor); in requestAnimatorsEnabledImpl()
199 mAnimatorRequestors.add(weakRef); in requestAnimatorsEnabledImpl()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java1070 final WeakReference<ListenerWrapper> weakRef = sWrappers.get(listener); in setImpl() local
1071 if (weakRef != null) { in setImpl()
1072 recipientWrapper = weakRef.get(); in setImpl()
1393 final WeakReference<ListenerWrapper> weakRef = sWrappers.get(listener); in cancel() local
1394 if (weakRef != null) { in cancel()
1395 wrapper = weakRef.get(); in cancel()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DHelper.java366 static <T> @Nullable T weakDeref(WeakReference<T> weakRef, String tag, String prefix) { in weakDeref() argument
367 T deref = weakRef.get(); in weakDeref()
369 Slog.wtf(tag, prefix + "fail to deref " + weakRef); in weakDeref()
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp482 auto weakRef = getSoundPoolJavaRefManager().get(soundPool); // shared_ptr to WeakRef in android_media_callback() local
483 if (weakRef == nullptr) { in android_media_callback()
489 auto javaSoundPool = make_unique_localref_from_ref(env, weakRef.get()); in android_media_callback()
/frameworks/base/core/java/android/os/
DBinderProxy.java286 for (WeakReference<BinderProxy> weakRef : proxiesToQuery) { in getSortedInterfaceCounts()
287 BinderProxy bp = weakRef.get(); in getSortedInterfaceCounts()