HomeSort by relevance Sort by last modified time
    Searched refs:WeakReference (Results 26 - 50 of 164) sorted by null

12 3 4 5 6 7

  /developers/build/prebuilts/gradle/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/
IncomingMessageHandler.kt 25 import java.lang.ref.WeakReference
36 private val mainActivity: WeakReference<MainActivity> = WeakReference(activity)
  /developers/samples/android/background/JobScheduler/kotlinApp/app/src/main/java/com/example/android/jobscheduler/
IncomingMessageHandler.kt 25 import java.lang.ref.WeakReference
36 private val mainActivity: WeakReference<MainActivity> = WeakReference(activity)
  /external/guava/guava-tests/test/com/google/common/collect/
InternersTest.java 25 import java.lang.ref.WeakReference;
75 WeakReference<Integer> signal = new WeakReference<Integer>(canonical);
  /external/guava/guava-testlib/src/com/google/common/testing/
GcFinalization.java 23 import java.lang.ref.WeakReference;
80 * private WeakReference<Foo> fooWeakRef() {
82 * WeakReference<Foo> weakRef = new WeakReference<Foo>(x);
254 public static void awaitClear(final WeakReference<?> ref) {
286 WeakReference<Object> ref = new WeakReference<Object>(
  /cts/hostsidetests/securitybulletin/src/android/security/cts/
HostsideOomCatcher.java 42 import java.lang.ref.WeakReference;
55 private static Map<String, WeakReference<BackgroundDeviceAction>> oomCatchers =
117 WeakReference<BackgroundDeviceAction> reference =
131 oomCatchers.put(getDevice().getSerialNumber(), new WeakReference<>(oomCatcher));
141 WeakReference<BackgroundDeviceAction> reference = oomCatchers.get(serial);
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
StripedTest.java 33 import java.lang.ref.WeakReference;
115 WeakReference<Object> weakRef = new WeakReference<Object>(striped.get(new Object()));
122 WeakReference<Object> weakRef = new WeakReference<Object>(striped.get(new Object()));
123 WeakReference<Object> garbage = new WeakReference<Object>(new Object());
  /developers/build/prebuilts/gradle/CardReader/Application/src/main/java/com/example/android/cardreader/
LoyaltyCardReader.java 25 import java.lang.ref.WeakReference;
45 private WeakReference<AccountCallback> mAccountCallback;
52 mAccountCallback = new WeakReference<AccountCallback>(accountCallback);
  /developers/build/prebuilts/gradle/EmojiCompat/app/src/main/java/com/example/android/emojicompat/
MainActivity.java 30 import java.lang.ref.WeakReference;
110 private final WeakReference<TextView> mRegularTextViewRef;
113 mRegularTextViewRef = new WeakReference<>(regularTextView);
  /developers/samples/android/connectivity/nfc/CardReader/Application/src/main/java/com/example/android/cardreader/
LoyaltyCardReader.java 25 import java.lang.ref.WeakReference;
45 private WeakReference<AccountCallback> mAccountCallback;
52 mAccountCallback = new WeakReference<AccountCallback>(accountCallback);
  /developers/samples/android/views/EmojiCompat/app/src/main/java/com/example/android/emojicompat/
MainActivity.java 30 import java.lang.ref.WeakReference;
110 private final WeakReference<TextView> mRegularTextViewRef;
113 mRegularTextViewRef = new WeakReference<>(regularTextView);
  /development/samples/browseable/CardReader/src/com.example.android.cardreader/
LoyaltyCardReader.java 25 import java.lang.ref.WeakReference;
45 private WeakReference<AccountCallback> mAccountCallback;
52 mAccountCallback = new WeakReference<AccountCallback>(accountCallback);
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoTask.java 24 import java.lang.ref.WeakReference;
49 private WeakReference<PhotoView> mImageWeakRef;
116 mImageWeakRef = new WeakReference<PhotoView>(photoView);
PhotoView.java 30 import java.lang.ref.WeakReference;
56 private WeakReference<View> mThisView;
168 this.mThisView = new WeakReference<View>(localView);
226 * @param view the View to use as the new WeakReference
229 this.mThisView = new WeakReference<View>(view);
  /external/guava/guava/src/com/google/common/base/internal/
Finalizer.java 22 import java.lang.ref.WeakReference;
102 private final WeakReference<Class<?>> finalizableReferenceClassReference;
117 = new WeakReference<Class<?>>(finalizableReferenceClass);
  /external/guava/guava-tests/test/com/google/common/base/
AbstractIteratorTest.java 25 import java.lang.ref.WeakReference;
171 WeakReference<Object> ref = new WeakReference<Object>(itr.next());
FinalizableReferenceQueueTest.java 25 import java.lang.ref.WeakReference;
75 private WeakReference<ReferenceQueue<Object>> queueReference;
94 queueReference = new WeakReference<ReferenceQueue<Object>>(frq.queue);
  /art/test/1951-monitor-enter-no-suspend/src/art/
Test1951.java 19 import java.lang.ref.WeakReference;
  /art/test/903-hello-tagging/src/art/
Test903.java 19 import java.lang.ref.WeakReference;
31 WeakReference<Object> weak = test();
37 throw new RuntimeException("WeakReference not cleared");
47 private static WeakReference<Object> test() {
72 return new WeakReference<Object>(o1);
  /developers/build/prebuilts/gradle/EmojiCompat/kotlinApp/app/src/main/java/com/example/android/emojicompat/
MainActivity.kt 23 import java.lang.ref.WeakReference
66 val regularTextViewRef = WeakReference(regularTextView)
  /developers/samples/android/views/EmojiCompat/kotlinApp/app/src/main/java/com/example/android/emojicompat/
MainActivity.kt 23 import java.lang.ref.WeakReference
66 val regularTextViewRef = WeakReference(regularTextView)
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
GuiceFilter.java 25 import java.lang.ref.WeakReference;
71 static volatile WeakReference<ServletContext> servletContext =
72 new WeakReference<ServletContext>(null);
225 // Store servlet context in a weakreference, for injection
226 GuiceFilter.servletContext = new WeakReference<>(servletContext);
  /external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
TypeCachingMockBytecodeGeneratorTest.java 15 import java.lang.ref.WeakReference;
133 cache.put(short_lived_classloader, new HoldingAReference(new WeakReference<Class<?>>(short_lived_classloader.loadClass("foo.Bar"))));
148 final WeakReference<Class<?>> a;
150 HoldingAReference(WeakReference<Class<?>> a) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Engine.java 20 import java.lang.ref.WeakReference;
35 private final Map<Key, WeakReference<EngineResource<?>>> activeResources;
64 Map<Key, WeakReference<EngineResource<?>>> activeResources, EngineJobFactory engineJobFactory,
70 activeResources = new HashMap<Key, WeakReference<EngineResource<?>>>();
162 WeakReference<EngineResource<?>> activeRef = activeResources.get(key);
263 private static class ResourceWeakReference extends WeakReference<EngineResource<?>> {
274 private final Map<Key, WeakReference<EngineResource<?>>> activeResources;
277 public RefQueueIdleHandler(Map<Key, WeakReference<EngineResource<?>>> activeResources,
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
SimpleCache.java 15 import java.lang.ref.WeakReference;
68 ref = new WeakReference<Map<K, V>>(map);
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/
SimpleCache.java 14 import java.lang.ref.WeakReference;
62 ref = new WeakReference<Map<K, V>>(map);

Completed in 2296 milliseconds

12 3 4 5 6 7