Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DTrackedCollections.java41 CollectionState collectionState = mCollections.get(collection); in track() local
42 if (collectionState == null) { in track()
43 collectionState = new CollectionState(); in track()
44 collectionState.tag = tag; in track()
45 collectionState.startUptime = SystemClock.uptimeMillis(); in track()
46 mCollections.put(collection, collectionState); in track()
48 if (collectionState.halfwayCount == -1 in track()
49 && SystemClock.uptimeMillis() - collectionState.startUptime > HALFWAY_DELAY) { in track()
50 collectionState.halfwayCount = collectionState.lastCount; in track()
52 collectionState.lastCount = collection.size(); in track()
[all …]