Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DRefCountedMediaResource.java44 private int mRef = 0; field in RefCountedMediaResource
68 mRefHistory.add("Added ref current ref = " + mRef); in addRef()
72 mRef++; in addRef()
83 mRefHistory.add("Released ref current ref = " + mRef); in release()
87 mRef--; in release()
88 if (mRef == 0) { in release()
90 } else if (mRef < 0) { in release()
98 Assert.fail("RefCountedMediaResource has unbalanced ref. Refcount=" + mRef); in release()
108 return mRef; in getRefCount()
126 Assert.equals(1, mRef); in assertSingularRefCount()
/packages/apps/TV/common/src/com/android/tv/common/
DWeakHandler.java36 private final WeakReference<T> mRef; field in WeakHandler
47 mRef = new WeakReference<>(ref); in WeakHandler()
56 mRef = new WeakReference<>(ref); in WeakHandler()
62 T referent = mRef.get(); in handleMessage()