Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityWindowInfo.java26 private static final Map<StrictEqualityWindowWrapper, StackTraceElement[]> obtainedInstances = field in ShadowAccessibilityWindowInfo
62 obtainedInstances.put(wrapper, Thread.currentThread().getStackTrace()); in obtain()
71 obtainedInstances.put(wrapper, Thread.currentThread().getStackTrace()); in obtain()
99 obtainedInstances.clear(); in resetObtainedInstances()
113 for (final StrictEqualityWindowWrapper wrapper : obtainedInstances.keySet()) { in areThereUnrecycledWindows()
118 for (final StackTraceElement stackTraceElement : obtainedInstances.get(wrapper)) { in areThereUnrecycledWindows()
124 return (obtainedInstances.size() != 0); in areThereUnrecycledWindows()
DShadowAccessibilityNodeInfo.java48 private static final Map<StrictEqualityNodeWrapper, StackTraceElement[]> obtainedInstances = field in ShadowAccessibilityNodeInfo
201 obtainedInstances.put(wrapper, Thread.currentThread().getStackTrace()); in obtain()
232 obtainedInstances.put(wrapper, Thread.currentThread().getStackTrace()); in obtain()
259 for (final StrictEqualityNodeWrapper wrapper : obtainedInstances.keySet()) { in areThereUnrecycledNodes()
264 for (final StackTraceElement stackTraceElement : obtainedInstances.get(wrapper)) { in areThereUnrecycledNodes()
270 return (obtainedInstances.size() != 0); in areThereUnrecycledNodes()
279 obtainedInstances.clear(); in resetObtainedInstances()
287 if (!obtainedInstances.containsKey(wrapper)) { in recycle()
308 obtainedInstances.remove(wrapper); in recycle()