/external/mockito/src/main/java/org/mockito/internal/util/concurrent/ |
H A D | WeakConcurrentMap.java | 29 public final ConcurrentMap<WeakKey<K>, V> target; 37 target = new ConcurrentHashMap<WeakKey<K>, V>(); 59 V previousValue = target.putIfAbsent(new WeakKey<K>(key, this), value); 84 return target.put(new WeakKey<K>(key, this), value); 161 * WeakKey instances to function correctly, we are voluntarily breaking the Java API contract for 166 * within the WeakKey instances. This way, we always know the correct hash code of a key and always 173 * using another WeakKey wrapper guarantees a correct result. 175 * If we are looking up the map entry of a WeakKey after polling it from the reference queue, we know 176 * that the actual key was already collected and calling WeakKey::get returns null for both the polled 187 private static class WeakKey< class in class:WeakConcurrentMap 191 WeakKey(T key, ReferenceQueue<? super T> queue) { method in class:WeakConcurrentMap.WeakKey [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
H A D | WeakHashtable.java | 327 WeakKey key; 328 while ((key = (WeakKey) queue.poll()) != null) { 341 WeakKey key = (WeakKey) queue.poll(); 416 reference = new WeakKey(key, queue, this); 468 private final static class WeakKey extends WeakReference { class in class:WeakHashtable 472 private WeakKey(Object key, method in class:WeakHashtable.WeakKey
|
/external/desugar/java/com/google/devtools/build/android/desugar/runtime/ |
H A D | ThrowableExtension.java | 309 private final ConcurrentHashMap<WeakKey, List<Throwable>> map = 321 WeakKey keyForQuery = new WeakKey(throwable, null); 330 list = map.putIfAbsent(new WeakKey(throwable, referenceQueue), newValue); 346 private static final class WeakKey extends WeakReference<Throwable> { class in class:ThrowableExtension.ConcurrentWeakIdentityHashMap 355 public WeakKey(Throwable referent, ReferenceQueue<Throwable> q) { method in class:ThrowableExtension.ConcurrentWeakIdentityHashMap.WeakKey 376 WeakKey other = (WeakKey) obj;
|
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/ |
H A D | InlineDexmakerMockMaker.java | 363 private HashMap<WeakKey, InvocationHandlerAdapter> adapters = new HashMap<>(); 501 adapters.put(new WeakKey(mock), adapter); 540 for (WeakKey key : adapters.keySet()) { 572 for (Entry<WeakKey, InvocationHandlerAdapter> entry : adapters.entrySet()) { 595 private class WeakKey extends WeakReference<Object> { class in class:InlineDexmakerMockMaker.MockMap 598 private WeakKey(/*@NonNull*/ Object obj) { method in class:InlineDexmakerMockMaker.MockMap.WeakKey 627 if (other instanceof WeakKey) { 628 Object otherObj = ((WeakKey) other).get(); 660 if (other instanceof WeakKey) { 661 Object otherObj = ((WeakKey) othe [all...] |
/external/robolectric/v1/lib/main/ |
H A D | commons-logging-1.1.1.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/logging/ ... |
/external/annotation-tools/annotation-file-utilities/lib/ |
H A D | plume-core.jar | META-INF/ META-INF/MANIFEST.MF plume/ArraysMDE$ComparableArrayComparatorLengthFirst.class ArraysMDE.java package ... |
/external/annotation-tools/annotation-file-utilities/ |
H A D | annotation-file-utilities.jar | META-INF/ META-INF/MANIFEST.MF annotations/ annotations/el/ annotations/field/ annotations/io/ annotations/io/classfile/ ... |
/external/robolectric/v3/runtime/ |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |