Home
last modified time | relevance | path

Searched refs:mRefQueue (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/view/accessibility/
DWeakSparseArray.java28 private final ReferenceQueue<E> mRefQueue = new ReferenceQueue<>(); field in WeakSparseArray
33 mSparseArray.append(key, new WeakReferenceWithId(value, mRefQueue, key)); in append()
48 for (Reference ref = mRefQueue.poll(); ref != null; ref = mRefQueue.poll()) { in removeUnreachableValues()
/frameworks/base/tests/BinderLeakTest/java/com/android/test/binder/
DMyService.java31 ReferenceQueue<IFoo> mRefQueue = new ReferenceQueue<>(); in onBind()
37 mRef = new PhantomReference<>(binder, mRefQueue); in onBind()
44 return mRefQueue.poll() == mRef; in onBind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DWeakIdentityHashMap.java33 private final ReferenceQueue<Object> mRefQueue = new ReferenceQueue<>(); field in WeakIdentityHashMap
37 while ((ref = mRefQueue.poll()) != null) { in cleanUp()
44 mMap.put(new CmpWeakReference<>(key, mRefQueue), value); in put()
DTrackedGarbage.java38 private final ReferenceQueue<Object> mRefQueue = new ReferenceQueue<>(); field in TrackedGarbage
50 mGarbage.add(new LeakReference(o, mRefQueue)); in track()
56 while ((ref = mRefQueue.poll()) != null) { in cleanUp()