/packages/apps/Camera2/src/com/android/camera/async/ |
D | RefCountBase.java | 29 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/ |
D | Loader.java | 54 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/ |
D | ImsMediaSocket.cpp | 97 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/ |
D | Suggestions.kt | 33 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/ |
D | RefCountedImageProxy.java | 31 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/ |
D | NetworkFactory.java | 89 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/ |
D | IRtpSession.cpp | 79 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/ |
D | IpSecService.java | 215 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/ |
D | ImsMediaSocket.h | 133 int32_t mRefCount; variable
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | IpSecServiceRefcountedResourceTest.java | 79 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/ |
D | IRtpSession.h | 127 std::atomic<int32_t> mRefCount; variable
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiManager.java | 7825 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/ |
D | hiddenapi-max-target-o-low-priority.txt | 729 Landroid/net/NetworkFactory;->mRefCount:I
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1755 Landroid/net/wifi/WifiManager$MulticastLock;->mRefCount:I 1776 Landroid/net/wifi/WifiManager$WifiLock;->mRefCount:I
|