Home
last modified time | relevance | path

Searched refs:mReferenceCount (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/database/sqlite/
DSQLiteClosable.java30 private int mReferenceCount = 1; field in SQLiteClosable
57 if (mReferenceCount <= 0) { in acquireReference()
61 mReferenceCount++; in acquireReference()
74 refCountIsZero = --mReferenceCount == 0; in releaseReference()
92 refCountIsZero = --mReferenceCount == 0; in releaseReferenceFromContainer()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeManager.java53 private int mReferenceCount = 0; field in WifiAwareNativeManager
121 + mReferenceCount); in tryToGetAware()
125 mReferenceCount++; in tryToGetAware()
166 mReferenceCount = 1; in tryToGetAware()
177 + mReferenceCount); in releaseAware()
189 mReferenceCount--; in releaseAware()
190 if (mReferenceCount != 0) { in releaseAware()
204 + mReferenceCount); in awareIsDown()
207 mReferenceCount = 0; in awareIsDown()
261 pw.println(" mReferenceCount: " + mReferenceCount); in dump()
/frameworks/base/core/java/android/os/
DSharedMemory.java341 private int mReferenceCount; field in SharedMemory.MemoryRegistration
345 mReferenceCount = 1; in MemoryRegistration()
350 mReferenceCount++; in acquire()
355 mReferenceCount--; in release()
356 if (mReferenceCount == 0) { in release()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp779 mReferenceCount(requestedSurfaces.size()) {} in BufferTracker()
788 return mReferenceCount; in decrementReferenceCountLocked()
793 if (mReferenceCount > 0) in decrementReferenceCountLocked()
794 --mReferenceCount; in decrementReferenceCountLocked()
795 return mReferenceCount; in decrementReferenceCountLocked()
DCamera3StreamSplitter.h198 size_t mReferenceCount; variable
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java4196 private int mReferenceCount; field in PowerManagerService.SuspendBlockerImpl
4206 if (mReferenceCount != 0) { in finalize()
4209 mReferenceCount = 0; in finalize()
4221 mReferenceCount += 1; in acquire()
4222 if (mReferenceCount == 1) { in acquire()
4235 mReferenceCount -= 1; in release()
4236 if (mReferenceCount == 0) { in release()
4242 } else if (mReferenceCount < 0) { in release()
4245 mReferenceCount = 0; in release()
4253 return mName + ": ref count=" + mReferenceCount; in toString()
[all …]
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt52393 Landroid/os/SharedMemory$MemoryRegistration;->mReferenceCount:I