Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DPageIndicator.java139 private <T> T getRef(WeakReference<T> weakRef) { in getRef() argument
140 if (weakRef == null) { in getRef()
143 return weakRef.get(); in getRef()
/frameworks/base/media/jni/soundpool/
Dandroid_media_SoundPool.cpp181 android_media_SoundPool_native_setup(JNIEnv *env, jobject thiz, jobject weakRef, in android_media_SoundPool_native_setup() argument
213 jobject globalWeakRef = env->NewGlobalRef(weakRef); in android_media_SoundPool_native_setup()
230 jobject weakRef = (jobject) ap->getUserData(); in android_media_SoundPool_release() local
232 if (weakRef != NULL) { in android_media_SoundPool_release()
233 env->DeleteGlobalRef(weakRef); in android_media_SoundPool_release()
/frameworks/support/paging/common/src/main/java/android/arch/paging/
DContiguousPagedList.java239 for (WeakReference<Callback> weakRef : mCallbacks) { in prependImpl()
240 Callback callback = weakRef.get(); in prependImpl()
279 for (WeakReference<Callback> weakRef : mCallbacks) { in appendImpl()
280 Callback callback = weakRef.get(); in appendImpl()
DTiledPagedList.java168 for (WeakReference<Callback> weakRef : mCallbacks) {
169 Callback callback = weakRef.get();
/frameworks/base/core/java/android/app/
DResourcesManager.java64 public boolean test(WeakReference<Resources> weakRef) {
65 return weakRef == null || weakRef.get() == null;
/frameworks/base/media/java/android/media/
DSoundPool.java514 private native final int native_setup(Object weakRef, int maxStreams, in native_setup() argument