Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java48 private boolean mGarbage = false; field in SparseWeakArray
99 mGarbage = true; in delete()
117 mGarbage = true; in removeAt()
142 mGarbage = false; in gc()
165 if (mSize >= mKeys.length && (mGarbage || hasReclaimedRefs())) { in put()
183 if (mGarbage) { in size()
196 if (mGarbage) { in keyAt()
209 if (mGarbage) { in valueAt()
222 if (mGarbage) { in setValueAt()
235 if (mGarbage) { in indexOfKey()
[all …]
/frameworks/base/core/java/android/util/
DSparseArray.java58 private boolean mGarbage = false; field in SparseArray
149 mGarbage = true; in delete()
165 mGarbage = true; in removeReturnOld()
195 mGarbage = true; in removeAt()
237 mGarbage = false; in gc()
262 if (mGarbage && mSize >= mKeys.length) { in put()
280 if (mGarbage) { in size()
308 if (mGarbage) { in keyAt()
338 if (mGarbage) { in valueAt()
361 if (mGarbage) { in setValueAt()
[all …]
DLongSparseArray.java62 private boolean mGarbage = false; field in LongSparseArray
139 mGarbage = true; in delete()
158 mGarbage = true; in removeIf()
179 mGarbage = true; in removeAt()
205 mGarbage = false; in gc()
230 if (mGarbage && mSize >= mKeys.length) { in put()
248 if (mGarbage) { in size()
276 if (mGarbage) { in keyAt()
306 if (mGarbage) { in valueAt()
329 if (mGarbage) { in setValueAt()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedGarbage.java37 private final HashSet<LeakReference> mGarbage = new HashSet<>(); field in TrackedGarbage
50 mGarbage.add(new LeakReference(o, mRefQueue)); in track()
51 mTrackedCollections.track(mGarbage, "Garbage"); in track()
57 mGarbage.remove(ref); in cleanUp()
91 for (LeakReference ref : mGarbage) { in dump()
115 for (LeakReference ref : mGarbage) { in countOldGarbage()