Home
last modified time | relevance | path

Searched refs:weakRefs (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/modules-utils/javatests/com/android/internal/annotations/
DClassWithWeaklyReferencedField.java28 public ClassWithWeaklyReferencedField(List<WeakReference<Object>> weakRefs) { in ClassWithWeaklyReferencedField() argument
29 weakRefs.add(new WeakReference<>(mKeptField)); in ClassWithWeaklyReferencedField()
DKeepForWeakReferenceTest.java39 List<WeakReference<Object>> weakRefs = new ArrayList<>(); in testAnnotatedMemberKept() local
40 ClassWithWeaklyReferencedField instance = new ClassWithWeaklyReferencedField(weakRefs); in testAnnotatedMemberKept()
/frameworks/base/services/core/java/com/android/server/am/
DPendingIntentController.java409 final ArrayList<WeakReference<PendingIntentRecord>> weakRefs = new ArrayList<>(); in dumpPendingIntents() local
416 weakRefs.add(ref); in dumpPendingIntents()
441 if (weakRefs.size() > 0) { in dumpPendingIntents()
444 for (int i = 0; i < weakRefs.size(); i++) { in dumpPendingIntents()
445 pw.print(" #"); pw.print(i); pw.print(": "); pw.println(weakRefs.get(i)); in dumpPendingIntents()