Searched refs:mRef (Results 1 – 2 of 2) sorted by relevance
44 private int mRef = 0; field in RefCountedMediaResource68 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()
36 private final WeakReference<T> mRef; field in WeakHandler47 mRef = new WeakReference<>(ref); in WeakHandler()56 mRef = new WeakReference<>(ref); in WeakHandler()62 T referent = mRef.get(); in handleMessage()