Home
last modified time | relevance | path

Searched refs:mRefCount (Results 1 – 14 of 14) 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/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaSocket.cpp97 if (pSocket != nullptr && pSocket->mRefCount == 0) in ReleaseInstance()
106 mRefCount = 0; in ImsMediaSocket()
177 mRefCount); in Open()
179 if (mRefCount > 0) in Open()
182 mRefCount++; in Open()
189 mRefCount++; in Open()
364 IMLOGD1("[Close] enter, nRefCount[%d]", mRefCount); in Close()
365 mRefCount--; in Close()
367 if (mRefCount > 0) in Close()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestions.kt33 private var mRefCount = 0 variable in com.android.quicksearchbox.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()
/packages/modules/Connectivity/staticlibs/device/android/net/
DNetworkFactory.java89 private int mRefCount = 0; field in NetworkFactory
156 if (++mRefCount == 1) startNetwork(); in needNetworkFor()
160 if (--mRefCount == 0) stopNetwork(); in releaseNetworkFor()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DIRtpSession.cpp79 mRefCount = 0; in IRtpSession()
555 ++mRefCount; in increaseRefCounter()
556 IMLOGD1("[increaseRefCounter] count[%d]", mRefCount.load()); in increaseRefCounter()
561 --mRefCount; in decreaseRefCounter()
562 IMLOGD1("[decreaseRefCounter] count[%d]", mRefCount.load()); in decreaseRefCounter()
567 return mRefCount.load(); in getRefCounter()
/packages/modules/Connectivity/service-t/src/com/android/server/
DIpSecService.java215 int mRefCount = 1; // starts at 1 for user's reference. field in IpSecService.RefcountedResource
226 child.mRefCount++; in RefcountedResource()
298 mRefCount--; in releaseReference()
300 if (mRefCount > 0) { in releaseReference()
302 } else if (mRefCount < 0) { in releaseReference()
318 mRefCount--; in releaseReference()
327 .append(mRefCount) in toString()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/
DImsMediaSocket.h133 int32_t mRefCount; variable
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java79 assertEquals(refCount, resource.mRefCount); in assertResourceState()
358 assertEquals(-1, refcountedResource.mRefCount); in fuzzTest()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/
DIRtpSession.h127 std::atomic<int32_t> mRefCount; variable
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java7825 private int mRefCount; field in WifiManager.WifiLock
7835 mRefCount = 0; in WifiLock()
7853 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { in acquire()
7892 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { in release()
7903 if (mRefCount < 0) { in release()
7977 s3 = "refcounted: refcount = " + mRefCount; in toString()
8233 private int mRefCount; field in WifiManager.MulticastLock
8240 mRefCount = 0; in MulticastLock()
8267 if (mRefCounted ? (++mRefCount == 1) : (!mHeld)) { in acquire()
8312 if (mRefCounted ? (--mRefCount == 0) : (mHeld)) { in release()
[all …]
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt729 Landroid/net/NetworkFactory;->mRefCount:I
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1755 Landroid/net/wifi/WifiManager$MulticastLock;->mRefCount:I
1776 Landroid/net/wifi/WifiManager$WifiLock;->mRefCount:I