Home
last modified time | relevance | path

Searched refs:mRefCount (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/async/
DRefCountBase.java29 private int mRefCount; field in RefCountBase
41 mRefCount = initialReferenceCount; in RefCountBase()
49 mRefCount++; in addRef()
64 mRefCount--; in close()
65 if (mRefCount > 0) { in close()
78 return mRefCount; in getRefCount()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DLoader.java54 private int mRefCount = 0; field in Loader
100 if (mRefCount == 0) { in get()
116 if (mRefCount > 0) { in get()
137 mRefCount++; in acquire()
143 mRefCount--; in release()
144 if (mRefCount == 0) { in release()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestions.java44 private int mRefCount = 0; field in Suggestions
54 mRefCount++; in acquire()
58 mRefCount--; in release()
59 if (mRefCount <= 0) { in release()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
DRefCountedImageProxy.java31 private final RefCountBase<ImageProxy> mRefCount; field in RefCountedImageProxy
39 mRefCount = new RefCountBase<ImageProxy>(image, refCount); in RefCountedImageProxy()
44 mRefCount.close(); in close()